java.lang.Object
java.lang.Enum<AgendaLayout.LayoutStrategy>
com.flexganttfx.model.layout.AgendaLayout.LayoutStrategy
- All Implemented Interfaces:
Serializable
,Comparable<AgendaLayout.LayoutStrategy>
- Enclosing class:
- AgendaLayout
public static enum AgendaLayout.LayoutStrategy extends Enum<AgendaLayout.LayoutStrategy>
An enumerator for the different ways overlapping agenda entries can be
laid out.
- Since:
- 1.0
-
Enum Constant Summary
Enum Constants Enum Constant Description OVERLAPPING
Intersecting agenda entries will be drawn on top of each other but with one of them being indented by a couple of pixels (seeAgendaLayout.setOverlapOffset(double)
).PARALLEL
Intersecting agenda entries will be displayed in different columns within the same day.PARALLEL_OVERLAPPING
Intersecting agenda entries will be displayed in different columns within the same day but overlapping each other. -
Method Summary
Modifier and Type Method Description static AgendaLayout.LayoutStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static AgendaLayout.LayoutStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OVERLAPPING
Intersecting agenda entries will be drawn on top of each other but with one of them being indented by a couple of pixels (seeAgendaLayout.setOverlapOffset(double)
).- Since:
- 1.0
-
PARALLEL
Intersecting agenda entries will be displayed in different columns within the same day.- Since:
- 1.0
-
PARALLEL_OVERLAPPING
Intersecting agenda entries will be displayed in different columns within the same day but overlapping each other.- Since:
- 1.0
-
-
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
-