leon.view.web.struts
Class LyStrutsMapObject
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.struts.LyStrutsMapObject
- All Implemented Interfaces:
- LyGraphicalComponent, LyViewComponent, LyFreeInterface, LyWebComponent
- Direct Known Subclasses:
- LyStrutsMapLink, LyStrutsMapNode, LyStrutsMapRegion
public abstract class LyStrutsMapObject
- extends LyWebObject
This class implements a map object for web viewer.
Field Summary |
static java.lang.String |
__VERSION
|
Method Summary |
java.awt.Color |
getColor(java.lang.String key)
Retrieves a Color from the current environment. |
java.awt.Font |
getFont(java.lang.String key)
Retrieves a Font from the current environment. |
static java.lang.String |
getHexString(java.awt.Color color)
Gets the hexadecimal string representing the given color. |
java.awt.Image |
getImage(java.lang.String key)
Retrieves an image from the current environment. |
Methods inherited from class leon.view.web.LyWebObject |
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, free, getDisabledImageUrl, getFontSize, getFontString, getFontString, getFontString, getHexColor, getHexColor, getHtmlEntitiesString, getHtmlString, getImageSize, getImageSize, getImageUrl, getJavascriptString, getLastFrameName, getLyFont, getMessage, getRootUrl, getRootURL, getScrollHeightForSplitter, getUrl, getWebViewManager, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
expand, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyStrutsMapObject
public LyStrutsMapObject(LyComponent mapObject)
- Class constructor of a Map Object object for the struts target.
- Parameters:
mapObject
- the generic Map Object defined for every type of view targets
getHexString
public static java.lang.String getHexString(java.awt.Color color)
- Gets the hexadecimal string representing the given color.
- Parameters:
color
- The color to convert.
- Returns:
- The hexadecimal code for the color.
getColor
public final java.awt.Color getColor(java.lang.String key)
- Retrieves a Color from the current environment.
- Parameters:
key
- The ressource name (key) of the Color.
- Returns:
- A reference to the requested Color, or null if it could not be found.
- See Also:
LyEnvironment.getColor(String)
getFont
public final java.awt.Font getFont(java.lang.String key)
- Retrieves a Font from the current environment.
- Parameters:
key
- The ressource name (key) of the font.
- Returns:
- A reference to the requested Font, or a default font if it could not be found.
- See Also:
LyEnvironment.getFont(String)
getImage
public final java.awt.Image getImage(java.lang.String key)
- Retrieves an image from the current environment.
- Parameters:
key
- The ressource name (key) of the image.
- Returns:
- A reference to the image object, or null if it could not be found.
- See Also:
LyEnvironment.getImage(String)
Website: W4 S.A., contact us: support@w4global.com