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

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

public abstract class OKButtonCommand
extends AbstractButtonCommand

Represents command executed on pressing "OK" in a dialog window.


Field Summary
static java.lang.String rcs_id
           
 
Constructor Summary
OKButtonCommand()
           
 
Method Summary
 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
 
Methods inherited from interface com.softwareag.cis.server.util.ICommand
execute
 

Field Detail

rcs_id

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

OKButtonCommand

public OKButtonCommand()
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