|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.struts.LyStrutsTool
public class LyStrutsTool
This class implements the Tool object (as described in the dtd) for struts viewer.
TOOL: Action Button
An action button allows executing an action. In the case where the button contains an area (AREA)
, this area is displayed in a new window when launching the action.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static boolean |
GENERATE_HREF
Indicates whether an hyperlink element must be generated around tool. |
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Constructor Summary | |
---|---|
LyStrutsTool(LyTool tool)
Constructor. |
Method Summary | |
---|---|
void |
initialize()
Initialization method. |
boolean |
isEnabled()
Indicates if the tool is enabele or not. |
void |
refresh()
(non-Javadoc). |
void |
setEnabled(boolean status)
(non-Javadoc). |
void |
setImage(java.lang.String key)
(non-Javadoc). |
void |
setLabel(java.lang.String label)
(non-Javadoc). |
void |
setPressed(boolean pressed)
Updates attribute pressed to the given value. |
void |
setTooltip(java.lang.String tooltip)
Sets the tool tooltip. |
void |
writeHtml(LyWebPageWriter pw)
(non-Javadoc). |
void |
writeHtml(LyWebPageWriter pw,
boolean writeDiv)
Write HTML description corresponding to this tool. |
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, 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 |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Field Detail |
---|
public static final java.lang.String __VERSION
public static boolean GENERATE_HREF
Constructor Detail |
---|
public LyStrutsTool(LyTool tool)
tool
- the tool componentMethod Detail |
---|
public void initialize()
public void writeHtml(LyWebPageWriter pw)
writeHtml
in interface LyWebComponent
pw
- the page writerLyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
public void writeHtml(LyWebPageWriter pw, boolean writeDiv)
pw
- the page writer.writeDiv
- indicates whether div tags must be generated or not.writeHtml(leon.view.web.LyWebPageWriter)
public void refresh()
refresh
in class LyWebObject
LyWebObject.refresh()
public boolean isEnabled()
public void setLabel(java.lang.String label)
setLabel
in interface LyGraphicalTool
setLabel
in interface LySetLabelInterface
label
- New value of label.LySetLabelInterface.setLabel(java.lang.String)
public void setEnabled(boolean status)
setEnabled
in interface LyGraphicalTool
setEnabled
in interface LySetEnabledInterface
status
- Boolean indicating if attribute enabled is set or unset.LySetEnabledInterface.setEnabled(boolean)
public void setImage(java.lang.String key)
setImage
in interface LyGraphicalTool
setImage
in interface LySetImageInterface
key
- New value of image.LySetImageInterface.setImage(java.lang.String)
public void setPressed(boolean pressed)
setPressed
in interface LyGraphicalTool
pressed
- Boolean indicating if attribute pressed is set or unset.public void setTooltip(java.lang.String tooltip)
setTooltip
in interface LyGraphicalTool
tooltip
- the new tooltip
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |