|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.extensions.markup.html.tree.table.ColumnLocation
public class ColumnLocation
This class represents location of a column in tree table.
First attribute of location is alignment. Alignment specifies, whether the column is located on the left side of the table, on the right side, or in the middle. Columns in the middle of the table take all space between columns on the left and columns on the right.
Next two attributes are size and unit:
Nested Class Summary | |
---|---|
static class |
ColumnLocation.Alignment
Alignment of the column. |
static class |
ColumnLocation.Unit
Units. |
Constructor Summary | |
---|---|
ColumnLocation(ColumnLocation.Alignment alignment,
int size,
ColumnLocation.Unit unit)
Constructs the ColumnLocation object. |
Method Summary | |
---|---|
ColumnLocation.Alignment |
getAlignment()
Returns the allignment of this column. |
int |
getSize()
Returns the size of this column. |
ColumnLocation.Unit |
getUnit()
Returns the unit of a column. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColumnLocation(ColumnLocation.Alignment alignment, int size, ColumnLocation.Unit unit)
alignment
- The column alignmentsize
- The column size in expressed in the provided unitunit
- The unit that the size argument is expressed in
IllegalArgumentException
- if the unit does not matche the alignmentMethod Detail |
---|
public ColumnLocation.Alignment getAlignment()
public int getSize()
public ColumnLocation.Unit getUnit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |