Package io.jmix.ui.widget.client.split
Class JmixHorizontalSplitPanelWidget
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
com.vaadin.client.ui.VSplitPanelHorizontal
io.jmix.ui.widget.client.split.JmixHorizontalSplitPanelWidget
- 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>
public class JmixHorizontalSplitPanelWidget
extends com.vaadin.client.ui.VSplitPanelHorizontal
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static enum
Nested classes/interfaces inherited from class com.vaadin.client.ui.VAbstractSplitPanel
com.vaadin.client.ui.VAbstractSplitPanel.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
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected static final int
protected String
protected boolean
protected SplitPanelDockMode
protected boolean
protected static final String
Styles for widgetprotected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected int
Fields inherited from class com.vaadin.client.ui.VAbstractSplitPanel
CLASSNAME, client, componentStyleNames, maximumPosition, minimumPosition, origScrollTop, position, scrolledContainer, splitter
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected JmixPlaceHolderWidget
protected com.google.gwt.dom.client.Element
int
boolean
protected boolean
isDocked()
protected boolean
isExtremePosition
(String pos) protected boolean
protected boolean
protected boolean
protected boolean
protected void
onDetach()
void
onMouseDown
(com.google.gwt.user.client.Event event) void
onMouseUp
(com.google.gwt.user.client.Event event) void
setDockable
(boolean dockable) protected void
setDocked
(boolean docked) void
setDockMode
(SplitPanelDockMode dockMode) void
setPositionReversed
(boolean reversed) void
setSplitPosition
(String pos) protected void
void
Methods inherited from class com.vaadin.client.ui.VSplitPanelHorizontal
startResize, stopResize
Methods inherited from class com.vaadin.client.ui.VAbstractSplitPanel
constructDom, getFirstContainer, getFirstWidget, getSecondContainer, getSecondWidget, getSplitterPosition, getSplitterSize, isEnabled, makeScrollable, onBrowserEvent, onMouseMove, remove, setEnabled, setFirstWidget, setLocked, setSecondWidget, setStylenames
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, 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 Details
-
SP_DOCK_BUTTON
Styles for widget- See Also:
-
SP_DOCK_BUTTON_LEFT
- See Also:
-
SP_DOCK_BUTTON_RIGHT
- See Also:
-
SP_DOCK_LEFT
- See Also:
-
SP_DOCK_RIGHT
- See Also:
-
SP_DOCKABLE_LEFT
- See Also:
-
SP_DOCKABLE_RIGHT
- See Also:
-
BUTTON_WIDTH_SPACE
protected static final int BUTTON_WIDTH_SPACE- See Also:
-
reversed
protected boolean reversed -
docked
protected boolean docked -
splitHeight
protected int splitHeight -
dockButtonState
-
dockMode
-
beforeDockPositionHandler
-
defaultPosition
-
beforeDockPosition
-
-
Constructor Details
-
JmixHorizontalSplitPanelWidget
public JmixHorizontalSplitPanelWidget()
-
-
Method Details
-
isDockable
public boolean isDockable() -
setDockable
public void setDockable(boolean dockable) -
createDockButton
-
createDockButtonContainer
protected com.google.gwt.dom.client.Element createDockButtonContainer() -
setDockMode
-
updateDockButtonPosition
protected void updateDockButtonPosition() -
isSplitterInRightChangeArea
protected boolean isSplitterInRightChangeArea() -
isSplitterInLeftChangeArea
protected boolean isSplitterInLeftChangeArea() -
getAbsoluteRight
public int getAbsoluteRight() -
updateSizes
public void updateSizes()- Overrides:
updateSizes
in classcom.vaadin.client.ui.VAbstractSplitPanel
-
onMouseDown
public void onMouseDown(com.google.gwt.user.client.Event event) - Overrides:
onMouseDown
in classcom.vaadin.client.ui.VAbstractSplitPanel
-
setSplitPosition
- Overrides:
setSplitPosition
in classcom.vaadin.client.ui.VAbstractSplitPanel
-
isMinPositionSet
protected boolean isMinPositionSet() -
isMaxPositionSet
protected boolean isMaxPositionSet() -
isExtremePosition
-
onMouseUp
public void onMouseUp(com.google.gwt.user.client.Event event) - Overrides:
onMouseUp
in classcom.vaadin.client.ui.VAbstractSplitPanel
-
onDetach
protected void onDetach()- Overrides:
onDetach
in classcom.google.gwt.user.client.ui.Widget
-
checkSplitPositionLimits
- Overrides:
checkSplitPositionLimits
in classcom.vaadin.client.ui.VAbstractSplitPanel
-
setPositionReversed
public void setPositionReversed(boolean reversed) - Overrides:
setPositionReversed
in classcom.vaadin.client.ui.VAbstractSplitPanel
-
setDocked
protected void setDocked(boolean docked) -
isDocked
protected boolean isDocked()
-