com.softwareag.cis.plugin.adapter.command
Class CancelButtonCommand

java.lang.Object
  extended by com.softwareag.cis.plugin.adapter.command.AbstractButtonCommand
      extended by com.softwareag.cis.plugin.adapter.command.CancelButtonCommand
All Implemented Interfaces:
com.softwareag.cis.server.util.ICommand

public class CancelButtonCommand
extends AbstractButtonCommand

Common command used for handling "Cancel" button.


Field Summary
static java.lang.String rcs_id
           
 
Constructor Summary
CancelButtonCommand()
           
 
Method Summary
 void execute()
          Close the current adapter (page).
 int getKeyCode()
          Get code of key to be pressed to trigger this command
 java.lang.String getTitle()
          Get the label to be used for this command
 
Methods inherited from class com.softwareag.cis.plugin.adapter.command.AbstractButtonCommand
getAdapter, getLocale, setAdapter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rcs_id

public static final java.lang.String rcs_id
See Also:
Constant Field Values
Constructor Detail

CancelButtonCommand

public CancelButtonCommand()
Method Detail

getTitle

public java.lang.String getTitle()
Description copied from class: AbstractButtonCommand
Get the label to be used for this command

Specified by:
getTitle in class AbstractButtonCommand
Returns:
the localized label

getKeyCode

public int getKeyCode()
Description copied from class: AbstractButtonCommand
Get code of key to be pressed to trigger this command

Specified by:
getKeyCode in class AbstractButtonCommand
Returns:
the keycode
See Also:
BaseConstants

execute

public void execute()
Close the current adapter (page).