|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.salespointframework.web.html.DoubleView<T>
public class DoubleView<T extends SpItem>
Render a Double-View in HTML representation.
Field Summary | |
---|---|
private java.lang.String |
actionUrl
|
protected View<T> |
destinationView
|
private java.util.List<AbstractExtraColumn<T>> |
extraColsDestination
|
private java.util.List<AbstractExtraColumn<T>> |
extraColsSource
|
protected java.lang.String |
id
|
protected int |
lastNumber
|
protected org.springframework.context.MessageSource |
messageSource
|
private boolean |
showBackButton
|
protected boolean |
showNumberField
|
protected View<T> |
sourceView
|
protected java.lang.String |
style
|
protected java.lang.String |
styleName
|
Constructor Summary | |
---|---|
DoubleView(View<T> sourceView,
View<T> destinationView)
Creates a Double-View in HTML representation. |
Method Summary | |
---|---|
java.lang.StringBuffer |
render()
renders the DoubleView |
protected java.lang.StringBuffer |
renderButton()
renders the buttons between the views |
void |
setActionUrl(java.lang.String actionUrl)
the url to submit the double view form |
void |
setId(java.lang.String id)
The value of the id-attribute of the Double-View. |
void |
setLastNumber(int lastNumber)
Sets a default value for numberField. |
void |
setMessageSource(org.springframework.context.MessageSource messageSource)
Sets a messageSource. |
void |
setShowBackButton(boolean showBackButton)
Default is 'true'. |
void |
setShowNumberField(boolean showNumberField)
Default 'false'. |
void |
setStyle(java.lang.String style)
The value of the style of the Double-View. |
void |
setStyleName(java.lang.String styleName)
The value of the class-attribute of the Double-View. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected View<T extends SpItem> sourceView
protected View<T extends SpItem> destinationView
protected java.lang.String id
protected java.lang.String styleName
protected java.lang.String style
protected org.springframework.context.MessageSource messageSource
protected boolean showNumberField
private boolean showBackButton
protected int lastNumber
private java.util.List<AbstractExtraColumn<T extends SpItem>> extraColsSource
private java.util.List<AbstractExtraColumn<T extends SpItem>> extraColsDestination
private java.lang.String actionUrl
Constructor Detail |
---|
public DoubleView(View<T> sourceView, View<T> destinationView)
sourceView
- View of source datasetdestinationView
- View of destination datasetMethod Detail |
---|
public void setMessageSource(org.springframework.context.MessageSource messageSource)
messageSource
- public void setShowBackButton(boolean showBackButton)
showBackButton
- public void setId(java.lang.String id)
id
- public void setStyleName(java.lang.String styleName)
styleName
- public void setStyle(java.lang.String style)
style
- public void setShowNumberField(boolean showNumberField)
showNumberField
- public void setLastNumber(int lastNumber)
lastNumber
- default value for numberFieldprotected java.lang.StringBuffer renderButton()
public java.lang.StringBuffer render()
public void setActionUrl(java.lang.String actionUrl)
actionUrl
- the url to submit the double view form
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |