Package org.jfree.chart.axis
Class CategoryLabelWidthType
java.lang.Object
org.jfree.chart.axis.CategoryLabelWidthType
- All Implemented Interfaces:
Serializable
Represents the width types for a category label.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CategoryLabelWidthTypePercentage of category.private final StringThe name.static final CategoryLabelWidthTypePercentage of range.private static final longFor serialization. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization.- See Also:
-
CATEGORY
Percentage of category. -
RANGE
Percentage of range. -
name
The name.
-
-
Constructor Details
-
CategoryLabelWidthType
Private constructor.- Parameters:
name- the name (nullnot permitted).
-
-
Method Details
-
toString
Returns a string representing the object. -
equals
Returnstrueif this object is equal to the specified object, andfalseotherwise. -
readResolve
Ensures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
ObjectStreamException- if there is a problem.
-