|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttablelayout.TableVec
tablelayout.TableCol
public class TableCol
Controls the colums of the table
TableLayout
Field Summary |
---|
Fields inherited from class tablelayout.TableVec |
---|
parent, size, vec |
Constructor Summary | |
---|---|
TableCol(TableLayout tw)
|
Method Summary | |
---|---|
int |
getPreferredSize()
Returns the preferred size of the column. |
int |
layoutSize(boolean do_actual)
Calculates the size of the layout |
void |
minimize()
Changes the column to its minimum size. |
String |
toString()
Returns the String representation |
int |
totalSize()
Returns the total (minimum) size of the column |
Methods inherited from class tablelayout.TableVec |
---|
adjust, computeOffsets, elementAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TableCol(TableLayout tw)
tw
- the corresponding TableLayout managerMethod Detail |
---|
public void minimize()
minimize
in class TableVec
public int totalSize()
totalSize
in class TableVec
layoutSize(boolean)
public int getPreferredSize()
getPreferredSize
in class TableVec
layoutSize(boolean)
public int layoutSize(boolean do_actual)
layoutSize
in class TableVec
do_actual
- actual size or the preferred sizepublic String toString()
toString
in class TableVec
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |