leon.view.web.struts
Class LyStrutsCommand
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.struts.LyStrutsCommand
- All Implemented Interfaces:
- LyGraphicalCommand, LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalPanel, LyViewComponent, LyFreeInterface, LySetEnabledInterface, LySetLabelInterface, LyWebComponent
public class LyStrutsCommand
- extends LyWebObject
- implements LyGraphicalCommand
This class implements the Command object (as described in the dtd) for web viewer.
COMMAND: Command Button
A command button allows to execute an action. There are predefined types of command giving
information about the nature of the action to execute (closing, cancellation, help, etc.).
Field Summary |
static java.lang.String |
__VERSION
|
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
LyStrutsCommand
public LyStrutsCommand(LyCommand command)
- Constructor.
- Parameters:
command
- The generic parent component.
writeHtml
public void writeHtml(LyWebPageWriter pw)
- (non-Javadoc).
- Specified by:
writeHtml
in interface LyWebComponent
- Parameters:
pw
- the page writer- See Also:
LyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
setLabel
public void setLabel(java.lang.String label)
- (non-Javadoc).
- Specified by:
setLabel
in interface LyGraphicalCommand
- Specified by:
setLabel
in interface LySetLabelInterface
- Parameters:
label
- New value of label.- See Also:
LySetLabelInterface.setLabel(java.lang.String)
setEnabled
public void setEnabled(boolean status)
- (non-Javadoc).
- Specified by:
setEnabled
in interface LyGraphicalCommand
- Specified by:
setEnabled
in interface LySetEnabledInterface
- Parameters:
status
- Boolean indicating if attribute enabled is set or unset.- See Also:
LySetEnabledInterface.setEnabled(boolean)
isEnabled
public boolean isEnabled()
- Indicates whether this command is enabled or not.
- Returns:
Website: W4 S.A., contact us: support@w4global.com