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
public static final class AgendaHelper.AgendaLineLocation extends Object
Stores information about an agenda line location.
-
Constructor Summary
Constructors Constructor Description AgendaLineLocation(LocalTime time, double location, boolean minor)Constructs a new agenda line location. -
Method Summary
Modifier and Type Method Description doublegetLocation()Returns the y-coordinate of the line.LocalTimegetTime()Returns the time represented by the line location.booleanisMinor()Determines if the location represents a major or a minor line.
-
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
-