|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.argouml.swingext.ActionUtilities
A collection of utility methods for Swing Actions.
Constructor Summary | |
ActionUtilities()
|
Method Summary | |
static java.awt.Container |
getActionRoot(java.awt.event.ActionEvent ae)
Intended for use inside an actionPerformed method eg:
public void actionPerformed(ActionEvent ae) {
Container appRoot = ActionUtilities.getActionRoot(ae);
}
Returns the root object, usually a JFrame, JDialog or
JApplet that is the owner of the source event source
object (JMenu, JMenuItem, JPopupMenu etc). |
static java.awt.Container |
getActionRoot(java.lang.Object source)
Intended for use inside an actionPerformed method eg:
public void actionPerformed(ActionEvent e) {
Container appRoot = ActionUtilities.getActionRoot(e.getSource());
}
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActionUtilities()
Method Detail |
public static java.awt.Container getActionRoot(java.awt.event.ActionEvent ae)
actionPerformed
method eg:
public void actionPerformed(ActionEvent ae) { Container appRoot = ActionUtilities.getActionRoot(ae); }Returns the root object, usually a
JFrame, JDialog or
JApplet
that is the owner of the source event source
object (JMenu, JMenuItem, JPopupMenu etc).
public static java.awt.Container getActionRoot(java.lang.Object source)
actionPerformed
method eg:
public void actionPerformed(ActionEvent e) { Container appRoot = ActionUtilities.getActionRoot(e.getSource()); }
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20030919) | ArgoUML Project Home | ArgoUML Cookbook |