jmathlib.core.graphics.properties
Class ColorProperty
java.lang.Object
jmathlib.core.graphics.properties.Property
jmathlib.core.graphics.properties.ColorProperty
public class ColorProperty
- extends Property
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ColorProperty
public ColorProperty(PropertySet parent,
java.lang.String name,
java.awt.Color color)
set
public void set(java.lang.Object value)
throws PropertyException
- Specified by:
set in class Property
- Throws:
PropertyException
get
public java.lang.Object get()
- Specified by:
get in class Property
getColor
public java.awt.Color getColor()
setColor
public void setColor(java.awt.Color c)
setColor
public void setColor(java.lang.String s)
setColor
public void setColor(char c)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object