public final class AxisBound
extends java.lang.Object
To learn more, visit the Working with Charts documentation article.
Bound can be specified as a numeric, datetime or a special "auto" value.
The instances of this class are immutable.
| Constructor and Description |
|---|
AxisBound()
Creates a new instance indicating that axis bound should be determined automatically by a word-processing application.
|
AxisBound(java.util.Date datetime)
Creates an axis bound represented as datetime value.
|
AxisBound(double value)
Creates an axis bound represented as a number.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified object is equal in value to the current object.
|
double |
getValue()
Returns numeric value of axis bound.
|
java.util.Date |
getValueAsDate()
Returns value of axis bound represented as datetime.
|
int |
hashCode() |
boolean |
isAuto()
Returns a flag indicating that axis bound should be determined automatically.
|
java.lang.String |
toString()
Returns a user-friendly string that displays the value of this object.
|
public AxisBound()
public AxisBound(double value)
public AxisBound(java.util.Date datetime)
public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.String toString()
toString in class java.lang.Objectpublic final boolean isAuto()
public final double getValue()
public final java.util.Date getValueAsDate()