com.pepper.platform.program.actions
Class ShowPageAction
java.lang.Object
javax.swing.AbstractAction
com.pepper.platform.program.actions.ProgramAbstractAction
com.pepper.platform.program.actions.ShowPageAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class ShowPageAction
- extends ProgramAbstractAction
Loads a web page or a pepper page that gets passed in as a
parameter
- See Also:
- Serialized Form
Constructor Summary |
ShowPageAction()
Creates an instance of ShowPageAction . |
Method Summary |
void |
actionPerformed(ActionEvent event)
Perform the action to show the page (web or pepper page)
Expects a paramater on the event. |
Methods inherited from class com.pepper.platform.program.actions.ProgramAbstractAction |
getActionCommand, getConfig, getGSP, getIcon, getLongDescription, getMnemonicKey, getName, getPackageId, getProcess, getProgram, getShortDescription |
ACTION_CMD
public static final String ACTION_CMD
- See Also:
- Constant Field Values
ShowPageAction
public ShowPageAction()
- Creates an instance of
ShowPageAction
.
actionPerformed
public void actionPerformed(ActionEvent event)
- Perform the action to show the page (web or pepper page)
Expects a paramater on the event.
Javascript:
To call this action using Javascript via the Javascript bridge, use the form:
bridge.action('ShowPage', url);
With parameter:
url
- The url to be displayed
- Parameters:
event
- the event.
Copyright © 2006-2007 Pepper Computer, Inc. All Rights Reserved.