|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
ARoad0.gDMak.ActionNewEligibleParty
public class ActionNewEligibleParty
An action that creates a new eligible party when the user requests it in the beamer. createEligibleParty() is the main method, and it is invoked by the beamer PropertyEditors. The name has the structure 'IS-name :: ACS-name :: Resource-name'. This class manages all the dialog boxes required for the user input, controls the inputs, creates the eligible party in its ACS, then updates all the open frames in the GUI.
Field Summary | |
---|---|
private static ActionNewEligibleParty |
instance__
the only instance of the class, following singleton pattern |
protected BaseObject |
source_
The value of the ACS which is the source. |
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 |
ActionNewEligibleParty()
with this private constructor, the compiler won't generate a default public constructor |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ev)
Manages the actions fired from the main menu, and displays a dialog box. |
void |
createEligibleParty(java.lang.Object[] _l_fixedValue)
Invoked by CollectionPropertyEditor.addElement(), (from information of ACS/DirectoryImplBeanInfo classes in gBase) to create the EP. |
static ActionNewEligibleParty |
getInstance()
only public method to get the unique instance |
BaseObject |
getSource()
Gets the value of the source. |
void |
handleNewBaseObject(BaseObject _obj)
This method registers a GroupID in the current ACSTreeBaseListenerImpl as listeners for the 'l_Members' bound property. |
static void |
handleNewGroup(ImmutableGroupID _obj)
This method has to be invoked just after the creation of a GroupIDImpl, to register the current ACSTreeBaseListenerImpls as listeners of any change among the GroupID members. |
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 |
---|
protected BaseObject source_
private static ActionNewEligibleParty instance__
Constructor Detail |
---|
private ActionNewEligibleParty()
Method Detail |
---|
public static ActionNewEligibleParty getInstance()
public BaseObject getSource()
getSource
in interface NewBaseObjectListener
public void actionPerformed(java.awt.event.ActionEvent ev)
actionPerformed
in interface java.awt.event.ActionListener
ev
- ActionEventpublic void createEligibleParty(java.lang.Object[] _l_fixedValue)
_l_fixedValue
- array of the arguments.
They may be all Strings, all ImmutableNames or all BaseObjects,
as arguments which has been chosen by the user before the call of this method.
The value at the index 0 is the chosen value for the first argument, and so on.
A value in the array is null if the argument for this index is not pre-defined.
The size of the array may be inferior or superior to the number of arguments.public void handleNewBaseObject(BaseObject _obj)
handleNewBaseObject
in interface NewBaseObjectListener
_obj
- is the eligible party instance which has been createdpublic static void handleNewGroup(ImmutableGroupID _obj)
_obj
- group which is just created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |