fcmodeler.attributes
Interface VisualAttributeEditor

All Known Implementing Classes:
LineWidthEditor, NodeShapeEditor, DashEditor, ColorEditor, FillEditor, ConnectorEndEditor

public interface VisualAttributeEditor

A visual attribute editor. A VisualAttributeEditor provides a gui component that allows the user to create a specific instance of a VisualAttributeValue for a certain visual attribute. Implementations can either be a Component themselves, or keep a reference to a Component and provide it in the getComponent method.

Since:
JDK1.3
Version:
$Revision: 1.4 $
Author:
Zach Cox

Method Summary
 java.awt.Component getComponent()
          Returns the gui component used to edit a visual attribute value.
 VisualAttributeValue getValue()
          Returns the edited visual attribute value.
 

Method Detail

getComponent

public java.awt.Component getComponent()
Returns the gui component used to edit a visual attribute value.

getValue

public VisualAttributeValue getValue()
Returns the edited visual attribute value.