games.strategy.engine.data.properties
Class ColorProperty
java.lang.Object
games.strategy.engine.data.properties.AEditableProperty
games.strategy.engine.data.properties.ColorProperty
- All Implemented Interfaces:
- IEditableProperty, java.io.Serializable, java.lang.Comparable
public class ColorProperty
- extends AEditableProperty
User editable property representing a color.
Presents a clickable label with the currently selected color,
through which a color swatch panel is accessable to change the color.
- Version:
- $LastChangedDate: 2007-08-08 11:28:05 -0700 (Wed, 08 Aug 2007) $
- Author:
- Lane O.B. Schwartz
- See Also:
- Serialized Form
|
Constructor Summary |
ColorProperty(java.lang.String name,
int def)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ColorProperty
public ColorProperty(java.lang.String name,
int def)
getValue
public java.lang.Object getValue()
getEditorComponent
public javax.swing.JComponent getEditorComponent()
- Returns:
- component used to edit this property