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
public abstract class ChartAxisImpl extends AbstractChartAxisAdv implements Serializable
- Author:
- henri
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.keikai.model.impl.AbstractChartAxisAdv
AbstractChartAxisAdv.Crosses, AbstractChartAxisAdv.Orientation, AbstractChartAxisAdv.Position, AbstractChartAxisAdv.TickLabelPosition, AbstractChartAxisAdv.TickMark
-
Nested classes/interfaces inherited from interface io.keikai.model.SChartAxis
SChartAxis.SChartAxisType
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractChartAxisAdv.CrossesgetAxisCrosses()Returns the possible crossing points for the axis.longgetCrossAxisId()Returns the id of the axis cross another axisStringgetFormat()Returns the tick label in excel format; null if no such info.longgetId()DoublegetMax()Returns the maximum value on this axis.DoublegetMin()Returns the minimum value on this axis.AbstractChartAxisAdv.OrientationgetOrientation()Returns the orientation of the values.AbstractChartAxisAdv.PositiongetPosition()Returns the position of this axis.AbstractChartAxisAdv.TickLabelPositiongetTickLabelPosition()Returns the position of the tick label.booleanhasMajorGridline()Returns if this axis has major gridlinebooleanisVisible()Returns if this axis is visiblevoidsetCrossAxisId(long crossAxisId)Sets the id of the axis cross another axisvoidsetFormat(String format)voidsetMax(Double max)voidsetMin(Double min)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.keikai.model.SChartAxis
getType
-
-
-
-
Constructor Detail
-
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 Detail
-
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
public AbstractChartAxisAdv.Position 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
public AbstractChartAxisAdv.Orientation getOrientation()
Description copied from class:AbstractChartAxisAdvReturns the orientation of the values.- Specified by:
getOrientationin classAbstractChartAxisAdv- Returns:
- orientation the orientation of the values
-
getTickLabelPosition
public AbstractChartAxisAdv.TickLabelPosition 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
public Double getMax()
Description copied from interface:SChartAxisReturns the maximum value on this axis.- Specified by:
getMaxin interfaceSChartAxis
-
setMax
public void setMax(Double max)
- Specified by:
setMaxin interfaceSChartAxis
-
getMin
public Double getMin()
Description copied from interface:SChartAxisReturns the minimum value on this axis.- Specified by:
getMinin interfaceSChartAxis
-
setMin
public void setMin(Double min)
- Specified by:
setMinin interfaceSChartAxis
-
getFormat
public String getFormat()
Description copied from interface:SChartAxisReturns the tick label in excel format; null if no such info.- Specified by:
getFormatin interfaceSChartAxis
-
setFormat
public void setFormat(String format)
- 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
public AbstractChartAxisAdv.Crosses 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
-
-