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 Details

    • AgendaLineLocation

      public AgendaLineLocation​(LocalTime time, double location, boolean minor)
      Constructs a new agenda line location.
      Parameters:
      time - the time represented by the line
      location - the y-coordinate of the line
      minor - a flag signalling whether this is a minor or a major line
  • Method Details

    • getTime

      public LocalTime 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