Class NavigationState
- java.lang.Object
-
- org.apache.myfaces.tobago.example.demo.NavigationState
-
- All Implemented Interfaces:
Serializable
@WindowScoped @Named public class NavigationState extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NavigationState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NavigationNodegetCurrentNode()org.apache.myfaces.tobago.model.TreeStategetState()StringgotoFirst()StringgotoNext()StringgotoNode(NavigationNode node)StringgotoPrevious()voidinit()booleanisFirst()booleanisLast()booleanisViewSource()voidsetViewSource(boolean viewSource)StringtoggleViewSource()
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getCurrentNode
public NavigationNode getCurrentNode()
-
gotoFirst
public String gotoFirst()
-
gotoPrevious
public String gotoPrevious()
-
gotoNext
public String gotoNext()
-
gotoNode
public String gotoNode(@Observes NavigationNode node)
-
isFirst
public boolean isFirst()
-
isLast
public boolean isLast()
-
getState
public org.apache.myfaces.tobago.model.TreeState getState()
-
toggleViewSource
public String toggleViewSource()
-
isViewSource
public boolean isViewSource()
-
setViewSource
public void setViewSource(boolean viewSource)
-
-