Class AbstractCartesianAxis<T extends AbstractCartesianAxis<T>>
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.axis.AbstractAxis<T>
io.jmix.chartsflowui.kit.component.model.axis.AbstractCartesianAxis<T>
- Type Parameters:
T
- origin class type
- All Implemented Interfaces:
HasAxisName<T>
,Serializable
public abstract class AbstractCartesianAxis<T extends AbstractCartesianAxis<T>>
extends AbstractAxis<T>
implements HasAxisName<T>
The base class for Cartesian axes.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Position of Cartesian axis.Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.axis.AbstractAxis
AbstractAxis.AxisPointer, AbstractAxis.BoundaryGap
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent
Nested classes/interfaces inherited from interface io.jmix.chartsflowui.kit.component.model.axis.HasAxisName
HasAxisName.NameLocation, HasAxisName.NameTextStyle
-
Field Summary
Modifier and TypeFieldDescriptionprotected Boolean
protected Integer
protected Boolean
protected String
protected Integer
protected HasAxisName.NameLocation
protected Integer
protected HasAxisName.NameTextStyle
protected Integer
protected AbstractCartesianAxis.Position
protected Boolean
Fields inherited from class io.jmix.chartsflowui.kit.component.model.axis.AbstractAxis
animation, animationDelay, animationDelayFunction, animationDelayUpdate, animationDelayUpdateFunction, animationDuration, animationDurationFunction, animationDurationUpdate, animationDurationUpdateFunction, animationEasing, animationEasingUpdate, animationThreshold, axisLabel, axisLine, axisPointer, axisTick, boundaryGap, id, interval, logBase, max, maxFunction, maxInterval, min, minFunction, minInterval, minorSplitLine, minorTick, scale, silent, splitArea, splitLine, splitNumber, triggerEvent, type, z, zLevel
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
getShow()
void
setAlignTicks
(Boolean alignTicks) void
setGridIndex
(Integer gridIndex) void
setInverse
(Boolean inverse) Sets the inversion for the axis or replaces an existing one.void
Sets an axis name or replaces an existing one.void
setNameGap
(Integer nameGap) Sets gap between axis name and axis line or replaces an existing one.void
setNameLocation
(HasAxisName.NameLocation nameLocation) Sets a location of axis name or replaces an existing one.void
setNameRotate
(Integer nameRotate) Sets a rotate degree of axis name or replaces an existing one.void
setNameTextStyle
(HasAxisName.NameTextStyle nameTextStyle) Sets a font text style of axis name or replaces an existing one.void
void
setPosition
(AbstractCartesianAxis.Position position) void
withAlignTicks
(Boolean alignTicks) withGridIndex
(Integer gridIndex) withOffset
(Integer offset) withPosition
(AbstractCartesianAxis.Position position) Methods inherited from class io.jmix.chartsflowui.kit.component.model.axis.AbstractAxis
getAnimation, getAnimationDelay, getAnimationDelayFunction, getAnimationDelayUpdate, getAnimationDelayUpdateFunction, getAnimationDuration, getAnimationDurationFunction, getAnimationDurationUpdate, getAnimationDurationUpdateFunction, getAnimationEasing, getAnimationEasingUpdate, getAnimationThreshold, getAxisLabel, getAxisLine, getAxisPointer, getAxisTick, getBoundaryGap, getId, getInterval, getLogBase, getMax, getMaxFunction, getMaxInterval, getMin, getMinFunction, getMinInterval, getMinorSplitLine, getMinorTick, getScale, getSilent, getSplitArea, getSplitLine, getSplitNumber, getTriggerEvent, getType, getZ, getZLevel, setAnimation, setAnimationDelay, setAnimationDelayFunction, setAnimationDelayFunction, setAnimationDelayUpdate, setAnimationDelayUpdateFunction, setAnimationDelayUpdateFunction, setAnimationDuration, setAnimationDurationFunction, setAnimationDurationFunction, setAnimationDurationUpdate, setAnimationDurationUpdateFunction, setAnimationDurationUpdateFunction, setAnimationEasing, setAnimationEasingUpdate, setAnimationThreshold, setAxisLabel, setAxisLine, setAxisPointer, setAxisTick, setBoundaryGap, setBoundaryGap, setId, setInterval, setLogBase, setMax, setMaxFunction, setMaxFunction, setMaxInterval, setMin, setMinFunction, setMinFunction, setMinInterval, setMinorSplitLine, setMinorTick, setScale, setSilent, setSplitArea, setSplitLine, setSplitNumber, setTriggerEvent, setType, setZ, setZLevel, withAnimation, withAnimationDelay, withAnimationDelayFunction, withAnimationDelayFunction, withAnimationDelayUpdate, withAnimationDelayUpdateFunction, withAnimationDelayUpdateFunction, withAnimationDuration, withAnimationDurationFunction, withAnimationDurationFunction, withAnimationDurationUpdate, withAnimationDurationUpdateFunction, withAnimationDurationUpdateFunction, withAnimationEasing, withAnimationEasingUpdate, withAnimationThreshold, withAxisLabel, withAxisLine, withAxisPointer, withAxisTick, withBoundaryGap, withBoundaryGap, withId, withInterval, withLogBase, withMax, withMaxFunction, withMaxFunction, withMaxInterval, withMin, withMinFunction, withMinFunction, withMinInterval, withMinorSplitLine, withMinorTick, withScale, withSilent, withSplitArea, withSplitLine, withSplitNumber, withTriggerEvent, withType, withZ, withZLevel
Methods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
addChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepth
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.chartsflowui.kit.component.model.axis.HasAxisName
withInverse, withName, withNameGap, withNameLocation, withNameRotate, withNameTextStyle
-
Field Details
-
show
-
gridIndex
-
alignTicks
-
position
-
offset
-
name
-
nameLocation
-
nameTextStyle
-
nameGap
-
nameRotate
-
inverse
-
-
Constructor Details
-
AbstractCartesianAxis
-
-
Method Details
-
getShow
-
setShow
-
getGridIndex
-
setGridIndex
-
getAlignTicks
-
setAlignTicks
-
getPosition
-
setPosition
-
getOffset
-
setOffset
-
getName
- Specified by:
getName
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Returns:
- axis name
-
setName
Description copied from interface:HasAxisName
Sets an axis name or replaces an existing one.- Specified by:
setName
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Parameters:
name
- axis name to set
-
getNameLocation
- Specified by:
getNameLocation
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Returns:
- location of axis name
-
setNameLocation
Description copied from interface:HasAxisName
Sets a location of axis name or replaces an existing one.- Specified by:
setNameLocation
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Parameters:
nameLocation
- location to set
-
getNameTextStyle
- Specified by:
getNameTextStyle
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Returns:
- font text style of axis name
-
setNameTextStyle
Description copied from interface:HasAxisName
Sets a font text style of axis name or replaces an existing one.- Specified by:
setNameTextStyle
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Parameters:
nameTextStyle
- text style to set
-
getNameGap
- Specified by:
getNameGap
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Returns:
- gap between axis name and axis line. The unit is pixels.
-
setNameGap
Description copied from interface:HasAxisName
Sets gap between axis name and axis line or replaces an existing one.- Specified by:
setNameGap
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Parameters:
nameGap
- gap to set in pixels
-
getNameRotate
- Specified by:
getNameRotate
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Returns:
- rotate degree of axis name
-
setNameRotate
Description copied from interface:HasAxisName
Sets a rotate degree of axis name or replaces an existing one.- Specified by:
setNameRotate
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Parameters:
nameRotate
- rotate degree to set
-
getInverse
- Specified by:
getInverse
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Returns:
true
if the axis is inverted,false
otherwise
-
setInverse
Description copied from interface:HasAxisName
Sets the inversion for the axis or replaces an existing one.- Specified by:
setInverse
in interfaceHasAxisName<T extends AbstractCartesianAxis<T>>
- Parameters:
inverse
- whether to inverse axis
-
withShow
-
withGridIndex
-
withAlignTicks
-
withPosition
-
withOffset
-