|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tonbeller.wcf.selection.SelectionMgr
Selection Manager
Constructor Summary | |
SelectionMgr(Dispatcher dispatcher,
Form form)
|
|
SelectionMgr(Dispatcher dispatcher,
Form form,
SelectionModel selectionModel)
|
Method Summary | |
SelectionModel |
getSelectionModel()
Returns the model. |
TitleProvider |
getTitleProvider()
if set creates title attribute |
boolean |
isReadOnly()
|
void |
renderButton(org.w3c.dom.Element parent,
java.lang.Object obj)
if selection is enabled adds a checkbox or radiobutton element to the parent. |
void |
revert(RequestContext context)
reverts this component to model values |
void |
setReadOnly(boolean readOnly)
|
void |
setSelectionModel(SelectionModel selectionModel)
Sets the model. |
void |
setTitleProvider(TitleProvider provider)
if set creates title attribute |
void |
startRendering(RequestContext context)
must be called once before rendering |
void |
stopRendering()
must be called once after rendering |
boolean |
validate(RequestContext context)
validates user input and updates the model |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SelectionMgr(Dispatcher dispatcher, Form form)
public SelectionMgr(Dispatcher dispatcher, Form form, SelectionModel selectionModel)
Method Detail |
public void startRendering(RequestContext context)
startRendering
in interface RenderListener
public void stopRendering()
stopRendering
in interface RenderListener
public void renderButton(org.w3c.dom.Element parent, java.lang.Object obj)
public SelectionModel getSelectionModel()
public void setSelectionModel(SelectionModel selectionModel)
public void revert(RequestContext context)
FormListener
revert
in interface FormListener
public boolean validate(RequestContext context)
FormListener
validate
in interface FormListener
public TitleProvider getTitleProvider()
public void setTitleProvider(TitleProvider provider)
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |