fcmodeler.attributes
Class FillEditor

java.lang.Object
  |
  +--fcmodeler.attributes.FillEditor
All Implemented Interfaces:
VisualAttributeEditor

public final class FillEditor
extends java.lang.Object
implements VisualAttributeEditor

An editor for the fill visual attribute. FillEditor uses a javax.swing.JColorChooser as its gui component and adds a ColorFactoryPanel to the JColorChooser.

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

Constructor Summary
FillEditor()
          Creates a new FillEditor.
 
Method Summary
 java.awt.Component getComponent()
          Returns the gui component used to edit the fill visual attribute.
 VisualAttributeValue getValue()
          Returns the edited fill value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FillEditor

public FillEditor()
Creates a new FillEditor.
Method Detail

getComponent

public java.awt.Component getComponent()
Returns the gui component used to edit the fill visual attribute. The returned component is guaranteed to be a javax.swing.JColorChooser.
Specified by:
getComponent in interface VisualAttributeEditor
Returns:
the gui component.

getValue

public VisualAttributeValue getValue()
Returns the edited fill value. The returned value is guaranteed to be of type FillValue.
Specified by:
getValue in interface VisualAttributeEditor
Returns:
the edited fill value.