Package io.keikai.model.impl
Class ChartAxisImpl
java.lang.Object
io.keikai.model.impl.AbstractChartAxisAdv
io.keikai.model.impl.ChartAxisImpl
- All Implemented Interfaces:
SChartAxis,Serializable
- Direct Known Subclasses:
CategoryAxisImpl,DateAxisImpl,ValueAxisImpl
- Author:
- henri
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.keikai.model.impl.AbstractChartAxisAdv
AbstractChartAxisAdv.Crosses, AbstractChartAxisAdv.Orientation, AbstractChartAxisAdv.Position, AbstractChartAxisAdv.TickLabelPosition, AbstractChartAxisAdv.TickMarkNested classes/interfaces inherited from interface io.keikai.model.SChartAxis
SChartAxis.SChartAxisType -
Constructor Summary
ConstructorsConstructorDescriptionChartAxisImpl(long id, AbstractChartAxisAdv.Position position, Double min, Double max, String format, AbstractChartAxisAdv.Orientation orientation, AbstractChartAxisAdv.TickLabelPosition tickLabelPosition, long crossAxisId, AbstractChartAxisAdv.Crosses axisCrosses, boolean majorGridline, boolean visible) -
Method Summary
Modifier and TypeMethodDescriptionReturns the possible crossing points for the axis.longReturns the id of the axis cross another axisReturns the tick label in excel format; null if no such info.longgetId()getMax()Returns the maximum value on this axis.getMin()Returns the minimum value on this axis.Returns the orientation of the values.Returns the position of this axis.Returns the position of the tick label.booleanReturns if this axis has major gridlinebooleanReturns if this axis is visiblevoidsetCrossAxisId(long crossAxisId) Sets the id of the axis cross another axisvoidvoidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.keikai.model.SChartAxis
getType
-
Constructor Details
-
ChartAxisImpl
public ChartAxisImpl(long id, AbstractChartAxisAdv.Position position, Double min, Double max, String format, AbstractChartAxisAdv.Orientation orientation, AbstractChartAxisAdv.TickLabelPosition tickLabelPosition, long crossAxisId, AbstractChartAxisAdv.Crosses axisCrosses, boolean majorGridline, boolean visible)
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceSChartAxis
-
isVisible
public boolean isVisible()Description copied from class:AbstractChartAxisAdvReturns if this axis is visible- Specified by:
isVisiblein classAbstractChartAxisAdv- Returns:
- visible if the axis is visible
-
getPosition
Description copied from class:AbstractChartAxisAdvReturns the position of this axis.- Specified by:
getPositionin classAbstractChartAxisAdv- Returns:
- position the position of this axis
-
hasMajorGridline
public boolean hasMajorGridline()Description copied from class:AbstractChartAxisAdvReturns if this axis has major gridline- Specified by:
hasMajorGridlinein classAbstractChartAxisAdv- Returns:
- majorGridline if the axis has major gridline
-
getOrientation
Description copied from class:AbstractChartAxisAdvReturns the orientation of the values.- Specified by:
getOrientationin classAbstractChartAxisAdv- Returns:
- orientation the orientation of the values
-
getTickLabelPosition
Description copied from class:AbstractChartAxisAdvReturns the position of the tick label.- Specified by:
getTickLabelPositionin classAbstractChartAxisAdv- Returns:
- tickLabelPosition the position of the tick label.
-
getMax
Description copied from interface:SChartAxisReturns the maximum value on this axis.- Specified by:
getMaxin interfaceSChartAxis
-
setMax
- Specified by:
setMaxin interfaceSChartAxis
-
getMin
Description copied from interface:SChartAxisReturns the minimum value on this axis.- Specified by:
getMinin interfaceSChartAxis
-
setMin
- Specified by:
setMinin interfaceSChartAxis
-
getFormat
Description copied from interface:SChartAxisReturns the tick label in excel format; null if no such info.- Specified by:
getFormatin interfaceSChartAxis
-
setFormat
- Specified by:
setFormatin interfaceSChartAxis
-
getCrossAxisId
public long getCrossAxisId()Description copied from class:AbstractChartAxisAdvReturns the id of the axis cross another axis- Specified by:
getCrossAxisIdin classAbstractChartAxisAdv
-
setCrossAxisId
public void setCrossAxisId(long crossAxisId) Description copied from class:AbstractChartAxisAdvSets the id of the axis cross another axis- Specified by:
setCrossAxisIdin classAbstractChartAxisAdv
-
getAxisCrosses
Description copied from class:AbstractChartAxisAdvReturns the possible crossing points for the axis.- Specified by:
getAxisCrossesin classAbstractChartAxisAdv- Returns:
- axisCrosses the possible crossing points for the axis
-