|
||||||||||
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.TimeFieldDisplayer
public class TimeFieldDisplayer
A TimeFieldDisplayer is an object which can display a time
Field
,
FieldTemplate
,
Form
,
FieldDisplayer
Constructor Summary | |
---|---|
TimeFieldDisplayer()
|
Method Summary | |
---|---|
void |
display(PrintWriter out,
TextField field,
FieldTemplate template,
PagesContext pageContext)
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 TimeFieldDisplayer()
Method Detail |
---|
public String[] getManagedTypes()
public void displayScripts(PrintWriter out, FieldTemplate template, PagesContext PagesContext) throws IOException
out
- template
- PagesContext
-
IOException
public void display(PrintWriter out, TextField field, FieldTemplate template, PagesContext pageContext) throws FormException
out
- field
- template
- pageContext
-
FormException
public List<String> update(String newValue, TextField field, FieldTemplate template, PagesContext PagesContext) throws FormException
FieldDisplayer
FormException
public 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 |