com.pepper.platform.program.actions
Class ShowPepperPageAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.pepper.platform.program.actions.ProgramAbstractAction
          extended by com.pepper.platform.program.actions.ShowPepperPageAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class ShowPepperPageAction
extends ProgramAbstractAction

Action to show the specified package and load the specified pepper page. This action will launch the package if it's not running.

See Also:
Serialized Form

Field Summary
 
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
ShowPepperPageAction(String packageId, String label, String pageId, String sectionId)
          Creates an instance of ShowPepperPageAction.
ShowPepperPageAction(String packageId, String label, String pageId, String sectionId, Object pageArg)
          Creates a new ShowPepperPageAction instance.
 
Method Summary
 void actionPerformed(ActionEvent event)
          Perform the action to show the page
 
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
 

Constructor Detail

ShowPepperPageAction

public ShowPepperPageAction(String packageId,
                            String label,
                            String pageId,
                            String sectionId)
Creates an instance of ShowPepperPageAction.


ShowPepperPageAction

public ShowPepperPageAction(String packageId,
                            String label,
                            String pageId,
                            String sectionId,
                            Object pageArg)
Creates a new ShowPepperPageAction instance.

Parameters:
packageId - a String value
label - a String value
pageId - a String value
sectionId - a String value
pageArg - Object argument to pass to page
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Perform the action to show the page

Parameters:
event - the event.


Copyright © 2006-2007 Pepper Computer, Inc. All Rights Reserved.