Package org.jfree.chart.ui
Class LengthAdjustmentType
java.lang.Object
org.jfree.chart.ui.LengthAdjustmentType
- All Implemented Interfaces:
Serializable
Represents the three options for adjusting a length: expand, contract, and
no change.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LengthAdjustmentTypeCONTRACT.static final LengthAdjustmentTypeEXPAND.private StringThe name.static final LengthAdjustmentTypeNO_CHANGE.private static final longFor serialization. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif this object is equal to the specified object, andfalseotherwise.inthashCode()Returns a hash code value for the object.private ObjectEnsures that serialization returns the unique instances.toString()Returns a string representing the object.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization.- See Also:
-
NO_CHANGE
NO_CHANGE. -
EXPAND
EXPAND. -
CONTRACT
CONTRACT. -
name
The name.
-
-
Constructor Details
-
LengthAdjustmentType
Private constructor.- Parameters:
name- the name.
-
-
Method Details
-
toString
Returns a string representing the object. -
equals
Returnstrueif this object is equal to the specified object, andfalseotherwise. -
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.
-