|
||||||||||
| 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.NativeHtmlList
public class NativeHtmlList
Declares a floating-list.
It's using by View.
| Field Summary | |
|---|---|
private ListViewDirectionType |
direction
|
private GenericHtmlTag |
div
|
private GenericHtmlTag |
object
|
private GenericHtmlTag |
p
|
| Fields inherited from class org.salespointframework.web.html.viewrepresentations.DefaultHtmlViewRepresentation |
|---|
summary |
| Constructor Summary | |
|---|---|
NativeHtmlList()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCaption(java.lang.String style,
java.lang.String styleName)
Return String: <div class="table-caption ..." ...> |
java.lang.String |
getCaptioneEnd()
Return String: </div> |
java.lang.String |
getCellEnd()
Return String: </p> |
java.lang.String |
getCellStart(java.lang.String styleName)
Return String: <p> |
java.lang.String |
getEnd()
Return String: </div> |
java.lang.String |
getRowEnd()
Return String: </object> |
java.lang.String |
getRowStart()
Return String: <object style="float:.." ...> |
java.lang.String |
getStart(java.lang.String id,
java.lang.String styleName,
java.lang.String style)
Return String: <div style="display:inline-block;"... > |
boolean |
hasBody()
A list has a body. |
boolean |
hasCaption()
A list has a caption. |
void |
setDirection(ListViewDirectionType direction)
Default is 'LEFT'. |
| Methods inherited from class org.salespointframework.web.html.viewrepresentations.DefaultHtmlViewRepresentation |
|---|
getCol, getColEnd, getColGroup, getColGroupEnd, getColXHtml, getHeadEnd, getHeadStart, getTBody, getTBodyEnd, getTFoot, getTFootEnd, getTHead, getTHeadEnd, hasFooter, hasHeader, hasSummary, setSummary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ListViewDirectionType direction
private GenericHtmlTag div
private GenericHtmlTag object
private GenericHtmlTag p
| Constructor Detail |
|---|
public NativeHtmlList()
| Method Detail |
|---|
public boolean hasBody()
hasBody in interface HtmlViewRepresentationhasBody 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:inline-block;"... >
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 void setDirection(ListViewDirectionType direction)
direction - public java.lang.String getEnd()
String: </div>
getEnd in interface HtmlViewRepresentationgetEnd in class DefaultHtmlViewRepresentationString of HTML-codepublic java.lang.String getRowStart()
String: <object style="float:.." ...>
getRowStart in interface HtmlViewRepresentationgetRowStart in class DefaultHtmlViewRepresentationString of HTML-codepublic java.lang.String getRowEnd()
String: </object>
getRowEnd in interface HtmlViewRepresentationgetRowEnd in class DefaultHtmlViewRepresentationString of HTML-codepublic java.lang.String getCellEnd()
String: </p>
getCellEnd in interface HtmlViewRepresentationgetCellEnd in class DefaultHtmlViewRepresentationString of HTML-codepublic java.lang.String getCellStart(java.lang.String styleName)
String: <p>
getCellStart in interface HtmlViewRepresentationgetCellStart in class DefaultHtmlViewRepresentationstyleName - The value of the class-attribute of the rendered tag.
String of HTML-code
public java.lang.String getCaption(java.lang.String style,
java.lang.String styleName)
String: <div 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||