Class AlignGroupsLayoutProvider
java.lang.Object
ca.phon.app.session.editor.view.common.AlignGroupsLayoutProvider
- All Implemented Interfaces:
TierDataLayoutProvider
Layout tier groups so that they are vertically aligned.
Full/flat tiers fill the remainder of the component or
the preferred size (width) of the aligned groups whichever
is larger.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
invalidate
(Container parent, TierDataLayout layout) Invalidate cached layout information.void
layoutContainer
(Container parent, TierDataLayout layout) Layout container.maximumSize
(Container parent, TierDataLayout layout) Calculate maximum size of the container.minimumSize
(Container parent, TierDataLayout layout) Calculate minimum size of the container.preferredSize
(Container parent, TierDataLayout layout) Calculate preferred size of the container.rowRect
(Container parent, TierDataLayout layout, int row) Get rectangle for given row
-
Constructor Details
-
AlignGroupsLayoutProvider
public AlignGroupsLayoutProvider()
-
-
Method Details
-
layoutContainer
Description copied from interface:TierDataLayoutProvider
Layout container.- Specified by:
layoutContainer
in interfaceTierDataLayoutProvider
-
preferredSize
Description copied from interface:TierDataLayoutProvider
Calculate preferred size of the container.- Specified by:
preferredSize
in interfaceTierDataLayoutProvider
-
minimumSize
Description copied from interface:TierDataLayoutProvider
Calculate minimum size of the container.- Specified by:
minimumSize
in interfaceTierDataLayoutProvider
-
maximumSize
Description copied from interface:TierDataLayoutProvider
Calculate maximum size of the container.- Specified by:
maximumSize
in interfaceTierDataLayoutProvider
-
invalidate
Description copied from interface:TierDataLayoutProvider
Invalidate cached layout information.- Specified by:
invalidate
in interfaceTierDataLayoutProvider
-
rowRect
Description copied from interface:TierDataLayoutProvider
Get rectangle for given row- Specified by:
rowRect
in interfaceTierDataLayoutProvider
-