- All Implemented Interfaces:
Serializable
,Comparable<GanttChartBase.ScrollBarType>
- Enclosing class:
- GanttChartBase<R extends Row<?,?,?>>
public static enum GanttChartBase.ScrollBarType extends Enum<GanttChartBase.ScrollBarType>
Defines the type of scrollbar to be used for scrolling horizontally.
- Since:
- 11.12.3
- See Also:
GanttChartBase.scrollBarTypeProperty()
-
Enum Constant Summary
Enum Constants Enum Constant Description FIXED_HORIZON
Use the same scrollbar that is being used for the standard JavaFX controls such as ListView, TableView, or TreeView.INFINITE
Use a specialized scrollbar for infinite scrolling into the future and into the past.NONE
Do not display a scrollbar at all. -
Method Summary
Modifier and Type Method Description static GanttChartBase.ScrollBarType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GanttChartBase.ScrollBarType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
Do not display a scrollbar at all. -
FIXED_HORIZON
Use the same scrollbar that is being used for the standard JavaFX controls such as ListView, TableView, or TreeView. The bounds of the scrollbar will be defined by the horizon start and end times defined inside the timeline model. -
INFINITE
Use a specialized scrollbar for infinite scrolling into the future and into the past.- See Also:
GanttChartBase.scrollBarTypeProperty()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-