|
BioLegato 0.7.0 GDE Menu support plugin | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biolegato.ezmenu.EZMenuItem
public class EZMenuItem
The window used for setting options to run a menu command.
| Field Summary | |
|---|---|
protected java.util.LinkedList<java.util.Map<java.lang.String,java.lang.Object>> |
variables
The list of variabes currently used by the window. |
| Constructor Summary | |
|---|---|
EZMenuItem(java.lang.String name)
Creates a new instance of a run window. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Makes the window visible so all of the variables may be set. |
void |
addButton(javax.swing.Action run)
Adds a button to the window. |
void |
addVariable(java.util.Map<java.lang.String,java.lang.Object> variable)
This function is used to add variables to the window. |
void |
setCommand(java.lang.String command)
Changes the command string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.LinkedList<java.util.Map<java.lang.String,java.lang.Object>> variables
| Constructor Detail |
|---|
public EZMenuItem(java.lang.String name)
name - the name of the run window.| Method Detail |
|---|
public void addButton(javax.swing.Action run)
run - the AbstractAction used to create the buttonpublic void addVariable(java.util.Map<java.lang.String,java.lang.Object> variable)
variable - the variable to add to the windowpublic void setCommand(java.lang.String command)
command - the command string to change to.public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListenerevent - this is currently ignored
|
BioLegato 0.7.0 GDE Menu support plugin | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||