@Name(value="slideShowManager") @Scope(value=CONVERSATION) @Deprecated public class SlideShowManagerBean extends Object implements SlideShowManager, Serializable
Modifier and Type | Field and Description |
---|---|
protected DocumentModel |
child
Deprecated.
|
protected List<DocumentModel> |
children
Deprecated.
|
protected Integer |
childrenSize
Deprecated.
|
protected CoreSession |
documentManager
Deprecated.
|
protected Integer |
index
Deprecated.
|
protected NavigationContext |
navigationContext
Deprecated.
|
protected Boolean |
repeat
Deprecated.
|
protected Boolean |
stopped
Deprecated.
|
Constructor and Description |
---|
SlideShowManagerBean()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
decIndex()
Deprecated.
Decrements the index.
|
void |
destroy()
Deprecated.
|
void |
firstPic()
Deprecated.
Sets the index to 1.
|
DocumentModel |
getChild()
Deprecated.
Gets the DocumentModel of a child from the index.
|
protected List<DocumentModel> |
getChildren()
Deprecated.
|
Integer |
getChildrenSize()
Deprecated.
Gets the ChildrenSize.
|
Integer |
getIndex()
Deprecated.
Gets the index.
|
Boolean |
getRepeat()
Deprecated.
|
Boolean |
getStopped()
Deprecated.
|
void |
incIndex()
Deprecated.
Increments the index.
|
void |
initialize()
Deprecated.
|
void |
inputValidation(javax.faces.event.ActionEvent arg0)
Deprecated.
|
void |
lastPic()
Deprecated.
Sets the index to the last picture available.
|
void |
resetIndex()
Deprecated.
Reinitializes the values at every changes.
|
void |
setChild(DocumentModel child)
Deprecated.
Sets the DocumentModel of a child from the index.
|
void |
setIndex(Integer idx)
Deprecated.
Sets the index.
|
void |
setRepeat(Boolean repeat)
Deprecated.
|
void |
setStopped(Boolean stopped)
Deprecated.
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
void |
togglePause()
Deprecated.
|
void |
toggleRepeat()
Deprecated.
|
@In(create=true) protected CoreSession documentManager
@In(create=true) protected transient NavigationContext navigationContext
protected List<DocumentModel> children
protected Integer childrenSize
protected DocumentModel child
public SlideShowManagerBean()
@Create public void initialize()
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()
SlideShowManager
resetIndex
in interface SlideShowManager
public void inputValidation(javax.faces.event.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)
Copyright © 2016 Nuxeo SA. All rights reserved.