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 CategoryLabelWidthType
Percentage of category.private final String
The name.static final CategoryLabelWidthType
Percentage of range.private static final long
For 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 (null
not permitted).
-
-
Method Details
-
toString
Returns a string representing the object. -
equals
Returnstrue
if this object is equal to the specified object, andfalse
otherwise. -
readResolve
Ensures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
ObjectStreamException
- if there is a problem.
-