Package org.jfree.chart.block
Class LengthConstraintType
java.lang.Object
org.jfree.chart.block.LengthConstraintType
- All Implemented Interfaces:
Serializable
Defines tokens used to indicate a length constraint type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LengthConstraintType
FIXED.private String
The name.static final LengthConstraintType
NONE.static final LengthConstraintType
Range.private static final long
For serialization. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if this object is equal to the specified object, andfalse
otherwise.int
hashCode()
Returns a hash code value for the object.private Object
Ensures that serialization returns the unique instances.toString()
Returns a string representing the object.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization.- See Also:
-
NONE
NONE. -
RANGE
Range. -
FIXED
FIXED. -
name
The name.
-
-
Constructor Details
-
LengthConstraintType
Private constructor.- Parameters:
name
- the name.
-
-
Method Details
-
toString
Returns a string representing the object. -
equals
Returnstrue
if this object is equal to the specified object, andfalse
otherwise. -
hashCode
public int hashCode()Returns a hash code value for the object. -
readResolve
Ensures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
ObjectStreamException
- if there is a problem.
-