Klasse Column<A extends Activity>

java.lang.Object
impl.com.flexganttfx.skin.util.Column<A>
Typparameter:
A - the type of the activities

public final class Column<A extends Activity> extends Object
A column is part of a Cluster. Each cluster can have one or more columns. The column stores / displays a list of non-overlapping activities.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    add(A activity)
    Adds the given activity to the cluster.
    Returns all activities within the column.
    boolean
    hasRoomFor(A activity, Predicate<A> filter)
    Checks whether the column has room for the given activity, meaning whether the time interval occupied by the activity is currently being used or not.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • Column

      public Column()
  • Methodendetails

    • add

      public void add(A activity)
      Adds the given activity to the cluster.
      Parameter:
      activity - the activity to add
    • hasRoomFor

      public boolean hasRoomFor(A activity, Predicate<A> filter)
      Checks whether the column has room for the given activity, meaning whether the time interval occupied by the activity is currently being used or not.
      Parameter:
      activity - the activity to place
      filter - a filter used for determining if the given activity is relevant for conflict checks or not
      Gibt zurück:
      true if the column has enough space for the given activity
    • getActivities

      public List<A> getActivities()
      Returns all activities within the column.
      Gibt zurück:
      the column activities