|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
gui.BSFAction
public class BSFAction
Class to execute ooRexx code when a button or a menu item is clicked
Field Summary | |
---|---|
java.lang.Object |
element
The gui element object |
java.util.Vector |
guiElements
A Vector that contains the gui elements |
java.lang.String |
ooRexxCode
The actual ooRexx code, that will be executed when the action is performed |
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
BSFAction()
Default constructor |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0)
Executes the ooRexx code |
void |
addElement(java.lang.Object o)
Method to add an additional gui element to the vector, that can be accessed within the ooRexx code |
java.lang.Object |
getElement()
Method that returns the gui element |
java.lang.String |
getOoRexxCode()
Method that returns the ooRexx code |
void |
setElement(java.lang.Object o)
Method to set the gui element and add it to the vector, so that it can be accessed within the ooRexx code |
void |
setOoRexxCode(java.lang.String code)
Method to set the ooRexx code |
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 java.lang.String ooRexxCode
public java.lang.Object element
public java.util.Vector guiElements
Constructor Detail |
---|
public BSFAction()
Method Detail |
---|
public java.lang.String getOoRexxCode()
public void setOoRexxCode(java.lang.String code)
public java.lang.Object getElement()
public void setElement(java.lang.Object o)
public void addElement(java.lang.Object o)
public void actionPerformed(java.awt.event.ActionEvent arg0)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |