public abstract class CustomAnnotationModel extends MultipleAxesAnnotationModel
ChartElement.Predicate<T>
Modifier and Type | Field and Description |
---|---|
RadSize |
desiredSize |
children
PROPERTY_CHANGED_MESSAGE, PROPERTY_CHANGING_MESSAGE, trackPropertyChanged, trackPropertyChanging
Constructor and Description |
---|
CustomAnnotationModel()
Creates a new instance of the
CustomAnnotationModel class. |
Modifier and Type | Method and Description |
---|---|
Object |
getFirstValue()
Gets the first value.
|
Object |
getSecondValue()
Gets the second value.
|
boolean |
isUpdated()
States whether the current annotation has been updated.
|
void |
resetState()
Used to reset the update state.
|
void |
setFirstValue(Object value)
Sets the first value.
|
void |
setSecondValue(Object value)
Sets the second value.
|
getFirstAxis, getSecondAxis, setFirstAxis, setSecondAxis
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 RadSize desiredSize
public CustomAnnotationModel()
CustomAnnotationModel
class.public Object getFirstValue()
public void setFirstValue(Object value)
value
- The first value.public Object getSecondValue()
public void setSecondValue(Object value)
value
- The second value.public boolean isUpdated()
ChartAnnotationModel
isUpdated
in class ChartAnnotationModel
true
if the current annotation was updated and false
otherwise.public void resetState()
ChartAnnotationModel
resetState
in class ChartAnnotationModel