flatscape.editor
Class ColorEditor
java.lang.Object
|
+--flatscape.editor.Editor
|
+--flatscape.editor.ColorEditor
- All Implemented Interfaces:
- java.awt.event.ActionListener, Configurable, java.util.EventListener
- public class ColorEditor
- extends Editor
- implements java.awt.event.ActionListener
Color Editor
Copyright (c) 2001 Rutgers, The State University of New Jersey
- Since:
- manifold %Version%
- Version:
- %Version%, %Time%
|
Field Summary |
protected java.awt.Color |
color_
|
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
java.lang.Object |
config(java.lang.Object parent,
org.w3c.dom.Element config)
Loads the configuration |
java.lang.Object |
getPropertyValue()
|
void |
setPropertyValue(java.lang.Object value)
Sets the value of the property |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
color_
protected java.awt.Color color_
ColorEditor
public ColorEditor()
config
public java.lang.Object config(java.lang.Object parent,
org.w3c.dom.Element config)
throws java.lang.Exception
- Loads the configuration
- Specified by:
config in interface Configurable- Overrides:
config in class Editor
- Parameters:
parent - The argument passed into the FConfig.getList methodconfig - The DOM element representing the XML element that
loaded this class.
- Returns:
- The configured class, usually returns this.
- Throws:
java.lang.Exception - Thrown if there is any problem configuring this class.
getPropertyValue
public java.lang.Object getPropertyValue()
- Specified by:
getPropertyValue in class Editor
- Returns:
- the value of the property
setPropertyValue
public void setPropertyValue(java.lang.Object value)
- Sets the value of the property
- Specified by:
setPropertyValue in class Editor
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
Copyright (c) 2003 Rutgers, The State University of New Jersey