Interface GraffitiViewComponent

All Known Implementing Classes:
AbstractAttributeComponent, AbstractGraphElementComponent, AttributeComponent, ChartAttributeComponent, CompoundImageAttributeComponent, EdgeComponent, GraphElementComponent, IPKnodeComponent, LabelComponent, NodeComponent, PathwayLinkVisualizationComponent, SimpleLabelComponent

public interface GraffitiViewComponent
DOCUMENT ME!
Author:
schoeffl
  • Method Summary

    Modifier and Type Method Description
    void attributeChanged​(Attribute attr)
    Called when a graphics attribute of the GraphElement represented by this component has changed.
    void createNewShape​(CoordinateSystem coordSys)
    Called to initialise the shape of the NodeComponent correctly.
  • Method Details

    • 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​(CoordinateSystem coordSys) throws ShapeNotFoundException
      Called to initialise the shape of the NodeComponent correctly. Also calls repaint().
      Parameters:
      coordSys - TODO
      Throws:
      ShapeNotFoundException - thrown when the shapeclass couldn't be resolved.