org.riotfamily.pages.riot.command
Class GotoSiteCommand

java.lang.Object
  extended by org.riotfamily.riot.list.command.core.AbstractCommand
      extended by org.riotfamily.riot.list.command.core.PopupCommand
          extended by org.riotfamily.pages.riot.command.GotoSiteCommand
All Implemented Interfaces:
Command, RiotRuntimeAware, BeanNameAware

public class GotoSiteCommand
extends PopupCommand


Field Summary
static String STYLE_CLASS
           
 
Fields inherited from class org.riotfamily.riot.list.command.core.AbstractCommand
log
 
Constructor Summary
GotoSiteCommand()
           
 
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.PopupCommand
execute, getPopupBlockerMessage, isEnabled, setPopupArguments, setWindowName
 
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
 

Field Detail

STYLE_CLASS

public static final String STYLE_CLASS
See Also:
Constant Field Values
Constructor Detail

GotoSiteCommand

public GotoSiteCommand()
Method Detail

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