abstract class SplitLayoutPanel.Splitter extends Widget
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
Modifier and Type | Field and Description |
---|---|
protected Widget |
target |
eventsToSink
DEBUG_ID_PREFIX, MISSING_ELEMENT_ERROR, SETELEMENT_TWICE_ERROR
Constructor and Description |
---|
Splitter(Widget target,
boolean reverse) |
Modifier and Type | Method and Description |
---|---|
protected abstract int |
getAbsolutePosition() |
protected abstract double |
getCenterSize() |
protected abstract int |
getEventPosition(Event event) |
protected abstract int |
getTargetPosition() |
protected abstract int |
getTargetSize() |
void |
onBrowserEvent(Event event)
Fired whenever a browser event is received.
|
void |
setMinSize(int minSize) |
void |
setSnapClosedSize(int snapClosedSize) |
void |
setToggleDisplayAllowed(boolean allowed) |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, ensureHandlers, fireEvent, getHandlerCount, getHandlerManager, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, replaceElement, setLayoutData, setParent, sinkEvents, unsinkEvents
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
protected final Widget target
public Splitter(Widget target, boolean reverse)
public void onBrowserEvent(Event event)
EventListener
onBrowserEvent
in interface EventListener
onBrowserEvent
in class Widget
event
- the event receivedpublic void setMinSize(int minSize)
public void setSnapClosedSize(int snapClosedSize)
public void setToggleDisplayAllowed(boolean allowed)
protected abstract int getAbsolutePosition()
protected abstract double getCenterSize()
protected abstract int getEventPosition(Event event)
protected abstract int getTargetPosition()
protected abstract int getTargetSize()