|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.extjs.gxt.ui.client.widget.Component
com.extjs.gxt.ui.client.widget.BoxComponent
com.extjs.gxt.ui.client.widget.SplitBar
public class SplitBar
Creates a draggable splitter on the side of a widget.
| Nested Class Summary |
|---|
| 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 |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
SplitBar(Style.LayoutRegion style,
BoxComponent resizeWidget)
Creates a new split bar. |
|
SplitBar(Style.LayoutRegion style,
BoxComponent resizeWidget,
BoxComponent container)
Creates a new split bar. |
|
| Method Summary | |
|---|---|
int |
getBarWidth()
Returns the bar width. |
Draggable |
getDraggable()
Returns the split bar's draggable instance. |
int |
getHandleWidth()
Returns the handle width. |
int |
getMaxSize()
Returns the maximum size. |
int |
getMinSize()
|
Component |
getResizeWidget()
Returns the resize widget. |
int |
getXOffset()
Returns the x offset. |
int |
getYOffset()
Returns the y offset. |
boolean |
isAutoSize()
Returns the auto size state. |
void |
release()
Removes the split bar from the resize widget. |
void |
setAutoSize(boolean autoSize)
True to update the size of the the resize widget after a drag operation using a proxy (defaults to true). |
void |
setBarWidth(int barWidth)
Sets the width of drag proxy during resizing (defaults to 2). |
void |
setHandleWidth(int handleWidth)
Sets the width of the drag handles (defaults to 5). |
void |
setMaxSize(int maxSize)
Sets the maximum size of the resize widget (defaults to 2000). |
void |
setMinSize(int minSize)
Sets he minimum size of the resize widget (defaults to 10). |
void |
setXOffset(int xOffset)
The amount of pixels the bar should be offset to the left (defaults to 0). |
void |
setYOffset(int yOffset)
Sets the amount of pixels the bar should be offset to the top (defaults to 0). |
void |
sync()
|
| Methods inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
getBounds, getHeight, getHeight, getPosition, getShadow, getShadowOffset, getShadowPosition, getSize, getWidth, getWidth, isAutoHeight, isAutoWidth, isDeferHeight, isShim, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShadowOffset, setShadowPosition, setShim, setSize, setSize, setWidth, setWidth, sync, syncSize |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
fireEvent, getParent, isAttached |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, setStylePrimaryName, setVisible, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SplitBar(Style.LayoutRegion style,
BoxComponent resizeWidget)
style - the bar locationresizeWidget - the widget being resized
public SplitBar(Style.LayoutRegion style,
BoxComponent resizeWidget,
BoxComponent container)
style - the bar locationresizeWidget - the widget being resizedcontainer - the widget the split bar proxy will be sized to| Method Detail |
|---|
public int getBarWidth()
public Draggable getDraggable()
public int getHandleWidth()
public int getMaxSize()
public int getMinSize()
public Component getResizeWidget()
public int getXOffset()
public int getYOffset()
public boolean isAutoSize()
public void release()
public void setAutoSize(boolean autoSize)
autoSize - the auto size statepublic void setBarWidth(int barWidth)
barWidth - the bar widthpublic void setHandleWidth(int handleWidth)
handleWidth - the handle widthpublic void setMaxSize(int maxSize)
maxSize - the maximum sizepublic void setMinSize(int minSize)
minSize - the minimum sizepublic void setXOffset(int xOffset)
xOffset - the xOffset to setpublic void setYOffset(int yOffset)
yOffset - the yOffset to setpublic void sync()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||