|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.tatool.core.data.Points
public class Points
Helper Class with getter and setter methods for properties concerning points.
| Field Summary | |
|---|---|
static String |
PROPERTY_MAX_POINTS
Property name used to set a maxPoints value. |
static String |
PROPERTY_MIN_POINTS
Property name used to set a minPoints value. |
static String |
PROPERTY_POINTS
Property name used to set a points value. |
static String |
PROPERTY_TOTAL_MAX_POINTS
Property name used to set a totalMaxPoints value. |
static String |
PROPERTY_TOTAL_MIN_POINTS
Property name used to set a totalMinPoints value. |
static String |
PROPERTY_TOTAL_POINTS
Property name used to set a totalPoints value. |
| Method Summary | |
|---|---|
static IntegerProperty |
getMaxPointsProperty()
Gets the maxPointsProperty as a IntegerProperty. |
static IntegerProperty |
getMinPointsProperty()
Gets the minPointsProperty as a IntegerProperty. |
static IntegerProperty |
getPointsProperty()
Gets the pointsProperty as a IntegerProperty. |
static IntegerProperty |
getTotalMaxPointsProperty()
Gets the totalMaxPointsProperty as a IntegerProperty. |
static IntegerProperty |
getTotalMinPointsProperty()
Gets the totalMinPointsProperty as a IntegerProperty. |
static IntegerProperty |
getTotalPointsProperty()
Gets the totalPointsProperty as a IntegerProperty. |
static void |
setMaxPointsProperty(IntegerProperty maxPointsProperty)
Sets the maxPointsProperty as an IntegerProperty. |
static void |
setMinMaxPoints(Node node,
int minPoints,
int maxPoints)
Helper method to set the min and max points of a element at once. |
static void |
setMinPointsProperty(IntegerProperty minPointsProperty)
Sets the minPointsProperty as an IntegerProperty. |
static void |
setPointsProperty(IntegerProperty pointsProperty)
Sets the pointsProperty as an IntegerProperty. |
static void |
setTotalMaxPointsProperty(IntegerProperty totalMaxPointsProperty)
Sets the totalMaxPointsProperty as an IntegerProperty. |
static void |
setTotalMinPointsProperty(IntegerProperty totalMinPointsProperty)
Sets the totalMinPointsProperty as an IntegerProperty. |
static void |
setTotalPointsProperty(IntegerProperty totalPointsProperty)
Sets the totalPointsProperty as an IntegerProperty. |
static void |
setZeroOneMinMaxPoints(Node node)
Helper method to set the min and max points of a element at once to (0, 1). |
static void |
setZeroOnePoints(Node node,
boolean outcome)
Helper Method which sets the pointsProperty according to a boolean to 0=false or 1=true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_MIN_POINTS
public static final String PROPERTY_POINTS
public static final String PROPERTY_MAX_POINTS
public static final String PROPERTY_TOTAL_MIN_POINTS
public static final String PROPERTY_TOTAL_POINTS
public static final String PROPERTY_TOTAL_MAX_POINTS
| Method Detail |
|---|
public static IntegerProperty getMinPointsProperty()
public static IntegerProperty getPointsProperty()
public static IntegerProperty getMaxPointsProperty()
public static void setMinPointsProperty(IntegerProperty minPointsProperty)
minPointsProperty - the IntegerProperty that will be setpublic static void setPointsProperty(IntegerProperty pointsProperty)
pointsProperty - the IntegerProperty that will be setpublic static void setMaxPointsProperty(IntegerProperty maxPointsProperty)
maxPointsProperty - the IntegerProperty that will be setpublic static IntegerProperty getTotalMinPointsProperty()
public static IntegerProperty getTotalPointsProperty()
public static IntegerProperty getTotalMaxPointsProperty()
public static void setTotalMinPointsProperty(IntegerProperty totalMinPointsProperty)
totalMinPointsProperty - the IntegerProperty that will be setpublic static void setTotalPointsProperty(IntegerProperty totalPointsProperty)
totalPointsProperty - the IntegerProperty that will be setpublic static void setTotalMaxPointsProperty(IntegerProperty totalMaxPointsProperty)
totalMaxPointsProperty - the IntegerProperty that will be set
public static void setMinMaxPoints(Node node,
int minPoints,
int maxPoints)
node - minPoints - maxPoints - public static void setZeroOneMinMaxPoints(Node node)
node -
public static void setZeroOnePoints(Node node,
boolean outcome)
node - outcome -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||