Package com.vaadin.client.ui
Class VAbstractSplitPanel
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.ComplexPanel
-
- com.vaadin.client.ui.VAbstractSplitPanel
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.HasWidgets,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget,com.google.gwt.user.client.ui.IndexedPanel,com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget,com.google.gwt.user.client.ui.IsWidget,Iterable<com.google.gwt.user.client.ui.Widget>
- Direct Known Subclasses:
VSplitPanelHorizontal,VSplitPanelVertical
public abstract class VAbstractSplitPanel extends com.google.gwt.user.client.ui.ComplexPanel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVAbstractSplitPanel.SplitterMoveHandler-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASSNAMEApplicationConnectionclientFor internal use only.List<String>componentStyleNamesFor internal use only.booleanimmediateFor internal use only.StringmaximumPositionFor internal use only.StringminimumPositionFor internal use only.protected intorigScrollTopStringpositionThe current position of the split handle in either percentages or pixelsprotected com.google.gwt.dom.client.ElementscrolledContainercom.google.gwt.dom.client.ElementsplitterFor internal use only.
-
Constructor Summary
Constructors Constructor Description VAbstractSplitPanel()VAbstractSplitPanel(Orientation orientation)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidconstructDom()protected com.google.gwt.dom.client.ElementgetFirstContainer()Gets the first containercom.google.gwt.user.client.ui.WidgetgetFirstWidget()protected com.google.gwt.dom.client.ElementgetSecondContainer()Gets the second containercom.google.gwt.user.client.ui.WidgetgetSecondWidget()StringgetSplitterPosition()For internal use only.booleanisEnabled()voidmakeScrollable()Ensures the panels are scrollable eg.voidonBrowserEvent(com.google.gwt.user.client.Event event)voidonMouseDown(com.google.gwt.user.client.Event event)voidonMouseMove(com.google.gwt.user.client.Event event)voidonMouseUp(com.google.gwt.user.client.Event event)booleanremove(com.google.gwt.user.client.ui.Widget w)voidsetEnabled(boolean enabled)voidsetFirstWidget(com.google.gwt.user.client.ui.Widget w)For internal use only.voidsetLocked(boolean newValue)For internal use only.voidsetPositionReversed(boolean reversed)For internal use only.voidsetSecondWidget(com.google.gwt.user.client.ui.Widget w)For internal use only.voidsetSplitPosition(String pos)voidsetStylenames()For internal use only.protected abstract voidstartResize()Called when starting drag resizeprotected abstract voidstopResize()Called when stopping drag resizevoidupdateSizes()For internal use only.-
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
CLASSNAME
public static final String CLASSNAME
- See Also:
- Constant Field Values
-
splitter
public final com.google.gwt.dom.client.Element splitter
For internal use only. May be removed or replaced in the future.
-
componentStyleNames
public List<String> componentStyleNames
For internal use only. May be removed or replaced in the future.
-
client
public ApplicationConnection client
For internal use only. May be removed or replaced in the future.
-
immediate
public boolean immediate
For internal use only. May be removed or replaced in the future.
-
position
public String position
The current position of the split handle in either percentages or pixelsFor internal use only. May be removed or replaced in the future.
-
maximumPosition
public String maximumPosition
For internal use only. May be removed or replaced in the future.
-
minimumPosition
public String minimumPosition
For internal use only. May be removed or replaced in the future.
-
scrolledContainer
protected com.google.gwt.dom.client.Element scrolledContainer
-
origScrollTop
protected int origScrollTop
-
-
Constructor Detail
-
VAbstractSplitPanel
public VAbstractSplitPanel()
-
VAbstractSplitPanel
public VAbstractSplitPanel(Orientation orientation)
-
-
Method Detail
-
constructDom
protected void constructDom()
-
remove
public boolean remove(com.google.gwt.user.client.ui.Widget w)
- Specified by:
removein interfacecom.google.gwt.user.client.ui.HasWidgets- Overrides:
removein classcom.google.gwt.user.client.ui.ComplexPanel
-
setLocked
public void setLocked(boolean newValue)
For internal use only. May be removed or replaced in the future.
-
setPositionReversed
public void setPositionReversed(boolean reversed)
For internal use only. May be removed or replaced in the future.
-
setSplitPosition
public void setSplitPosition(String pos)
-
updateSizes
public void updateSizes()
For internal use only. May be removed or replaced in the future.
-
setFirstWidget
public void setFirstWidget(com.google.gwt.user.client.ui.Widget w)
For internal use only. May be removed or replaced in the future.
-
getFirstWidget
public com.google.gwt.user.client.ui.Widget getFirstWidget()
-
setSecondWidget
public void setSecondWidget(com.google.gwt.user.client.ui.Widget w)
For internal use only. May be removed or replaced in the future.
-
getSecondWidget
public com.google.gwt.user.client.ui.Widget getSecondWidget()
-
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event)
- Specified by:
onBrowserEventin interfacecom.google.gwt.user.client.EventListener- Overrides:
onBrowserEventin classcom.google.gwt.user.client.ui.Widget
-
onMouseDown
public void onMouseDown(com.google.gwt.user.client.Event event)
-
startResize
protected abstract void startResize()
Called when starting drag resize- Since:
- 7.5.1
-
stopResize
protected abstract void stopResize()
Called when stopping drag resize- Since:
- 7.5.1
-
getFirstContainer
protected com.google.gwt.dom.client.Element getFirstContainer()
Gets the first container- Returns:
- the firstContainer
- Since:
- 7.5.1
-
getSecondContainer
protected com.google.gwt.dom.client.Element getSecondContainer()
Gets the second container- Returns:
- the secondContainer
- Since:
- 7.5.1
-
onMouseMove
public void onMouseMove(com.google.gwt.user.client.Event event)
-
onMouseUp
public void onMouseUp(com.google.gwt.user.client.Event event)
-
getSplitterPosition
public String getSplitterPosition()
For internal use only. May be removed or replaced in the future.
-
setStylenames
public void setStylenames()
For internal use only. May be removed or replaced in the future.
-
setEnabled
public void setEnabled(boolean enabled)
-
isEnabled
public boolean isEnabled()
-
makeScrollable
public void makeScrollable()
Ensures the panels are scrollable eg. after style name changesFor internal use only. May be removed or replaced in the future.
-
-