Module com.flexganttfx.view
Package impl.com.flexganttfx.skin.util
Class AgendaHelper.AgendaLineLocation
java.lang.Object
impl.com.flexganttfx.skin.util.AgendaHelper.AgendaLineLocation
- Enclosing class:
- AgendaHelper
Stores information about an agenda line location.
-
Constructor Summary
ConstructorsConstructorDescriptionAgendaLineLocation
(LocalTime time, double location, boolean minor) Constructs a new agenda line location. -
Method Summary
-
Constructor Details
-
AgendaLineLocation
Constructs a new agenda line location.- Parameters:
time
- the time represented by the linelocation
- the y-coordinate of the lineminor
- a flag signalling whether this is a minor or a major line
-
-
Method Details
-
getTime
Returns the time represented by the line location.- Returns:
- the time shown by the line
-
getLocation
public double getLocation()Returns the y-coordinate of the line.- Returns:
- the location of the line
-
isMinor
public boolean isMinor()Determines if the location represents a major or a minor line.- Returns:
- true if the line is a minor line
-