public abstract class VAbstractSplitPanel
extends com.google.gwt.user.client.ui.ComplexPanel
| Modifier and Type | Class and Description |
|---|---|
static interface |
VAbstractSplitPanel.SplitterMoveHandler |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Modifier and Type | Field and Description |
|---|---|
static String |
CLASSNAME |
ApplicationConnection |
client
For internal use only.
|
List<String> |
componentStyleNames
For internal use only.
|
boolean |
immediate
For internal use only.
|
String |
maximumPosition
For internal use only.
|
String |
minimumPosition
For internal use only.
|
protected int |
origScrollTop |
String |
position
The current position of the split handle in either percentages or pixels
|
protected com.google.gwt.dom.client.Element |
scrolledContainer |
com.google.gwt.dom.client.Element |
splitter
For internal use only.
|
| Constructor and Description |
|---|
VAbstractSplitPanel() |
VAbstractSplitPanel(Orientation orientation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
constructDom() |
protected com.google.gwt.dom.client.Element |
getFirstContainer()
Gets the first container
|
com.google.gwt.user.client.ui.Widget |
getFirstWidget() |
protected com.google.gwt.dom.client.Element |
getSecondContainer()
Gets the second container
|
com.google.gwt.user.client.ui.Widget |
getSecondWidget() |
String |
getSplitterPosition()
For internal use only.
|
boolean |
isEnabled() |
void |
makeScrollable()
Ensures the panels are scrollable eg.
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
void |
onMouseDown(com.google.gwt.user.client.Event event) |
void |
onMouseMove(com.google.gwt.user.client.Event event) |
void |
onMouseUp(com.google.gwt.user.client.Event event) |
boolean |
remove(com.google.gwt.user.client.ui.Widget w) |
void |
setEnabled(boolean enabled) |
void |
setFirstWidget(com.google.gwt.user.client.ui.Widget w)
For internal use only.
|
void |
setLocked(boolean newValue)
For internal use only.
|
void |
setPositionReversed(boolean reversed)
For internal use only.
|
void |
setSecondWidget(com.google.gwt.user.client.ui.Widget w)
For internal use only.
|
void |
setSplitPosition(String pos) |
void |
setStylenames()
For internal use only.
|
protected abstract void |
startResize()
Called when starting drag resize
|
protected abstract void |
stopResize()
Called when stopping drag resize
|
void |
updateSizes()
For internal use only.
|
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, removeadd, add, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String CLASSNAME
public final com.google.gwt.dom.client.Element splitter
public List<String> componentStyleNames
public ApplicationConnection client
public boolean immediate
public String position
For internal use only. May be removed or replaced in the future.
public String maximumPosition
public String minimumPosition
protected com.google.gwt.dom.client.Element scrolledContainer
protected int origScrollTop
public VAbstractSplitPanel()
public VAbstractSplitPanel(Orientation orientation)
protected void constructDom()
public boolean remove(com.google.gwt.user.client.ui.Widget w)
remove in interface com.google.gwt.user.client.ui.HasWidgetsremove in class com.google.gwt.user.client.ui.ComplexPanelpublic void setLocked(boolean newValue)
public void setPositionReversed(boolean reversed)
public void setSplitPosition(String pos)
public void updateSizes()
public void setFirstWidget(com.google.gwt.user.client.ui.Widget w)
public com.google.gwt.user.client.ui.Widget getFirstWidget()
public void setSecondWidget(com.google.gwt.user.client.ui.Widget w)
public com.google.gwt.user.client.ui.Widget getSecondWidget()
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.Widgetpublic void onMouseDown(com.google.gwt.user.client.Event event)
protected abstract void startResize()
protected abstract void stopResize()
protected com.google.gwt.dom.client.Element getFirstContainer()
protected com.google.gwt.dom.client.Element getSecondContainer()
public void onMouseMove(com.google.gwt.user.client.Event event)
public void onMouseUp(com.google.gwt.user.client.Event event)
public String getSplitterPosition()
public void setStylenames()
public void setEnabled(boolean enabled)
public boolean isEnabled()
public void makeScrollable()
For internal use only. May be removed or replaced in the future.
Copyright © 2016 Vaadin Ltd. All rights reserved.