|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.salespointframework.web.html.viewrepresentations.DefaultHtmlViewRepresentation
org.salespointframework.web.html.viewrepresentations.NativeHtmlCssTable
public class NativeHtmlCssTable
Declares a table in devisions and CSS.
It's using by View.
| Field Summary | |
|---|---|
private int |
rowCounter
|
private GenericHtmlTag |
tag
|
private boolean |
zebraStyle
|
| Fields inherited from class org.salespointframework.web.html.viewrepresentations.DefaultHtmlViewRepresentation |
|---|
summary |
| Constructor Summary | |
|---|---|
NativeHtmlCssTable(boolean zebraStyle)
Default is 'false'. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCaption(java.lang.String style,
java.lang.String styleName)
Return String: <div style="display:table-caption;" class="table-caption" ...> |
java.lang.String |
getCaptioneEnd()
Return String: </div> |
java.lang.String |
getCellEnd()
Return String: </div> |
java.lang.String |
getCellStart(java.lang.String styleName)
Return String: <div style="display:table-cell;" class="table-cell" ...> |
java.lang.String |
getCol(java.lang.String width,
java.lang.String span)
Return String: <div style="display:table-column;" class="table-column" ...> |
java.lang.String |
getColEnd()
Return String: </div> |
java.lang.String |
getColGroup(java.lang.String width,
java.lang.String span)
Return String: <div style="display:table-columns-group;" class="table-columns-group" ...> |
java.lang.String |
getColGroupEnd()
Return String: </div> |
java.lang.String |
getColXHtml(java.lang.String width,
java.lang.String span)
Return String: <div style="display:table-columns-group;" class="table-columns-group" ... /> |
java.lang.String |
getEnd()
Return String: </div> |
java.lang.String |
getHeadEnd()
Return String: </div> |
java.lang.String |
getHeadStart(java.lang.String styleName)
Return String: <div style="display:table-cell;" class="table-cell" ...> |
java.lang.String |
getRowEnd()
Return String: </div> |
java.lang.String |
getRowStart()
Return String: <div style="display:table-row;" class="table-row ..." ...> |
java.lang.String |
getStart(java.lang.String id,
java.lang.String styleName,
java.lang.String style)
Return String: <div style="display:table;" class="table" ...> |
java.lang.String |
getTBody(java.lang.String style,
java.lang.String styleName)
Return String: <div style="display:table-row-group;" class="table-row-group" ...> |
java.lang.String |
getTBodyEnd()
Return String: </div> |
java.lang.String |
getTFoot(java.lang.String style,
java.lang.String styleName)
Return String: <div style="display:table-footer-group;" class="table-footer-group" ...> |
java.lang.String |
getTFootEnd()
Return String: </div> |
java.lang.String |
getTHead(java.lang.String style,
java.lang.String styleName)
Return String: <div style="display:table-header-group;" class="table-header-group" ...> |
java.lang.String |
getTHeadEnd()
Return String: </div> |
boolean |
hasBody()
A CSS-table has a body. |
boolean |
hasCaption()
A CSS-table has a caption. |
boolean |
hasFooter()
A CSS-table has a footer. |
boolean |
hasHeader()
A CSS-table has a header. |
| Methods inherited from class org.salespointframework.web.html.viewrepresentations.DefaultHtmlViewRepresentation |
|---|
hasSummary, setSummary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int rowCounter
private boolean zebraStyle
private GenericHtmlTag tag
| Constructor Detail |
|---|
public NativeHtmlCssTable(boolean zebraStyle)
zebraStyle - | Method Detail |
|---|
public boolean hasHeader()
hasHeader in interface HtmlViewRepresentationhasHeader in class DefaultHtmlViewRepresentationpublic boolean hasBody()
hasBody in interface HtmlViewRepresentationhasBody in class DefaultHtmlViewRepresentationpublic boolean hasFooter()
hasFooter in interface HtmlViewRepresentationhasFooter in class DefaultHtmlViewRepresentationpublic boolean hasCaption()
hasCaption in interface HtmlViewRepresentationhasCaption in class DefaultHtmlViewRepresentation
public java.lang.String getStart(java.lang.String id,
java.lang.String styleName,
java.lang.String style)
String: <div style="display:table;" class="table" ...>
getStart in interface HtmlViewRepresentationgetStart in class DefaultHtmlViewRepresentationid - The value of the id-attribute of the rendered tag. Be sure it's unique for the whole HTML document.styleName - The value of the class-attribute of the rendered tag.style - The value of the style-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getEnd()
String: </div>
getEnd in interface HtmlViewRepresentationgetEnd in class DefaultHtmlViewRepresentationString of HTML-codepublic java.lang.String getHeadStart(java.lang.String styleName)
String: <div style="display:table-cell;" class="table-cell" ...>
getHeadStart in interface HtmlViewRepresentationgetHeadStart in class DefaultHtmlViewRepresentationstyleName - The value of the class-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getHeadEnd()
String: </div>
getHeadEnd in interface HtmlViewRepresentationgetHeadEnd in class DefaultHtmlViewRepresentationString of HTML-codepublic java.lang.String getRowStart()
String: <div style="display:table-row;" class="table-row ..." ...>
getRowStart in interface HtmlViewRepresentationgetRowStart in class DefaultHtmlViewRepresentationString of HTML-codepublic java.lang.String getRowEnd()
String: </div>
getRowEnd in interface HtmlViewRepresentationgetRowEnd in class DefaultHtmlViewRepresentationString of HTML-codepublic java.lang.String getCellStart(java.lang.String styleName)
String: <div style="display:table-cell;" class="table-cell" ...>
getCellStart in interface HtmlViewRepresentationgetCellStart in class DefaultHtmlViewRepresentationstyleName - The value of the class-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getCellEnd()
String: </div>
getCellEnd in interface HtmlViewRepresentationgetCellEnd in class DefaultHtmlViewRepresentationString of HTML-code
public java.lang.String getCaption(java.lang.String style,
java.lang.String styleName)
String: <div style="display:table-caption;" class="table-caption" ...>
getCaption in interface HtmlViewRepresentationgetCaption in class DefaultHtmlViewRepresentationstyle - The value of the style-attribute of the rendered tag.styleName - The value of the class-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getCaptioneEnd()
String: </div>
getCaptioneEnd in interface HtmlViewRepresentationgetCaptioneEnd in class DefaultHtmlViewRepresentationString of HTML-code
public java.lang.String getCol(java.lang.String width,
java.lang.String span)
String: <div style="display:table-column;" class="table-column" ...>
getCol in interface HtmlViewRepresentationgetCol in class DefaultHtmlViewRepresentationwidth - The value of the width-attribute of the rendered tag.span - The value of the span-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getColEnd()
String: </div>
getColEnd in interface HtmlViewRepresentationgetColEnd in class DefaultHtmlViewRepresentationString of HTML-code
public java.lang.String getColGroup(java.lang.String width,
java.lang.String span)
String: <div style="display:table-columns-group;" class="table-columns-group" ...>
getColGroup in interface HtmlViewRepresentationgetColGroup in class DefaultHtmlViewRepresentationwidth - The value of the width-attribute of the rendered tag.span - The value of the span-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getColGroupEnd()
String: </div>
getColGroupEnd in interface HtmlViewRepresentationgetColGroupEnd in class DefaultHtmlViewRepresentationString of HTML-code
public java.lang.String getColXHtml(java.lang.String width,
java.lang.String span)
String: <div style="display:table-columns-group;" class="table-columns-group" ... />
getColXHtml in interface HtmlViewRepresentationgetColXHtml in class DefaultHtmlViewRepresentationwidth - The value of the width-attribute of the rendered tag.span - The value of the span-attribute of the rendered tag.
String of HTML-code
public java.lang.String getTBody(java.lang.String style,
java.lang.String styleName)
String: <div style="display:table-row-group;" class="table-row-group" ...>
getTBody in interface HtmlViewRepresentationgetTBody in class DefaultHtmlViewRepresentationstyle - The value of the style-attribute of the rendered tag.styleName - The value of the class-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getTBodyEnd()
String: </div>
getTBodyEnd in interface HtmlViewRepresentationgetTBodyEnd in class DefaultHtmlViewRepresentationString of HTML-code
public java.lang.String getTFoot(java.lang.String style,
java.lang.String styleName)
String: <div style="display:table-footer-group;" class="table-footer-group" ...>
getTFoot in interface HtmlViewRepresentationgetTFoot in class DefaultHtmlViewRepresentationstyle - The value of the style-attribute of the rendered tag.styleName - The value of the class-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getTFootEnd()
String: </div>
getTFootEnd in interface HtmlViewRepresentationgetTFootEnd in class DefaultHtmlViewRepresentationString of HTML-code
public java.lang.String getTHead(java.lang.String style,
java.lang.String styleName)
String: <div style="display:table-header-group;" class="table-header-group" ...>
getTHead in interface HtmlViewRepresentationgetTHead in class DefaultHtmlViewRepresentationstyle - The value of the style-attribute of the rendered tag.styleName - The value of the class-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getTHeadEnd()
String: </div>
getTHeadEnd in interface HtmlViewRepresentationgetTHeadEnd in class DefaultHtmlViewRepresentationString of HTML-code
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||