|
||||||||||
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 HtmlViewRepresentation
hasBody
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:inline-block;"... >
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 void setDirection(ListViewDirectionType direction)
direction
- public java.lang.String getEnd()
String
: </div>
getEnd
in interface HtmlViewRepresentation
getEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic java.lang.String getRowStart()
String
: <object style="float:.." ...>
getRowStart
in interface HtmlViewRepresentation
getRowStart
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic java.lang.String getRowEnd()
String
: </object>
getRowEnd
in interface HtmlViewRepresentation
getRowEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic java.lang.String getCellEnd()
String
: </p>
getCellEnd
in interface HtmlViewRepresentation
getCellEnd
in class DefaultHtmlViewRepresentation
String
of HTML-codepublic java.lang.String getCellStart(java.lang.String styleName)
String
: <p>
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 getCaption(java.lang.String style, java.lang.String styleName)
String
: <div 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-code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |