|
Nuxeo Enterprise Platform 5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.ecm.platform.picture.web.SlideShowManagerBean
@Name(value="slideShowManager") @Scope(value=CONVERSATION) public class SlideShowManagerBean
Field Summary | |
---|---|
protected DocumentModel |
child
|
protected List<DocumentModel> |
children
|
protected Integer |
childrenSize
|
protected Integer |
index
|
protected NavigationContext |
navigationContext
|
protected Boolean |
repeat
|
protected Boolean |
stopped
|
Constructor Summary | |
---|---|
SlideShowManagerBean()
|
Method Summary | |
---|---|
void |
decIndex()
Decrements the index. |
void |
destroy()
|
void |
firstPic()
Sets the index to 1. |
DocumentModel |
getChild()
Gets the DocumentModel of a child from the index. |
protected List<DocumentModel> |
getChildren()
|
Integer |
getChildrenSize()
Gets the ChildrenSize. |
Integer |
getIndex()
Gets the index. |
Boolean |
getRepeat()
|
Boolean |
getStopped()
|
void |
incIndex()
Increments the index. |
void |
initialize()
|
void |
inputValidation(ActionEvent arg0)
|
void |
lastPic()
Sets the index to the last picture available. |
void |
resetIndex()
Reinitializes the values at every changes. |
void |
setChild(DocumentModel child)
Sets the DocumentModel of a child from the index. |
void |
setIndex(Integer idx)
Sets the index. |
void |
setRepeat(Boolean repeat)
|
void |
setStopped(Boolean stopped)
|
void |
start()
|
void |
stop()
|
void |
togglePause()
|
void |
toggleRepeat()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@In(create=true) protected transient NavigationContext navigationContext
protected List<DocumentModel> children
protected Integer childrenSize
protected DocumentModel child
protected Integer index
protected Boolean stopped
protected Boolean repeat
Constructor Detail |
---|
public SlideShowManagerBean()
Method Detail |
---|
@Create public void initialize() throws Exception
initialize
in interface SlideShowManager
Exception
public void firstPic()
SlideShowManager
firstPic
in interface SlideShowManager
public void lastPic()
SlideShowManager
lastPic
in interface SlideShowManager
@Destroy public void destroy()
destroy
in interface SlideShowManager
public Integer getIndex()
SlideShowManager
getIndex
in interface SlideShowManager
public void decIndex()
SlideShowManager
decIndex
in interface SlideShowManager
public void incIndex()
SlideShowManager
incIndex
in interface SlideShowManager
public void setIndex(Integer idx)
SlideShowManager
setIndex
in interface SlideShowManager
idx
- an Integer holding the current document's index.@Observer(value={"documentSelectionChanged","documentChildrenChanged"}) @BypassInterceptors public void resetIndex() throws ClientException
SlideShowManager
resetIndex
in interface SlideShowManager
ClientException
public void inputValidation(ActionEvent arg0)
inputValidation
in interface SlideShowManager
public Integer getChildrenSize()
SlideShowManager
getChildrenSize
in interface SlideShowManager
public DocumentModel getChild()
SlideShowManager
getChild
in interface SlideShowManager
protected List<DocumentModel> getChildren()
public void setChild(DocumentModel child)
SlideShowManager
setChild
in interface SlideShowManager
child
- a DocumentModel holding the childpublic void togglePause()
public void stop()
public void start()
public Boolean getStopped()
public void toggleRepeat()
public void setStopped(Boolean stopped)
public Boolean getRepeat()
public void setRepeat(Boolean repeat)
|
Nuxeo Enterprise Platform 5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |