|
|||||||||
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.EdgedCanvas
public class EdgedCanvas
EdgedCanvas acts as a decorative, image-based frame around another single Canvas.
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.smartgwt.client.widgets.BaseWidget |
---|
config, configOnly, id, isElementSet |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
EdgedCanvas()
|
|
EdgedCanvas(com.google.gwt.core.client.JavaScriptObject jsObj)
|
Method Summary | |
---|---|
protected com.google.gwt.core.client.JavaScriptObject |
create()
|
java.lang.Boolean |
getAddEdgeStyleSuffix()
If specified, the edgeStyleName will be treated as a base style name and
appended with following suffixes to support separate styling per cell:
|
java.lang.String |
getCenterBackgroundColor()
Background color for the center section only. |
java.lang.Integer |
getEdgeBottom()
Height in pixels for bottom corners and edges. |
java.lang.String |
getEdgeColor()
CSS color (WITHOUT "#") for the edges. |
java.lang.String |
getEdgeImage()
Base name of images for edges. |
java.lang.Integer |
getEdgeLeft()
Height in pixels for left corners and edges. |
java.lang.Integer |
getEdgeOffsetBottom()
Amount the contained Canvas should be offset from the bottom. |
java.lang.Integer |
getEdgeOffsetLeft()
Amount the contained Canvas should be offset from the left. |
java.lang.Integer |
getEdgeOffsetRight()
Amount the contained Canvas should be offset from the right. |
java.lang.Integer |
getEdgeOffsetTop()
Amount the contained Canvas should be offset from the top. |
java.lang.Integer |
getEdgeRight()
Height in pixels for right corners and edges. |
java.lang.String |
getEdgeStyleName()
Optional property specifying the CSS ClassName to apply to the various parts of this edged canvas (top, bottom, corners, sides and center). |
java.lang.Integer |
getEdgeTop()
Height in pixels for top corners and edges. |
static EdgedCanvas |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
|
java.lang.Boolean |
getShowCenter()
Whether to show media in the center section, that is, behind the decorated Canvas. |
java.lang.String |
getSkinImgDir()
Standard skin directory for edge images (sides and corners). |
void |
setAddEdgeStyleSuffix(java.lang.Boolean addEdgeStyleSuffix)
If specified, the edgeStyleName will be treated as a base style name and
appended with following suffixes to support separate styling per cell:
|
void |
setCenterBackgroundColor(java.lang.String centerBackgroundColor)
Background color for the center section only. |
void |
setEdgeBottom(java.lang.Integer edgeBottom)
Height in pixels for bottom corners and edges. |
void |
setEdgeColor(java.lang.String edgeColor)
CSS color (WITHOUT "#") for the edges. |
void |
setEdgeImage(java.lang.String edgeImage)
Base name of images for edges. |
void |
setEdgeLeft(java.lang.Integer edgeLeft)
Height in pixels for left corners and edges. |
void |
setEdgeOffsetBottom(java.lang.Integer edgeOffsetBottom)
Amount the contained Canvas should be offset from the bottom. |
void |
setEdgeOffsetLeft(java.lang.Integer edgeOffsetLeft)
Amount the contained Canvas should be offset from the left. |
void |
setEdgeOffsetRight(java.lang.Integer edgeOffsetRight)
Amount the contained Canvas should be offset from the right. |
void |
setEdgeOffsetTop(java.lang.Integer edgeOffsetTop)
Amount the contained Canvas should be offset from the top. |
void |
setEdgeRight(java.lang.Integer edgeRight)
Height in pixels for right corners and edges. |
void |
setEdgeStyleName(java.lang.String edgeStyleName)
Optional property specifying the CSS ClassName to apply to the various parts of this edged canvas (top, bottom, corners, sides and center). |
void |
setEdgeTop(java.lang.Integer edgeTop)
Height in pixels for top corners and edges. |
void |
setShowCenter(java.lang.Boolean showCenter)
Whether to show media in the center section, that is, behind the decorated Canvas. |
void |
setSkinImgDir(java.lang.String skinImgDir)
Standard skin directory for edge images (sides and corners). |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
doAttachChildren, doDetachChildren, getParent, isAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent |
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, sinkEvents, 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 |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Constructor Detail |
---|
public EdgedCanvas()
public EdgedCanvas(com.google.gwt.core.client.JavaScriptObject jsObj)
Method Detail |
---|
public static EdgedCanvas getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
protected com.google.gwt.core.client.JavaScriptObject create()
create
in class Canvas
public void setSkinImgDir(java.lang.String skinImgDir) throws java.lang.IllegalStateException
setSkinImgDir
in class Canvas
skinImgDir
- skinImgDir Default value is "images/edges/"
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.String getSkinImgDir()
getSkinImgDir
in class Canvas
public void setEdgeImage(java.lang.String edgeImage) throws java.lang.IllegalStateException
The full list of extensions is: "_TL", "_TR", "_BL", "_BR", "_T", "_L", "_B", "_R", "_center".
setEdgeImage
in class Canvas
edgeImage
- edgeImage Default value is "[SKIN]/rounded/frame/FFFFFF/6.png"
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.String getEdgeImage()
The full list of extensions is: "_TL", "_TR", "_BL", "_BR", "_T", "_L", "_B", "_R", "_center".
getEdgeImage
in class Canvas
public void setEdgeColor(java.lang.String edgeColor) throws java.lang.IllegalStateException
edgeColor
- edgeColor Default value is null
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.String getEdgeColor()
public void setShowCenter(java.lang.Boolean showCenter) throws java.lang.IllegalStateException
showCenter
- showCenter Default value is false
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Boolean getShowCenter()
public void setEdgeLeft(java.lang.Integer edgeLeft) throws java.lang.IllegalStateException
edgeLeft
- edgeLeft Default value is null
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Integer getEdgeLeft()
public void setEdgeRight(java.lang.Integer edgeRight) throws java.lang.IllegalStateException
edgeRight
- edgeRight Default value is null
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Integer getEdgeRight()
public void setEdgeTop(java.lang.Integer edgeTop) throws java.lang.IllegalStateException
edgeTop
- edgeTop Default value is null
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Integer getEdgeTop()
public void setEdgeBottom(java.lang.Integer edgeBottom) throws java.lang.IllegalStateException
edgeBottom
- edgeBottom Default value is null
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Integer getEdgeBottom()
public void setEdgeOffsetTop(java.lang.Integer edgeOffsetTop) throws java.lang.IllegalStateException
Note : This is an advanced setting
edgeOffsetTop
- edgeOffsetTop Default value is null
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Integer getEdgeOffsetTop()
public void setEdgeOffsetBottom(java.lang.Integer edgeOffsetBottom) throws java.lang.IllegalStateException
Note : This is an advanced setting
edgeOffsetBottom
- edgeOffsetBottom Default value is null
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Integer getEdgeOffsetBottom()
public void setEdgeOffsetLeft(java.lang.Integer edgeOffsetLeft) throws java.lang.IllegalStateException
Note : This is an advanced setting
edgeOffsetLeft
- edgeOffsetLeft Default value is null
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Integer getEdgeOffsetLeft()
public void setEdgeOffsetRight(java.lang.Integer edgeOffsetRight) throws java.lang.IllegalStateException
Note : This is an advanced setting
edgeOffsetRight
- edgeOffsetRight Default value is null
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Integer getEdgeOffsetRight()
public void setCenterBackgroundColor(java.lang.String centerBackgroundColor) throws java.lang.IllegalStateException
centerBackgroundColor
- centerBackgroundColor Default value is null
java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.String getCenterBackgroundColor()
public void setEdgeStyleName(java.lang.String edgeStyleName)
addEdgeStyleSuffix
.
edgeStyleName
- edgeStyleName Default value is nullpublic java.lang.String getEdgeStyleName()
addEdgeStyleSuffix
.
public void setAddEdgeStyleSuffix(java.lang.Boolean addEdgeStyleSuffix)
edgeStyleName
will be treated as a base style name and
appended with following suffixes to support separate styling per cell:
_TL
(top left cell)
_T
(top center cell)
_TR
(top right cell)
_L
(middle left cell)
_C
(center cell)
_R
(middle right cell)
_BL
(bottom left cell)
_B
(bottom center cell)
_BR
(bottom right cell)
addEdgeStyleSuffix
- addEdgeStyleSuffix Default value is falsepublic java.lang.Boolean getAddEdgeStyleSuffix()
edgeStyleName
will be treated as a base style name and
appended with following suffixes to support separate styling per cell:
_TL
(top left cell)
_T
(top center cell)
_TR
(top right cell)
_L
(middle left cell)
_C
(center cell)
_R
(middle right cell)
_BL
(bottom left cell)
_B
(bottom center cell)
_BR
(bottom right cell)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |