|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.form.displayers.AbstractFieldDisplayer<SequenceField>
com.silverpeas.form.displayers.SequenceFieldDisplayer
public class SequenceFieldDisplayer
A SequenceFieldDisplayer is an object which can display a value corresponding to the setting of a sequence. A such value is only readable to guaranty validity of each value belonging to the sequence (unicity for instance).
Field
,
FieldTemplate
,
Form
,
FieldDisplayer
Constructor Summary | |
---|---|
SequenceFieldDisplayer()
|
Method Summary | |
---|---|
void |
display(PrintWriter out,
SequenceField field,
FieldTemplate template,
PagesContext pagesContext)
Prints the HTML value of the field. |
void |
displayScripts(PrintWriter out,
FieldTemplate template,
PagesContext pagesContext)
Since the field is always in readonly state, no javascripts are needed to control the value given to the field. |
int |
getNbHtmlObjectsDisplayed(FieldTemplate template,
PagesContext pagesContext)
Returns the number of returned html objects. |
boolean |
isDisplayedMandatory()
Returns true if the field can be set as mandatory. |
List<String> |
update(String value,
SequenceField 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 SequenceFieldDisplayer()
Method Detail |
---|
public void display(PrintWriter out, SequenceField field, FieldTemplate template, PagesContext pagesContext) throws FormException
FormException
public void displayScripts(PrintWriter out, FieldTemplate template, PagesContext pagesContext) throws IOException
IOException
public int getNbHtmlObjectsDisplayed(FieldTemplate template, PagesContext pagesContext)
public boolean isDisplayedMandatory()
public List<String> update(String value, SequenceField field, FieldTemplate template, PagesContext pagesContext) throws FormException
FormException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |