| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.horstmann.violet.framework.AbstractNode
com.horstmann.violet.framework.RectangularNode
com.horstmann.violet.ActorNode
public class ActorNode
An actor node in a use case diagram.
| Field Summary | 
|---|
| Fields inherited from class com.horstmann.violet.framework.AbstractNode | 
|---|
| SHADOW_GAP | 
| Constructor Summary | |
|---|---|
| ActorNode()Construct an actor node with a default size and name | |
| Method Summary | |
|---|---|
|  java.lang.Object | clone() | 
|  void | draw(java.awt.Graphics2D g2)Draw the node. | 
|  MultiLineString | getName()Gets the name property value. | 
|  void | layout(Graph g,
       java.awt.Graphics2D g2,
       Grid grid)Lays out the node and its children. | 
|  void | setName(MultiLineString newValue)Sets the name property value. | 
| Methods inherited from class com.horstmann.violet.framework.RectangularNode | 
|---|
| contains, getBounds, getConnectionPoint, getShape, setBounds, translate | 
| Methods inherited from class com.horstmann.violet.framework.AbstractNode | 
|---|
| addChild, addChild, addEdge, addNode, getChildren, getParent, removeChild, removeEdge, removeNode, setParent, setPersistenceDelegate | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ActorNode()
| Method Detail | 
|---|
public void layout(Graph g,
                   java.awt.Graphics2D g2,
                   Grid grid)
Node
layout in interface Nodelayout in class RectangularNodeg - the ambient graphg2 - the graphics contextgrid - the grid to snap topublic void draw(java.awt.Graphics2D g2)
Node
draw in interface Nodedraw in class AbstractNodeg2 - the graphics contextpublic void setName(MultiLineString newValue)
newValue - the new actor namepublic MultiLineString getName()
the - actor namepublic java.lang.Object clone()
clone in interface Nodeclone in class RectangularNode| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||