Class DwtSash
Extends
DwtControl.
A sash is a thin moveable border between two components that can be moved in
order to change the sizes of the elements on either side. Those one one side
will become larger, and those on the other side will become smaller.
Defined in: DwtSash.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates a sash.
|
Field Summary
Field Attributes |
Field Name and Description |
<static> |
Defines the "horizontal" sash style.
|
<static> |
Defines the "vertical" sash style.
|
- Methods borrowed from class DwtControl:
- addClassName, addControlListener, addDisposeListener, addListener, appendElement, blur, clearContent, clearHandler, condClassName, delClassName, dispose, focus, getBounds, getClassName, getContent, getCursor, getData, getDragBox, getDragSource, getDropTarget, getEnabled, getFocusElement, getH, getHtmlElement, getHTMLElId, getInsetBounds, getInsets, getLocation, getMargins, getOpacity, getOuterSize, getPosition, getScrollContainer, getScrollStyle, getSize, getTabGroupMember, getTooltipBase, getToolTipContent, getVisibility, getVisible, getW, getX, getXW, getY, getYH, getZIndex, hasFocus, isAlertShown, isDisposed, isInitialized, isListenerRegistered, notifyListeners, preventContextMenu, preventSelection, removeAllListeners, removeControlListener, removeDisposeListener, removeListener, reparent, reparentHtmlElement, replaceElement, setBounds, setClassName, setContent, setCursor, setData, setDisplay, setDisplayState, setDragBox, setDragSource, setDropTarget, setEnabled, setEventPropagation, setFocusElement, setHandler, setHtmlElementId, setLocation, setOpacity, setPosition, setScrollStyle, setSize, setToolTipContent, setVisibility, setVisible, setZIndex, showAlert, zShow
Class Detail
DwtSash(params)
Creates a sash.
- Parameters:
-
{hash} params
- a hash of parameters
-
{DwtComposite} params.parent
- the parent widget
-
{DwtSash.HORIZONTAL_STYLE|DwtSash.VERTICAL_STYLE} params.style
Optional, Default: DwtSash.VERTICAL_STYLE
- the sash style
-
{string} params.className
- the CSS class
-
{number} params.threshold
Optional, Default: 1
- minimum movement (in pixels) that forces a UI update. Clients will likely want to set it higher.
-
{constant} params.posStyle
- the positioning style (see DwtControl)
Field Detail
<static>
DwtSash.HORIZONTAL_STYLE
Defines the "horizontal" sash style.
<static>
DwtSash.VERTICAL_STYLE
Defines the "vertical" sash style.
|