gishur.graph.gui
Class GraphElementPropertyActor
java.lang.Object
|
+--gishur.graph.gui.GraphElementPropertyActor
- All Implemented Interfaces:
- ContextActor
- public class GraphElementPropertyActor
- extends java.lang.Object
- implements ContextActor
A ContextActor
, that lets a user edit the properties of a
GraphElement
(that must be stored at the context
DrawAtom
).
- Version:
- 1.0
- Author:
- Thomas Wolf
Method Summary |
void |
doMenuAction(java.lang.String cmd,
DrawAtom context,
java.lang.String context_element)
Does the action of a special context menu. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphElementPropertyActor
public GraphElementPropertyActor(DrawAtom drw,
boolean new_visible)
- Constructs a new
GraphElementPropertyActor
using properties set on
the given DrawAtom
.
- Parameters:
drw
- the DrawAtom
where to read properties fromnew_visible
- if true
, the user may add new properties.
GraphElementPropertyActor
public GraphElementPropertyActor(DrawAtom drw)
- Constructs a new
GraphElementPropertyActor
using properties set on
the given DrawAtom
.
- Parameters:
drw
- the DrawAtom
where to read properties from
doMenuAction
public void doMenuAction(java.lang.String cmd,
DrawAtom context,
java.lang.String context_element)
- Does the action of a special context menu.
- Specified by:
doMenuAction
in interface ContextActor
- Parameters:
cmd
- the command string of the MenuItem
selectedcontext
- the DrawAtom
that is the contextcontext_element
- the actual context element name of the given
context DrawAtom
.