org.riotfamily.pages.riot.command
Class GotoSiteCommand
java.lang.Object
org.riotfamily.riot.list.command.core.AbstractCommand
org.riotfamily.riot.list.command.core.PopupCommand
org.riotfamily.pages.riot.command.GotoSiteCommand
- All Implemented Interfaces:
- Command, RiotRuntimeAware, BeanNameAware
public class GotoSiteCommand
- extends PopupCommand
Method Summary |
String |
getStyleClass()
Returns the CSS class that is assigned to command's HTML element and
therefore defines which icon is displayed.
If no class is set, the default implementation will return the
action instead. |
protected String |
getUrl(CommandContext context)
|
Methods inherited from class org.riotfamily.riot.list.command.core.AbstractCommand |
getAction, getConfirmationMessage, getDefaultMessageArgs, getId, getItemStyleClass, getLabel, getRuntime, isShowOnForm, setBeanName, setId, setRiotRuntime, setShowOnForm, setStyleClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STYLE_CLASS
public static final String STYLE_CLASS
- See Also:
- Constant Field Values
GotoSiteCommand
public GotoSiteCommand()
getUrl
protected String getUrl(CommandContext context)
- Specified by:
getUrl
in class PopupCommand
getStyleClass
public String getStyleClass()
- Description copied from class:
AbstractCommand
- Returns the CSS class that is assigned to command's HTML element and
therefore defines which icon is displayed. If no class is set, the
default implementation will return the action instead.
If no class is set, the default implementation will return the
action instead.
- Specified by:
getStyleClass
in interface Command
- Overrides:
getStyleClass
in class AbstractCommand