public class InitialDataValue extends PropertyString
Constructor and Description |
---|
InitialDataValue() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
java.lang.String |
getDefaultValue()
We want to have a default value for a property s.t., we can reason on it
|
java.util.Collection<java.lang.Class<? extends Property<?>>> |
getDependencies() |
GUIProperty<java.lang.String> |
getGUIProperty() |
javax.swing.ImageIcon |
getIcon() |
java.lang.Long |
getID() |
java.util.Set<Constructs> |
getMeaningfulTypeConstructs() |
java.lang.String |
getName() |
double |
getValueDouble(java.lang.Object value) |
boolean |
hasOrdering() |
boolean |
higherBetter() |
clone, marshall, unmarshall
equals, hashCode, monotonicity, toString
public java.lang.Long getID()
public java.lang.String getName()
public java.util.Collection<java.lang.Class<? extends Property<?>>> getDependencies()
getDependencies
in interface Property<java.lang.String>
getDependencies
in class HighLevelProperty<java.lang.String>
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface Property<java.lang.String>
compare
in class HighLevelProperty<java.lang.String>
o1
- a value for a propertyo2
- another value for a propertypublic java.lang.String getDefaultValue()
Property
public double getValueDouble(java.lang.Object value)
getValueDouble
in interface Property<java.lang.String>
getValueDouble
in class HighLevelProperty<java.lang.String>
value
- The value one wants to have a single double ofpublic javax.swing.ImageIcon getIcon()
getIcon
in interface Property<java.lang.String>
getIcon
in class HighLevelProperty<java.lang.String>
public boolean hasOrdering()
hasOrdering
in interface Property<java.lang.String>
hasOrdering
in class HighLevelProperty<java.lang.String>
public boolean higherBetter()
higherBetter
in interface Property<java.lang.String>
higherBetter
in class HighLevelProperty<java.lang.String>
public java.util.Set<Constructs> getMeaningfulTypeConstructs()
getMeaningfulTypeConstructs
in interface Property<java.lang.String>
getMeaningfulTypeConstructs
in class HighLevelProperty<java.lang.String>
public GUIProperty<java.lang.String> getGUIProperty() throws java.lang.InstantiationException, java.lang.IllegalAccessException
getGUIProperty
in interface Property<java.lang.String>
getGUIProperty
in class PropertyString
java.lang.InstantiationException
java.lang.IllegalAccessException