|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.explorer.menu.DefaultFractalMenuItem
public abstract class DefaultFractalMenuItem
Specialization of the menu item for entities having life cycle properties.
Field Summary |
---|
Fields inherited from interface org.objectweb.util.explorer.api.MenuItem |
---|
DISABLED_STATUS, ENABLED_STATUS, NOT_VISIBLE_STATUS |
Constructor Summary | |
---|---|
DefaultFractalMenuItem()
|
Method Summary | |
---|---|
void |
actionPerformed(org.objectweb.util.explorer.api.MenuItemTreeView arg0)
Call the appropriate actionPerformed depending on the status of the component (STARTED or STOPPED). |
abstract void |
actionStartedPerformed(org.objectweb.util.explorer.api.MenuItemTreeView arg0)
Called when the Fractal component is started. |
void |
actionStoppedPerformed(org.objectweb.util.explorer.api.MenuItemTreeView arg0)
Called when the Fractal component is stopped. |
int |
getStartedStatus(org.objectweb.util.explorer.api.TreeView arg0)
Called when the Fractal component is started. |
int |
getStatus(org.objectweb.util.explorer.api.TreeView arg0)
Compute if the component is started or not. |
int |
getStoppedStatus(org.objectweb.util.explorer.api.TreeView arg0)
Called when the Fractal component is stopped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFractalMenuItem()
Method Detail |
---|
public int getStatus(org.objectweb.util.explorer.api.TreeView arg0)
getStatus
in interface org.objectweb.util.explorer.api.MenuItem
public void actionPerformed(org.objectweb.util.explorer.api.MenuItemTreeView arg0) throws Exception
actionPerformed
depending on the status of the component (STARTED or STOPPED).
actionPerformed
in interface org.objectweb.util.explorer.api.MenuItem
Exception
public int getStartedStatus(org.objectweb.util.explorer.api.TreeView arg0)
FractalMenuItem
getStartedStatus
in interface FractalMenuItem
arg0
- A view on the tree.
public int getStoppedStatus(org.objectweb.util.explorer.api.TreeView arg0)
FractalMenuItem
getStoppedStatus
in interface FractalMenuItem
arg0
- A view on the tree.
public void actionStoppedPerformed(org.objectweb.util.explorer.api.MenuItemTreeView arg0) throws Exception
FractalMenuItem
actionStoppedPerformed
in interface FractalMenuItem
arg0
- The event.
Exception
public abstract void actionStartedPerformed(org.objectweb.util.explorer.api.MenuItemTreeView arg0) throws Exception
FractalMenuItem
actionStartedPerformed
in interface FractalMenuItem
arg0
- The event.
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |