|
|||||||||
| 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.smartgwt.client.widgets.BaseWidget
com.smartgwt.client.widgets.Canvas
com.smartgwt.client.widgets.StatefulCanvas
com.smartgwt.client.widgets.StretchImg
com.smartgwt.client.widgets.Splitbar
com.smartgwt.client.widgets.Snapbar
public class Snapbar
Subclass of the Splitbar class that uses the grip functionality to show
a stateful open / close indicator.
Splitbar,
Layout| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.smartgwt.client.widgets.BaseWidget |
|---|
config, configOnly, id, isElementSet, scClassName |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
Snapbar()
|
|
Snapbar(JavaScriptObject jsObj)
|
|
| Method Summary | |
|---|---|
protected JavaScriptObject |
create()
|
String |
getGripImgSuffix()
Overridden from gripImgSuffix to simplify providing custom
grip media for this widget. |
static Snapbar |
getOrCreateRef(JavaScriptObject jsObj)
|
Boolean |
getShowClosedGrip()
If showGrip is true, this property determines whether the grip
image displayed should show the "Closed" state when the target is hidden. |
Boolean |
getShowDown()
Snapbars show mouse-down styling. |
Boolean |
getShowDownGrip()
If showGrip is true, this property determines whether to show
the 'Down' state on the grip image when the user mousedown's on this widget. |
Boolean |
getShowGrip()
Should we show a "grip" image floating above the center of this widget? |
Boolean |
getShowRollOver()
Snapbars show rollover styling. |
Boolean |
getShowRollOverGrip()
If showGrip is true, this property determines whether to show
the 'Over' state on the grip image when the user rolls over on this widget. |
static void |
setDefaultProperties(Snapbar snapbarProperties)
Class level method to set the default properties of this class. |
void |
setGripImgSuffix(String gripImgSuffix)
Overridden from gripImgSuffix to simplify providing custom
grip media for this widget. |
void |
setShowClosedGrip(Boolean showClosedGrip)
If showGrip is true, this property determines whether the grip
image displayed should show the "Closed" state when the target is hidden. |
void |
setShowDown(Boolean showDown)
Snapbars show mouse-down styling. |
void |
setShowDownGrip(Boolean showDownGrip)
If showGrip is true, this property determines whether to show
the 'Down' state on the grip image when the user mousedown's on this widget. |
void |
setShowGrip(Boolean showGrip)
Should we show a "grip" image floating above the center of this widget? |
void |
setShowRollOver(Boolean showRollOver)
Snapbars show rollover styling. |
void |
setShowRollOverGrip(Boolean showRollOverGrip)
If showGrip is true, this property determines whether to show
the 'Over' state on the grip image when the user rolls over on this widget. |
| Methods inherited from class com.smartgwt.client.widgets.Splitbar |
|---|
getCanCollapse, getCanDrag, getCursor, getHResizeCursor, getHSrc, getSrc, getVertical, getVResizeCursor, getVSrc, setCanCollapse, setCanDrag, setCursor, setDefaultProperties, setHResizeCursor, setHSrc, setSrc, setVResizeCursor, setVSrc |
| Methods inherited from class com.smartgwt.client.widgets.StretchImg |
|---|
getCapSize, getImageType, getItemBaseStyle, getShowTitle, setCapSize, setDefaultProperties, setImageType, setItemBaseStyle, setShowTitle, setState, setState, setVertical |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getStyleElement, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public Snapbar()
public Snapbar(JavaScriptObject jsObj)
| Method Detail |
|---|
public static Snapbar getOrCreateRef(JavaScriptObject jsObj)
protected JavaScriptObject create()
create in class Splitbar
public void setGripImgSuffix(String gripImgSuffix)
throws IllegalStateException
gripImgSuffix to simplify providing custom
grip media for this widget.
Note : This is an advanced setting
setGripImgSuffix in class SplitbargripImgSuffix - gripImgSuffix Default value is "snap"
IllegalStateException - this property cannot be changed after the component has been createdpublic String getGripImgSuffix()
gripImgSuffix to simplify providing custom
grip media for this widget.
getGripImgSuffix in class Splitbar
public void setShowClosedGrip(Boolean showClosedGrip)
throws IllegalStateException
showGrip is true, this property determines whether the grip
image displayed should show the "Closed" state when the target is hidden.
Note : This is an advanced setting
setShowClosedGrip in class SplitbarshowClosedGrip - showClosedGrip Default value is true
IllegalStateException - this property cannot be changed after the component has been createdpublic Boolean getShowClosedGrip()
showGrip is true, this property determines whether the grip
image displayed should show the "Closed" state when the target is hidden.
getShowClosedGrip in class Splitbarpublic void setShowDown(Boolean showDown)
setShowDown in class StatefulCanvasshowDown - showDown Default value is trueState overview and related methodspublic Boolean getShowDown()
getShowDown in class StatefulCanvasState overview and related methodspublic void setShowDownGrip(Boolean showDownGrip)
showGrip is true, this property determines whether to show
the 'Down' state on the grip image when the user mousedown's on this widget. Has no effect if showDown is false.
setShowDownGrip in class SplitbarshowDownGrip - showDownGrip Default value is truepublic Boolean getShowDownGrip()
showGrip is true, this property determines whether to show
the 'Down' state on the grip image when the user mousedown's on this widget. Has no effect if showDown is false.
getShowDownGrip in class Splitbarpublic void setShowGrip(Boolean showGrip)
setShowGrip in class SplitbarshowGrip - showGrip Default value is truepublic Boolean getShowGrip()
getShowGrip in class Splitbarpublic void setShowRollOver(Boolean showRollOver)
setShowRollOver in class StatefulCanvasshowRollOver - showRollOver Default value is trueState overview and related methodspublic Boolean getShowRollOver()
getShowRollOver in class StatefulCanvasState overview and related methods
public void setShowRollOverGrip(Boolean showRollOverGrip)
throws IllegalStateException
showGrip is true, this property determines whether to show
the 'Over' state on the grip image when the user rolls over on this widget. Has no effect if showRollOver is false.
Note : This is an advanced setting
setShowRollOverGrip in class SplitbarshowRollOverGrip - showRollOverGrip Default value is true
IllegalStateException - this property cannot be changed after the component has been createdpublic Boolean getShowRollOverGrip()
showGrip is true, this property determines whether to show
the 'Over' state on the grip image when the user rolls over on this widget. Has no effect if showRollOver is false.
getShowRollOverGrip in class Splitbarpublic static void setDefaultProperties(Snapbar snapbarProperties)
Note: This method is intended for setting default attributes only and will effect all instances of the underlying class (including those automatically generated in JavaScript). This method should not be used to apply standard EventHandlers or override methods for a class - use a custom subclass instead.
snapbarProperties - properties that should be used as new defaults when instances of this class are created
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||