RichFaces Showcase 4.1.1-SNAPSHOT

org.richfaces.demo.common.navigation
Class DemoNavigator

java.lang.Object
  extended by org.richfaces.demo.common.navigation.DemoNavigator
All Implemented Interfaces:
Serializable

public class DemoNavigator
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String MOBILE_SUPPORT_PARAM
           
 
Constructor Summary
DemoNavigator()
           
 
Method Summary
 DemoDescriptor findDemoById(String id)
           
 DemoDescriptor getCurrentDemo()
           
 SampleDescriptor getCurrentSample()
           
 String getDemo()
           
 void getFilteredGroups()
           
 List<GroupDescriptor> getGroups()
           
 String getSample()
           
 String getSampleIncludeURI()
           
 String getSampleURI()
           
 void init()
           
 void setDemo(String demo)
           
 void setGroups(List<GroupDescriptor> groups)
           
 void setSample(String sample)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MOBILE_SUPPORT_PARAM

public static final String MOBILE_SUPPORT_PARAM
See Also:
Constant Field Values
Constructor Detail

DemoNavigator

public DemoNavigator()
Method Detail

init

@PostConstruct
public void init()

getCurrentDemo

public DemoDescriptor getCurrentDemo()

getCurrentSample

public SampleDescriptor getCurrentSample()

findDemoById

public DemoDescriptor findDemoById(String id)

getSampleURI

public String getSampleURI()

getSampleIncludeURI

public String getSampleIncludeURI()
Returns:
actual sample inclusion src Consider that: 1) all the samples should be placed in "samples" subfolder of the actual sample 2) all the samples pages should use the same name as main sample page with "-sample" prefix

getGroups

public List<GroupDescriptor> getGroups()

setGroups

public void setGroups(List<GroupDescriptor> groups)

getFilteredGroups

public void getFilteredGroups()

getSample

public String getSample()

setSample

public void setSample(String sample)

getDemo

public String getDemo()

setDemo

public void setDemo(String demo)

RichFaces Showcase 4.1.1-SNAPSHOT

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.