|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a way for a Creator class to display its information on the canvas, through a single PNode.
Method Summary | |
void |
addShape(edu.umd.cs.piccolo.PNode node)
Adds shape to canvas so you can see it. |
void |
removeShape()
Removes the shape set in 'addShape'. |
void |
setAttrValueInMediator(java.lang.Object obj,
Attribute selectedAttr)
A helper method called to set the shape to the attribute value This will cause the mediator to reload everything on the frame, so we should remove the node. |
void |
switchListener()
Switch to the editor. |
Method Detail |
public void addShape(edu.umd.cs.piccolo.PNode node)
node
- the shape you wish to display.public void removeShape()
public void setAttrValueInMediator(java.lang.Object obj, Attribute selectedAttr)
obj
- the value to set in the attributeselectedAttr
- the attribute to modify.public void switchListener()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |