jmathlib.core.graphics.properties
Class RadioProperty

java.lang.Object
  extended by jmathlib.core.graphics.properties.Property
      extended by jmathlib.core.graphics.properties.RadioProperty
Direct Known Subclasses:
BooleanProperty, LineStyleProperty, MarkerProperty, UnitsProperty

public class RadioProperty
extends Property


Field Summary
protected  java.lang.String value
           
protected  java.util.Set valueSet
           
 
Constructor Summary
RadioProperty(PropertySet parent, java.lang.String name, java.lang.String[] values, java.lang.String defaultValue)
           
 
Method Summary
 java.lang.Object get()
           
 java.lang.String getValue()
           
 boolean is(java.lang.String val)
           
 void set(java.lang.Object newValue)
           
private  void setValueInternal(java.lang.String newValue)
           
 java.lang.String toString()
           
 
Methods inherited from class jmathlib.core.graphics.properties.Property
addPropertyListener, getName, update, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

valueSet

protected java.util.Set valueSet

value

protected java.lang.String value
Constructor Detail

RadioProperty

public RadioProperty(PropertySet parent,
                     java.lang.String name,
                     java.lang.String[] values,
                     java.lang.String defaultValue)
Method Detail

get

public java.lang.Object get()
Specified by:
get in class Property

set

public void set(java.lang.Object newValue)
         throws PropertyException
Specified by:
set in class Property
Throws:
PropertyException

getValue

public java.lang.String getValue()

is

public boolean is(java.lang.String val)

setValueInternal

private void setValueInternal(java.lang.String newValue)
                       throws PropertyException
Throws:
PropertyException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

FOOTER

BOTTOM