|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.form.displayers.AbstractFieldDisplayer<TextField>
com.silverpeas.form.displayers.ListBoxFieldDisplayer
public class ListBoxFieldDisplayer
A ListBoxFieldDisplayer is an object which can display a listbox in HTML the content of a listbox to a end user and can retrieve via HTTP any updated value.
Field,
FieldTemplate,
Form,
FieldDisplayer| Constructor Summary | |
|---|---|
ListBoxFieldDisplayer()
Constructeur |
|
| Method Summary | |
|---|---|
void |
display(PrintWriter out,
TextField field,
FieldTemplate template,
PagesContext PagesContext)
Prints the HTML value of the field. |
void |
displayScripts(PrintWriter out,
FieldTemplate template,
PagesContext PagesContext)
Prints the javascripts which will be used to control the new value given to the named field. |
String[] |
getManagedTypes()
Returns the name of the managed types. |
int |
getNbHtmlObjectsDisplayed(FieldTemplate template,
PagesContext pagesContext)
Return the number of HTML Objects displayed by the displayer. |
boolean |
isDisplayedMandatory()
|
List<String> |
update(String newValue,
TextField field,
FieldTemplate template,
PagesContext PagesContext)
Updates the value of the field. |
| Methods inherited from class com.silverpeas.form.displayers.AbstractFieldDisplayer |
|---|
index, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListBoxFieldDisplayer()
| Method Detail |
|---|
public String[] getManagedTypes()
public void displayScripts(PrintWriter out,
FieldTemplate template,
PagesContext PagesContext)
throws IOException
IOException
public void display(PrintWriter out,
TextField field,
FieldTemplate template,
PagesContext PagesContext)
throws FormException
FormException
public List<String> update(String newValue,
TextField field,
FieldTemplate template,
PagesContext PagesContext)
throws FormException
FieldDisplayer
FormExceptionpublic boolean isDisplayedMandatory()
public int getNbHtmlObjectsDisplayed(FieldTemplate template,
PagesContext pagesContext)
FieldDisplayer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||