|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.salespointframework.web.html.AbstractExtraColumn<T>
public abstract class AbstractExtraColumn<T extends SpItem>
This class could be used to render a extra column to a View in HTML representation.
| Field Summary | |
|---|---|
private java.lang.String |
styleClass
Style-class of the cells. |
private java.lang.String |
title
Title of the extra column. |
| Constructor Summary | |
|---|---|
AbstractExtraColumn(java.lang.String title,
java.lang.String styleClass)
Adds an extra column to a table. |
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getCellContent(T identifier)
Abstract Method to creating special cell-content by the extra column. |
java.lang.String |
getHeaderCell()
Creating the html representation of the header-cell. |
java.lang.String |
getStyleClass()
Gives the Style-class of the cells. |
boolean |
hasStyleClass()
Gives the state by the Style-class of the cells. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String title
private java.lang.String styleClass
| Constructor Detail |
|---|
public AbstractExtraColumn(java.lang.String title,
java.lang.String styleClass)
title - Takes a title to header row.styleClass - Takes the content to the column cells.pivotColumn - Number of the pivot-column. It gives the content by the pivot-cell as 'identifier' to create the cell-content.| Method Detail |
|---|
public java.lang.String getStyleClass()
public boolean hasStyleClass()
public java.lang.String getHeaderCell()
public abstract java.lang.String getCellContent(T identifier)
identifier - It is given by the table render-class. It contains the object by the pivot-cell.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||