Package io.keikai.model.impl
Class TimelineImpl
java.lang.Object
io.keikai.model.impl.TimelineImpl
- All Implemented Interfaces:
STimeline,Serializable
Default implementation of
STimeline.- Since:
- 7.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.keikai.model.STimeline
STimeline.TimeLevel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClears the date filter.Returns the anchor position of this timeline on the sheet.Returns the display caption.intReturns the index of the pivot field (date field) this timeline controls.Returns the end date of the current filter, or null if no filter.Returns the start date of the current filter, or null if no filter.getLevel()Returns the current time level (granularity).getName()Returns the unique name of this timeline.Returns the pivot table this timeline is connected to.voidsetAnchor(ViewAnchor anchor) voidsetCaption(String caption) voidsetFieldIndex(int fieldIndex) voidSets the date filter range.voidsetLevel(STimeline.TimeLevel level) Sets the time level (granularity).voidsetPivotTable(SPivotTable pivotTable)
-
Constructor Details
-
TimelineImpl
-
-
Method Details
-
getName
Description copied from interface:STimelineReturns the unique name of this timeline. -
getCaption
Description copied from interface:STimelineReturns the display caption.- Specified by:
getCaptionin interfaceSTimeline- Returns:
- the caption
-
setCaption
-
getPivotTable
Description copied from interface:STimelineReturns the pivot table this timeline is connected to.- Specified by:
getPivotTablein interfaceSTimeline- Returns:
- the associated pivot table
-
setPivotTable
-
getFieldIndex
public int getFieldIndex()Description copied from interface:STimelineReturns the index of the pivot field (date field) this timeline controls.- Specified by:
getFieldIndexin interfaceSTimeline- Returns:
- the field index
-
setFieldIndex
public void setFieldIndex(int fieldIndex) -
getAnchor
Description copied from interface:STimelineReturns the anchor position of this timeline on the sheet. -
setAnchor
-
getLevel
Description copied from interface:STimelineReturns the current time level (granularity). -
setLevel
Description copied from interface:STimelineSets the time level (granularity). -
getFilterStart
Description copied from interface:STimelineReturns the start date of the current filter, or null if no filter.- Specified by:
getFilterStartin interfaceSTimeline- Returns:
- the filter start date
-
getFilterEnd
Description copied from interface:STimelineReturns the end date of the current filter, or null if no filter.- Specified by:
getFilterEndin interfaceSTimeline- Returns:
- the filter end date
-
setFilter
Description copied from interface:STimelineSets the date filter range. -
clearFilter
public void clearFilter()Description copied from interface:STimelineClears the date filter.- Specified by:
clearFilterin interfaceSTimeline
-