Class TierDataConstraint
java.lang.Object
ca.phon.app.session.editor.view.common.TierDataConstraint
- All Implemented Interfaces:
Comparable<TierDataConstraint>
Contraint object used in TierDataLayouts.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Flat tiers - width is max(prefSize, parentSize)static final int
Flat tiers - width is prefSize of componentstatic final int
Column index for components that extend across the panelstatic final int
Column index for the initial group columnstatic final int
Column index for tier labels -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
void
setColumnIndex
(int columnIndex) void
setRowIndex
(int rowIndex)
-
Field Details
-
TIER_LABEL_COLUMN
public static final int TIER_LABEL_COLUMNColumn index for tier labels- See Also:
-
GROUP_START_COLUMN
public static final int GROUP_START_COLUMNColumn index for the initial group column- See Also:
-
FLAT_TIER_COLUMN
public static final int FLAT_TIER_COLUMNFlat tiers - width is max(prefSize, parentSize)- See Also:
-
FLAT_TIER_PREF_COLUMN
public static final int FLAT_TIER_PREF_COLUMNFlat tiers - width is prefSize of component- See Also:
-
FULL_TIER_COLUMN
public static final int FULL_TIER_COLUMNColumn 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
- Specified by:
compareTo
in interfaceComparable<TierDataConstraint>
-