@Name(value="slideShowManager") @Scope(value=CONVERSATION) public class SlideShowManagerBean extends Object implements SlideShowManager, Serializable
Constructor and Description |
---|
SlideShowManagerBean() |
Modifier and Type | Method and Description |
---|---|
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.
|
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() |
public void firstPic()
SlideShowManager
firstPic
in interface SlideShowManager
public void lastPic()
SlideShowManager
lastPic
in interface SlideShowManager
@Destroy public void destroy()
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
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)
Copyright © 2011 Nuxeo SA. All Rights Reserved.