cz.cmc.tcgui.datadef
Class AttributeTypeFloat
java.lang.Object
cz.cmc.tcgui.datadef.AttributeType
cz.cmc.tcgui.datadef.AttributeTypeNumber
cz.cmc.tcgui.datadef.AttributeTypeFloat
- All Implemented Interfaces:
- Cloneable
- public class AttributeTypeFloat
- extends AttributeTypeNumber
AttributeTypeFloat is used to mark attributes which store float value.
Constructor Summary |
AttributeTypeFloat()
Creates new AttributeTypeFloat with "positive" and "nonzero" flags set to false. |
AttributeTypeFloat(boolean positive,
boolean nonzero)
Creates new AttributeTypeFloat with "positive" and "nonzero" flags set to given values. |
Method Summary |
String |
toString()
Returns String representing this object. |
AttributeTypeFloat
public AttributeTypeFloat()
- Creates new AttributeTypeFloat with "positive" and "nonzero" flags set to false.
AttributeTypeFloat
public AttributeTypeFloat(boolean positive,
boolean nonzero)
- Creates new AttributeTypeFloat with "positive" and "nonzero" flags set to given values.
- Parameters:
positive
- boolean value to which to set the "positive" flag tononzero
- boolean value to which to set the "nonzero" flag to
toString
public String toString()
- Returns String representing this object.
- Overrides:
toString
in class AttributeTypeNumber
- Returns:
- String representation of this object