Klasse Placement<A extends Activity>

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

public final class Placement<A extends Activity> extends Object
A data structure to store the placement of an activity. A placement is defined by the column index and the total column count. For example: an activity can be shown in the second column of a Cluster with a total of 5 columns.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    Placement(A activity, int columnIndex, int columnCount)
    Constructs a new placement.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Returns the activity.
    int
    Returns the total number of columns used for the cluster where the activity is being shown.
    int
    Returns the index of the column where the activity will be shown within its cluster.
     

    Von Klasse geerbte Methoden java.lang.Object

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

    • Placement

      public Placement(A activity, int columnIndex, int columnCount)
      Constructs a new placement.
      Parameter:
      activity - the activity to be placed
      columnIndex - the column where the activity will be shown
      columnCount - the total number of columns in the cluster
  • Methodendetails

    • getActivity

      public A getActivity()
      Returns the activity.
      Gibt zurück:
      the activity
    • getColumnIndex

      public int getColumnIndex()
      Returns the index of the column where the activity will be shown within its cluster.
      Gibt zurück:
      the column index
    • getColumnCount

      public int getColumnCount()
      Returns the total number of columns used for the cluster where the activity is being shown.
      Gibt zurück:
      the total number of columns
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object