|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.form.displayers.AbstractFieldDisplayer<FileField>
com.silverpeas.form.displayers.AbstractFileFieldDisplayer
com.silverpeas.form.displayers.VideoFieldDisplayer
public class VideoFieldDisplayer
A displayer of a video. The underlying video player is FlowPlayer (http://flowplayer.org/index.html).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.silverpeas.form.displayers.AbstractFileFieldDisplayer |
---|
AbstractFileFieldDisplayer.Operation |
Field Summary | |
---|---|
static String |
CONTEXT_FORM_VIDEO
|
static boolean |
DEFAULT_AUTOPLAY
Should the video auto starts by default? |
static String |
DEFAULT_HEIGHT
The default height in pixels of the video display area. |
static String |
DEFAULT_WIDTH
The default width in pixels of the video display area. |
static String |
PARAMETER_AUTOPLAY
The video autostart parameter name. |
static String |
PARAMETER_HEIGHT
The video display height parameter name. |
static String |
PARAMETER_WIDTH
The video display width parameter name. |
Fields inherited from class com.silverpeas.form.displayers.AbstractFileFieldDisplayer |
---|
OPERATION_KEY |
Constructor Summary | |
---|---|
VideoFieldDisplayer()
|
Method Summary | |
---|---|
void |
display(PrintWriter out,
FileField field,
FieldTemplate template,
PagesContext pagesContext)
Prints the HTML value of the field. |
int |
getNbHtmlObjectsDisplayed(FieldTemplate template,
PagesContext pagesContext)
Return the number of HTML Objects displayed by the displayer. |
Methods inherited from class com.silverpeas.form.displayers.AbstractFileFieldDisplayer |
---|
checkFieldType, createSimpleDocument, deleteAttachment, displayScripts, getManagedTypes, isDeletion, isDisplayedMandatory, isUpdate, processInput, processUploadedFile, update, update |
Methods inherited from class com.silverpeas.form.displayers.AbstractFieldDisplayer |
---|
index |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_WIDTH
public static final String DEFAULT_HEIGHT
public static final boolean DEFAULT_AUTOPLAY
public static final String PARAMETER_WIDTH
public static final String PARAMETER_HEIGHT
public static final String PARAMETER_AUTOPLAY
public static final String CONTEXT_FORM_VIDEO
Constructor Detail |
---|
public VideoFieldDisplayer()
Method Detail |
---|
public void display(PrintWriter out, FileField field, FieldTemplate template, PagesContext pagesContext) throws FormException
FieldDisplayer
FormException
public int getNbHtmlObjectsDisplayed(FieldTemplate template, PagesContext pagesContext)
FieldDisplayer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |