public abstract class SingleAxisAnnotationModel extends ChartAnnotationModel
ChartAnnotationModel
and serves as base for all annotations that use a single
axis.ChartElement.Predicate<T>
children
PROPERTY_CHANGED_MESSAGE, PROPERTY_CHANGING_MESSAGE, trackPropertyChanged, trackPropertyChanging
Constructor and Description |
---|
SingleAxisAnnotationModel()
Initializes a new instance of the
SingleAxisAnnotationModel class. |
Modifier and Type | Method and Description |
---|---|
AxisModel |
getAxis()
Gets the current axis instance.
|
boolean |
isUpdated()
States whether the current annotation has been updated.
|
void |
setAxis(AxisModel value)
Sets the current axis instance.
|
resetState
canAddChild, enumDescendants, enumDescendants, enumDescendants, findAncestor, findDescendant, getPresenter, isAncestorOf, setPresenter
applyLayoutRounding, arrange, arrange, chartArea, clearValue, collectionIndex, getLayoutSlot, getNodeState, getParent, index, invalidate, isTreeLoaded, isVisible, load, setIsVisible, setParent, setValue
getTypedValue, getValue, isLocalValue
public SingleAxisAnnotationModel()
SingleAxisAnnotationModel
class.public AxisModel getAxis()
public void setAxis(AxisModel value)
value
- the new axis.public boolean isUpdated()
ChartAnnotationModel
isUpdated
in class ChartAnnotationModel
true
if the current annotation was updated and false
otherwise.