org.graffiti.plugin.view
Interface GraffitiViewComponent

All Known Implementing Classes:
AbstractAttributeComponent, AttributeComponent, GraphElementComponent

public interface GraffitiViewComponent

DOCUMENT ME!

Author:
schoeffl

Method Summary
 void attributeChanged(Attribute attr)
          Called when a graphics attribute of the GraphElement represented by this component has changed.
 void createNewShape()
          Called to initialise the shape of the NodeComponent correctly.
 

Method Detail

attributeChanged

void attributeChanged(Attribute attr)
                      throws ShapeNotFoundException
Called when a graphics attribute of the GraphElement represented by this component has changed.

Parameters:
attr - the attribute that has triggered the event.
Throws:
ShapeNotFoundException

createNewShape

void createNewShape()
                    throws ShapeNotFoundException
Called to initialise the shape of the NodeComponent correctly. Also calls repaint().

Throws:
ShapeNotFoundException - thrown when the shapeclass couldn't be resolved.


Generated at 2012-05-30 11:00:36 PM CEST