public class NrOfResources extends PropertyInteger
| Constructor and Description |
|---|
NrOfResources() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
java.lang.Integer |
getDefaultValue()
We want to have a default value for a property s.t., we can reason on it
|
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, getGUIProperty, marshall, unmarshallequals, getDependencies, hashCode, monotonicity, toStringpublic java.lang.Long getID()
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface Property<java.lang.Integer>compare in class HighLevelProperty<java.lang.Integer>o1 - a value for a propertyo2 - another value for a propertypublic java.lang.Integer getDefaultValue()
Propertypublic double getValueDouble(java.lang.Object value)
getValueDouble in interface Property<java.lang.Integer>getValueDouble in class PropertyIntegervalue - The value one wants to have a single double ofpublic javax.swing.ImageIcon getIcon()
getIcon in interface Property<java.lang.Integer>getIcon in class HighLevelProperty<java.lang.Integer>public boolean higherBetter()
higherBetter in interface Property<java.lang.Integer>higherBetter in class HighLevelProperty<java.lang.Integer>public boolean hasOrdering()
hasOrdering in interface Property<java.lang.Integer>hasOrdering in class HighLevelProperty<java.lang.Integer>public java.lang.String getName()
public java.util.Set<Constructs> getMeaningfulTypeConstructs()
getMeaningfulTypeConstructs in interface Property<java.lang.Integer>getMeaningfulTypeConstructs in class HighLevelProperty<java.lang.Integer>