public class MaterialSplitPanel extends gwt.material.design.client.base.MaterialWidget
xmlns:ma='urn:import:gwt.material.design.addins.client'
<ma:splitpanel.MaterialSplitPanel height="500px">
<m:MaterialPanel grid="l6 m6 s6" backgroundColor="grey lighten-2">
<m:MaterialTitle textAlign="CENTER" title="Left Zone" description="Content must be added here"/>
</m:MaterialPanel>
<m:MaterialPanel grid="l6 m6 s6" backgroundColor="grey lighten-3">
<m:MaterialTitle textAlign="CENTER" title="Right Zone" description="Content must be added here"/>
</m:MaterialPanel>
</ma:splitpanel.MaterialSplitPanel>
gwt.material.design.client.base.MaterialWidget.Featurecom.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Constructor and Description |
|---|
MaterialSplitPanel() |
| Modifier and Type | Method and Description |
|---|---|
gwt.material.design.client.constants.Axis |
getAxis()
Get the axis orientation of splitter component
|
double |
getBarPosition()
Get the bar position in percent divided by 100
|
double |
getBottomMax()
Get the maximum bottom space
|
double |
getBottomMin()
Get the minimum bottom space
|
Dock |
getDock()
Get the dock value
|
double |
getLeftMax()
Get the Maximum left space
|
double |
getLeftMin()
Get the Minimum left max space
|
double |
getRightMax()
Get the Maximum right space
|
double |
getRightMin()
Get the minimum right space
|
double |
getThickness()
Get the bar's thickness in px
|
double |
getTopMax()
Get the maximum top space
|
double |
getTopMin()
Get the minimum top space
|
protected void |
initSplitter(com.google.gwt.dom.client.Element e,
double barPosition,
double thickness,
double rightMax,
double rightMin,
double leftMax,
double leftMin,
double topMax,
double topMin,
double bottomMin,
double bottomMax,
String dock,
String orientation)
Initialize the splitter component
|
protected void |
onLoad() |
void |
setAxis(gwt.material.design.client.constants.Axis axis)
Set the axis orientation of splitter component (HORIZONTAL(Default) and VERTICAL)
|
void |
setBarPosition(double barPosition)
Set the bar position in percent
|
void |
setBottomMax(double bottomMax)
Set the maximum bottom space while dragging vertically
|
void |
setBottomMin(double bottomMin)
Set the minimum bottom space while dragging vertically
|
void |
setDock(Dock dock)
Set the dock value (LEFT, RIGHT -> HORIZONTAL AXIS and TOP,LEFT -> VERTICAL AXIS)
|
void |
setLeftMax(double leftMax)
Set the Maximum left space while dragging horizontally
|
void |
setLeftMin(double leftMin)
Set the Minimum left space while dragging horizontally
|
void |
setRightMax(double rightMax)
Set the Maximum right space while dragging horizontally
|
void |
setRightMin(double rightMin)
Set the minimum right space while dragging horizontally
|
void |
setThickness(double thickness)
Set the bar's thickness in px
|
void |
setTopMax(double topMax)
Set the maximum top space while dragging vertically
|
void |
setTopMin(double topMin)
Set the minimum top space while dragging vertically
|
add, add, clearActiveClass, enableFeature, getBackgroundColor, getCenterOn, getCenterOnMixin, getCircleMixin, getColorsMixin, getDataAttribute, getDepth, getEnabledMixin, getFlexboxMixin, getFloat, getFloatMixin, getFocusableMixin, getFontSize, getFontSizeMixin, getFontWeight, getFontWeightMixin, getGridMixin, getHideOn, getHideOnMixin, getHoverableMixin, getId, getIdMixin, getInitialClasses, getOpacity, getScrollspy, getScrollspyMixin, getSeparatorMixin, getShadow, getShadowMixin, getShowOn, getShowOnMixin, getTabIndex, getTextAlign, getTextAlignMixin, getTextColor, getTooltip, getTooltipDelayMs, getTooltipMixin, getTooltipPosition, getTruncateMixin, getWaves, getWavesMixin, getWidth, getWidth, insert, insert, isCircle, isEnabled, isFeatureEnabled, isHoverable, isSeparator, setAccessKey, setBackgroundColor, setBottom, setCenterOn, setCircle, setDataAttribute, setDepth, setDisplay, setEnabled, setFlex, setFlexAlignContent, setFlexAlignItems, setFlexAlignSelf, setFlexBasis, setFlexDirection, setFlexGrow, setFlexJustifyContent, setFlexOrder, setFlexShrink, setFlexWrap, setFloat, setFocus, setFontSize, setFontSize, setFontWeight, setGrid, setGwtDisplay, setHideOn, setHoverable, setId, setInitialClasses, setLayoutPosition, setLeft, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setOffset, setOpacity, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setRight, setScrollspy, setSeparator, setShadow, setShowOn, setTabIndex, setTextAlign, setTextColor, setTooltip, setTooltipDelayMs, setTooltipPosition, setTop, setTruncate, setVisibility, setWaves, stopTouchStartEvent, stopTouchStartEventadd, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove, removeadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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 MaterialSplitPanel()
protected void onLoad()
onLoad in class gwt.material.design.client.base.MaterialWidgetprotected void initSplitter(com.google.gwt.dom.client.Element e, double barPosition, double thickness, double rightMax, double rightMin, double leftMax, double leftMin, double topMax, double topMin, double bottomMin, double bottomMax, String dock, String orientation)
e - - The element you need to splitbarPosition - - The position of the bar based on percentage by default it's 50%thickness - - The bar's thickness in pxrightMax - - The maximum right space while dragging the splitter bar horizontallyrightMin - - The minimum right space while dragging the splitter bar horizontallyleftMax - - The maximum left space while dragging the splitter bar horizontallyleftMin - - The minimum left space while dragging the splitter bar horizontallytopMax - - The maximum top space while dragging the splitter bar verticallytopMin - - The minimum top space while dragging the splitter bar verticallybottomMin - - The minimum bottom space while dragging the splitter bar verticallybottomMax - - The maximum bottom space while dragging the splitter bar verticallydock - - When clicking on the white line located in the middle of splitter bar, depends on docking position it will collapse to that directionorientation - - There are two types of orientation : HORIZONTAL (Default) and VERTICALpublic double getLeftMax()
public void setLeftMax(double leftMax)
leftMax - public double getLeftMin()
public void setLeftMin(double leftMin)
leftMin - public double getRightMax()
public void setRightMax(double rightMax)
rightMax - public double getRightMin()
public void setRightMin(double rightMin)
rightMin - public gwt.material.design.client.constants.Axis getAxis()
public void setAxis(gwt.material.design.client.constants.Axis axis)
axis - public void setDock(Dock dock)
dock - public double getTopMin()
public void setTopMin(double topMin)
topMin - public double getTopMax()
public void setTopMax(double topMax)
topMax - public double getBottomMin()
public void setBottomMin(double bottomMin)
bottomMin - public double getBottomMax()
public void setBottomMax(double bottomMax)
bottomMax - public double getBarPosition()
public void setBarPosition(double barPosition)
barPosition - public double getThickness()
public void setThickness(double thickness)
thickness - Copyright © 2016. All rights reserved.