|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
com.pepper.platform.program.actions.ProgramAbstractAction
com.pepper.platform.program.actions.ViewNavAction
public class ViewNavAction
Action that will navigate to the next or previous page in the current section.
Field Summary | |
---|---|
static int |
TYPE_NEXT
Navigate to the next page. |
static int |
TYPE_PREV
Navigate to the previous page. |
Fields inherited from class com.pepper.platform.program.actions.ProgramAbstractAction |
---|
IMAGE_DIR, LARGE_ICON, log |
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
ViewNavAction(int type)
Creates a new ViewNavAction instance. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent event)
Navigate to the previous or next page, as specified by the type value. |
Methods inherited from class com.pepper.platform.program.actions.ProgramAbstractAction |
---|
getActionCommand, getConfig, getGSP, getIcon, getLongDescription, getMnemonicKey, getName, getPackageId, getProcess, getProgram, getShortDescription |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int TYPE_PREV
public static int TYPE_NEXT
Constructor Detail |
---|
public ViewNavAction(int type)
ViewNavAction
instance.
type
- specifies direction of navigation, one of
TYPE_PREV
or TYPE_NEXT
ViewNavAction.TYPE_PREV
,
ViewNavAction.TYPE_NEXT
Method Detail |
---|
public void actionPerformed(ActionEvent event)
type
value.
Javascript:
To call this action using Javascript via the Javascript bridge, use the form:
bridge.action('NextPage');
Or:
bridge.action('PrevPage');
event
- The action event associated with this action
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |