Class TierDataConstraint

java.lang.Object
ca.phon.app.session.editor.view.common.TierDataConstraint
All Implemented Interfaces:
Comparable<TierDataConstraint>

public class TierDataConstraint extends Object implements Comparable<TierDataConstraint>
Contraint object used in TierDataLayouts.
  • Field Details

    • TIER_LABEL_COLUMN

      public static final int TIER_LABEL_COLUMN
      Column index for tier labels
      See Also:
    • GROUP_START_COLUMN

      public static final int GROUP_START_COLUMN
      Column index for the initial group column
      See Also:
    • FLAT_TIER_COLUMN

      public static final int FLAT_TIER_COLUMN
      Flat tiers - width is max(prefSize, parentSize)
      See Also:
    • FLAT_TIER_PREF_COLUMN

      public static final int FLAT_TIER_PREF_COLUMN
      Flat tiers - width is prefSize of component
      See Also:
    • FULL_TIER_COLUMN

      public static final int FULL_TIER_COLUMN
      Column index for components that extend across the panel
      See Also:
  • Constructor Details

    • TierDataConstraint

      public TierDataConstraint()
    • TierDataConstraint

      public TierDataConstraint(int columnIndex, int rowIndex)
  • Method Details

    • getColumnIndex

      public int getColumnIndex()
    • setColumnIndex

      public void setColumnIndex(int columnIndex)
    • getRowIndex

      public int getRowIndex()
    • setRowIndex

      public void setRowIndex(int rowIndex)
    • compareTo

      public int compareTo(TierDataConstraint o)
      Specified by:
      compareTo in interface Comparable<TierDataConstraint>