|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
ARoad0.gDMak.ActionOpenBeamer
public class ActionOpenBeamer
An action that opens the beamer if necessary, listens the selection of a base object in the explorer, opens a JInternalFrame to display the base object properties, and edit them in the beamer. Manages updates in the beamer from one source:
- when in the explorer, a base object is selected
ActionUtilities,
Serialized Form| Field Summary | |
|---|---|
private static ActionOpenBeamer |
instance__
|
| 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 | |
|---|---|
private |
ActionOpenBeamer()
with this private constructor, the compiler won't generate a default public constructor |
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent _ev)
Manages opening commands from one source: - from 'Open Beamer' in the main menu, when in the explorer tree, a node is selected. |
static ActionOpenBeamer |
getInstance()
constructor() |
private static void |
openSelection(java.lang.Object[] _l_analyzedEvent)
Opens the selected base object in the beamer, and opens the beamer before if it is closed. |
void |
valueChanged(javax.swing.event.TreeSelectionEvent _ev)
Manages the displaying of a base object in the beamer when, in the explorer tree, a node is selected. |
| 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 |
|---|
private static ActionOpenBeamer instance__
| Constructor Detail |
|---|
private ActionOpenBeamer()
| Method Detail |
|---|
public static ActionOpenBeamer getInstance()
public void actionPerformed(java.awt.event.ActionEvent _ev)
actionPerformed in interface java.awt.event.ActionListener_ev - ActionEvent produced by the click on "Open Beamer".public void valueChanged(javax.swing.event.TreeSelectionEvent _ev)
valueChanged in interface javax.swing.event.TreeSelectionListener_ev - TreeSelectionEventprivate static void openSelection(java.lang.Object[] _l_analyzedEvent)
_l_analyzedEvent - is an Object[] of three items:
0- String type of the selected base object
"acs", "resource", "actor", "ec_resource",
"groupid", "userid", "aclentry", "view", "metaright", "acsright",
"virtualfolder", "privilege" - may be null
1- ImmutableName name of the base object - may be null
2- JInternalFrame open main frame of the base object - may be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||