|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectARoad0.gDMak.ActionUtilities
public class ActionUtilities
An utility class that closes the main frame of a base object, analyzes the ActionEvent fired to an AbstractAction, and manages the dialog to choose a closing and a saving of the base object. Used by ActionCloseXXX and SimplePropertyEditor classes.
Field Summary | |
---|---|
private ACSFactoryImpl |
factory_
|
private static ActionUtilities |
instance__
|
private java.lang.Class |
internalFrameClass_
|
Constructor Summary | |
---|---|
private |
ActionUtilities()
with this private constructor, the compiler won't generate a default public constructor |
Method Summary | |
---|---|
(package private) java.lang.Object[] |
analyzeActionEvent(java.awt.event.ActionEvent _ev)
Analyzes an ActionEvent fired to actionPerformed() in an AbstractAction class, to extract the main information. |
ACSFactoryImpl |
getACSFactory()
Called by ActionOpenBeamer |
static ActionUtilities |
getInstance()
constructor() |
void |
registerACSTreeListenerInGroup(ImmutableGroupID _grp)
This method registers all the relevant ACSTreeBaseListeners to listen the 'l_Members' events. |
void |
setACSFactory(ACSFactoryImpl _factory)
ActionNewACSyst calls this method to store the current ACSFactory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static ActionUtilities instance__
private java.lang.Class internalFrameClass_
private ACSFactoryImpl factory_
Constructor Detail |
---|
private ActionUtilities()
Method Detail |
---|
public static ActionUtilities getInstance()
public void registerACSTreeListenerInGroup(ImmutableGroupID _grp)
_grp
- is the group which may fire 'l_Members' eventspublic void setACSFactory(ACSFactoryImpl _factory)
_factory
- to store. May be null.public ACSFactoryImpl getACSFactory()
java.lang.Object[] analyzeActionEvent(java.awt.event.ActionEvent _ev)
_ev
- ActionEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |