|
|||||||||
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.
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. |
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, setHResizeCursor, setHSrc, setSrc, setVResizeCursor, setVSrc |
Methods inherited from class com.smartgwt.client.widgets.StretchImg |
---|
getCapSize, getImageType, getItemBaseStyle, getShowTitle, setCapSize, setImageType, setItemBaseStyle, setShowTitle, setState, setState, setVertical |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addDomHandler, addHandler, 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, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, 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 setShowRollOver(Boolean showRollOver)
setShowRollOver
in class StatefulCanvas
showRollOver
- showRollOver Default value is truepublic Boolean getShowRollOver()
getShowRollOver
in class StatefulCanvas
public void setShowDown(Boolean showDown)
setShowDown
in class StatefulCanvas
showDown
- showDown Default value is truepublic Boolean getShowDown()
getShowDown
in class StatefulCanvas
public void setShowGrip(Boolean showGrip)
setShowGrip
in class Splitbar
showGrip
- showGrip Default value is truepublic Boolean getShowGrip()
getShowGrip
in class Splitbar
public 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 Splitbar
showDownGrip
- 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 Splitbar
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 Splitbar
showRollOverGrip
- 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 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 Splitbar
showClosedGrip
- 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 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 Splitbar
gripImgSuffix
- 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |