|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jolene.dom.GridColumn
public final class GridColumn
A grid column object. This is used to define the columns that the grid will display. The columns define the header text, width, align and cell object. The cell object can be any of the HTMLElement objects. Cell objects render the object in the grid cell instead of just text. Commonly this would be used to display checkboxes in the grid.
Constructor Summary | |
---|---|
GridColumn()
Default constructor. |
|
GridColumn(java.lang.String header,
java.lang.String width)
Constructs a GridColumn using a header string and a width string. |
Method Summary | |
---|---|
java.lang.String |
getAlign()
Return the align for the column. |
HTMLElement |
getCellObject()
Gets the CellObject for the column. |
java.lang.String |
getHeader()
Returns the column header string. |
java.lang.String |
getWidth()
Returns the column width. |
void |
setAlign(java.lang.String align)
Sets the column align. |
void |
setCellObject(HTMLElement cellObject)
Sets the CellObject for the column. |
void |
setHeader(java.lang.String header)
Sets the column header. |
void |
setWidth(java.lang.String width)
Sets the column width. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridColumn()
public GridColumn(java.lang.String header, java.lang.String width)
header
- header string for the column.width
- width of the column.Method Detail |
---|
public java.lang.String getAlign()
public HTMLElement getCellObject()
public java.lang.String getHeader()
public java.lang.String getWidth()
public void setAlign(java.lang.String align)
align
- Alignment of the column.public void setHeader(java.lang.String header)
header
- Header of the column.public void setCellObject(HTMLElement cellObject)
cellObject
- Any HTMLElement object.public void setWidth(java.lang.String width)
width
- Width of the column.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |