|
|||||||||
| 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.Img
com.smartgwt.client.widgets.toolbar.ToolStripSeparator
public class ToolStripSeparator
Simple subclass of Img with appearance appropriate for a ToolStrip separator
| 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 | |
|---|---|
ToolStripSeparator()
|
|
ToolStripSeparator(JavaScriptObject jsObj)
|
|
| Method Summary | |
|---|---|
protected JavaScriptObject |
create()
|
String |
getHSrc()
Image for horizontally oriented separator (for vertical toolstrips). |
static ToolStripSeparator |
getOrCreateRef(JavaScriptObject jsObj)
|
String |
getSkinImgDir()
Path to separator image. |
String |
getVSrc()
Image for vertically oriented separator (for horizontal toolstrips). |
static void |
setDefaultProperties(ToolStripSeparator toolStripSeparatorProperties)
Class level method to set the default properties of this class. |
void |
setHSrc(String hSrc)
Image for horizontally oriented separator (for vertical toolstrips). |
void |
setSkinImgDir(String skinImgDir)
Path to separator image. |
void |
setVSrc(String vSrc)
Image for vertically oriented separator (for horizontal toolstrips). |
| Methods inherited from class com.smartgwt.client.widgets.Img |
|---|
getAltText, getHoverHTML, getImageHeight, getImageType, getImageWidth, getPrompt, getShowTitle, getSize, getSrc, getUsePNGFix, resetSrc, setAltText, setDefaultProperties, setImageHeight, setImageType, setImageWidth, setName, setPrompt, setShowTitle, setSize, setSrc, setUsePNGFix |
| 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 ToolStripSeparator()
public ToolStripSeparator(JavaScriptObject jsObj)
| Method Detail |
|---|
public static ToolStripSeparator getOrCreateRef(JavaScriptObject jsObj)
protected JavaScriptObject create()
create in class Img
public void setHSrc(String hSrc)
throws IllegalStateException
hSrc - hSrc Default value is "[SKIN]hseparator.png"
IllegalStateException - this property cannot be changed after the component has been createdpublic String getHSrc()
public void setSkinImgDir(String skinImgDir)
throws IllegalStateException
setSkinImgDir in class CanvasskinImgDir - skinImgDir Default value is "images/ToolStrip/"
IllegalStateException - this property cannot be changed after the component has been createdImages overview and related methodspublic String getSkinImgDir()
getSkinImgDir in class CanvasImages overview and related methods
public void setVSrc(String vSrc)
throws IllegalStateException
vSrc - vSrc Default value is "[SKIN]separator.png"
IllegalStateException - this property cannot be changed after the component has been createdpublic String getVSrc()
public static void setDefaultProperties(ToolStripSeparator toolStripSeparatorProperties)
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.
toolStripSeparatorProperties - 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 | ||||||||