|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.TablePane.Column
public static class TablePane.Column
Represents a table pane column.
Constructor Summary | |
---|---|
TablePane.Column()
|
|
TablePane.Column(int width)
|
|
TablePane.Column(int width,
boolean relative)
|
|
TablePane.Column(int width,
boolean relative,
boolean highlighted)
|
Method Summary | |
---|---|
TablePane |
getTablePane()
Returns the table pane with which this column is associated. |
int |
getWidth()
Returns the column width. |
boolean |
isHighlighted()
Returns the highlighted flag. |
boolean |
isRelative()
Returns the relative flag. |
void |
setHighlighted(boolean highlighted)
Sets the highlighted flag. |
void |
setWidth(int width)
Set the column width. |
void |
setWidth(int width,
boolean relative)
Sets the column width. |
void |
setWidth(String width)
Set the column width. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TablePane.Column()
public TablePane.Column(int width)
public TablePane.Column(int width, boolean relative)
public TablePane.Column(int width, boolean relative, boolean highlighted)
Method Detail |
---|
public TablePane getTablePane()
public int getWidth()
public boolean isRelative()
public void setWidth(int width)
width
- The absolute width of the column.public void setWidth(String width)
width
- The encoded width of the row. If the string ends with the '*'
character, it is treated as a relative value. Otherwise, it is
considered an absolute value.public void setWidth(int width, boolean relative)
width
- The width of the column.relative
- true if the column width is relative, false if it
is fixed.public boolean isHighlighted()
public void setHighlighted(boolean highlighted)
highlighted
- true to set the column as highlighted, false to set
it as not highlighted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |