|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.swing.components.treetable.resize.ColumnSizeConstraint
org.openbp.swing.components.treetable.resize.FullVisibleConstraint
public class FullVisibleConstraint
Constrain to set column that should be fully visible.
| Field Summary |
|---|
| Fields inherited from class org.openbp.swing.components.treetable.resize.ColumnSizeConstraint |
|---|
absoluteMinSize, columnSizes, MAX, MIN, minSizeOfColumns, PREFERRED, treeColumnMaxWidth |
| Constructor Summary | |
|---|---|
FullVisibleConstraint(boolean[] visible)
Constructor. |
|
| Method Summary | |
|---|---|
void |
calculateColumnSizes(JTreeTable treetable)
Calculates the size of each column in the tree table. |
| Methods inherited from class org.openbp.swing.components.treetable.resize.ColumnSizeConstraint |
|---|
addMaxSizeForColumn, adjustMaximalWidthOfColumn, adjustPreferredToWidth, determineMaxColumnWidth, determineMaxTreeColumnWidth, getAbsoluteMinimum, getMaxWidthOfColumn, getMinWidthOfColumn, getPreferredWidthOfColumn, isRecalculateNeeded, setAboluteMinimun, setColumnWidth, setMinimumOfColumn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FullVisibleConstraint(boolean[] visible)
visible - Array with flag, whether to show the column full or nor| Method Detail |
|---|
public void calculateColumnSizes(JTreeTable treetable)
ColumnSizeConstraintColumnSizeConstraint.getMinWidthOfColumn(int),
ColumnSizeConstraint.getMaxWidthOfColumn(int) and ColumnSizeConstraint.getPreferredWidthOfColumn(int).
The sizes don't change until the method is re-executed.
calculateColumnSizes in class ColumnSizeConstrainttreetable - The treetable whose columns are to be resized
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||