public class AxisLabelModel extends ContentNode
AxisModel
in a chart.desiredSize
PROPERTY_CHANGED_MESSAGE, PROPERTY_CHANGING_MESSAGE, trackPropertyChanged, trackPropertyChanging
Constructor and Description |
---|
AxisLabelModel(double normalizedPosition,
RadPoint transformOffset,
RadSize untransformedDesiredSize)
Creates an instance of the
AxisLabelModel class with specified parameters. |
Modifier and Type | Method and Description |
---|---|
LabelSizeInfo |
getLabelSizeInfo() |
double |
normalizedPosition()
Gets the normalized position of the
AxisLabelModel . |
RadPoint |
transformOffset()
Gets the transform offset.
|
RadSize |
untransformedDesiredSize()
Gets the untransformed desired size of the current label.
|
void |
update(LabelSizeInfo info)
Updates the current
AxisLabelModel
with the information provided in the specified LabelSizeInfo argument. |
getContent, setContent
applyLayoutRounding, arrange, arrange, chartArea, clearValue, collectionIndex, getLayoutSlot, getNodeState, getParent, getPresenter, index, invalidate, isTreeLoaded, isVisible, load, setIsVisible, setParent, setValue
getTypedValue, getValue, isLocalValue
public AxisLabelModel(double normalizedPosition, RadPoint transformOffset, RadSize untransformedDesiredSize)
AxisLabelModel
class with specified parameters.normalizedPosition
- the normalized label position on the axis.transformOffset
- the transform offset.untransformedDesiredSize
- the original desired size of the label.public void update(LabelSizeInfo info)
AxisLabelModel
with the information provided in the specified LabelSizeInfo
argument.info
- an instance of the LabelSizeInfo
class containing the update information.public LabelSizeInfo getLabelSizeInfo()
public double normalizedPosition()
AxisLabelModel
.public RadPoint transformOffset()
RadPoint
class holding the transform offset.