public static final class AgendaHelper.AgendaLineLocation extends Object
Constructor and Description |
---|
AgendaLineLocation(LocalTime time,
double location,
boolean minor)
Constructs a new agenda line location.
|
Modifier and Type | Method and Description |
---|---|
double |
getLocation()
Returns the y-coordinate of the line.
|
LocalTime |
getTime()
Returns the time represented by the line location.
|
boolean |
isMinor()
Determines if the location represents a major or a minor line.
|
public AgendaLineLocation(LocalTime time, double location, boolean minor)
time
- the time represented by the linelocation
- the y-coordinate of the lineminor
- a flag signalling whether this is a minor or a major linepublic LocalTime getTime()
public double getLocation()
public boolean isMinor()
Copyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.