|
||||||||||
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 HtmlViewRepresentation
hasHeader
in class DefaultHtmlViewRepresentation
public boolean hasBody()
hasBody
in interface HtmlViewRepresentation
hasBody
in class DefaultHtmlViewRepresentation
public boolean hasFooter()
hasFooter
in interface HtmlViewRepresentation
hasFooter
in class DefaultHtmlViewRepresentation
public boolean hasCaption()
hasCaption
in interface HtmlViewRepresentation
hasCaption
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 HtmlViewRepresentation
getStart
in class DefaultHtmlViewRepresentation
id
- 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 HtmlViewRepresentation
getEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic java.lang.String getHeadStart(java.lang.String styleName)
String
: <div style="display:table-cell;" class="table-cell" ...>
getHeadStart
in interface HtmlViewRepresentation
getHeadStart
in class DefaultHtmlViewRepresentation
styleName
- The value of the class-attribute of the rendered tag.
String
of HTML-codepublic java.lang.String getHeadEnd()
String
: </div>
getHeadEnd
in interface HtmlViewRepresentation
getHeadEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic java.lang.String getRowStart()
String
: <div style="display:table-row;" class="table-row ..." ...>
getRowStart
in interface HtmlViewRepresentation
getRowStart
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic java.lang.String getRowEnd()
String
: </div>
getRowEnd
in interface HtmlViewRepresentation
getRowEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic java.lang.String getCellStart(java.lang.String styleName)
String
: <div style="display:table-cell;" class="table-cell" ...>
getCellStart
in interface HtmlViewRepresentation
getCellStart
in class DefaultHtmlViewRepresentation
styleName
- The value of the class-attribute of the rendered tag.
String
of HTML-codepublic java.lang.String getCellEnd()
String
: </div>
getCellEnd
in interface HtmlViewRepresentation
getCellEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic java.lang.String getCaption(java.lang.String style, java.lang.String styleName)
String
: <div style="display:table-caption;" class="table-caption" ...>
getCaption
in interface HtmlViewRepresentation
getCaption
in class DefaultHtmlViewRepresentation
style
- 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 HtmlViewRepresentation
getCaptioneEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic java.lang.String getCol(java.lang.String width, java.lang.String span)
String
: <div style="display:table-column;" class="table-column" ...>
getCol
in interface HtmlViewRepresentation
getCol
in class DefaultHtmlViewRepresentation
width
- 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 HtmlViewRepresentation
getColEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic 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 HtmlViewRepresentation
getColGroup
in class DefaultHtmlViewRepresentation
width
- 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 HtmlViewRepresentation
getColGroupEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic 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 HtmlViewRepresentation
getColXHtml
in class DefaultHtmlViewRepresentation
width
- 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 getTBody(java.lang.String style, java.lang.String styleName)
String
: <div style="display:table-row-group;" class="table-row-group" ...>
getTBody
in interface HtmlViewRepresentation
getTBody
in class DefaultHtmlViewRepresentation
style
- 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 HtmlViewRepresentation
getTBodyEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic 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 HtmlViewRepresentation
getTFoot
in class DefaultHtmlViewRepresentation
style
- 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 HtmlViewRepresentation
getTFootEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic 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 HtmlViewRepresentation
getTHead
in class DefaultHtmlViewRepresentation
style
- 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 HtmlViewRepresentation
getTHeadEnd
in class DefaultHtmlViewRepresentation
String
of HTML-code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |