com.raelity.jvi
Class Option
java.lang.Object
com.raelity.jvi.Option
- Direct Known Subclasses:
- BooleanOption, IntegerOption, Option.ColorOption, StringOption
public abstract class Option
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
displayName
protected String displayName
stringValue
protected String stringValue
desc
protected String desc
defaultValue
protected String defaultValue
fExpert
protected boolean fExpert
fHidden
protected boolean fHidden
tags
protected String[] tags
fPropogate
protected boolean fPropogate
Option
public Option(String key,
String defaultValue)
Option
public Option(String key,
String defaultValue,
boolean doInit)
initialize
protected void initialize()
setValue
public abstract void setValue(String value)
getValue
public String getValue()
getName
public String getName()
getDefault
public String getDefault()
getDesc
public String getDesc()
getDisplayName
public String getDisplayName()
isExpert
public boolean isExpert()
isHidden
public boolean isHidden()
setHidden
public void setHidden(boolean f)
setExpert
public void setExpert(boolean f)
getTags
public String[] getTags()
propogate
protected void propogate()
getInteger
public int getInteger()
getBoolean
public boolean getBoolean()
getString
public String getString()
getColor
public Color getColor()
validate
public void validate(int val)
throws PropertyVetoException
- Throws:
PropertyVetoException
validate
public void validate(boolean val)
throws PropertyVetoException
- Throws:
PropertyVetoException
validate
public void validate(String val)
throws PropertyVetoException
- Throws:
PropertyVetoException
validate
public void validate(Color val)
throws PropertyVetoException
- Throws:
PropertyVetoException
validate
public void validate(Object val)
throws PropertyVetoException
- Throws:
PropertyVetoException