Richfaces Examples: Richfaces Showcase Application 4.1.0.20110910-M2

org.richfaces.demo.common.navigation
Class DemoNavigator

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

public class DemoNavigator
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

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

Constructor Detail

DemoNavigator

public DemoNavigator()
Method Detail

init

@PostConstruct
public void init()

getCurrentDemo

public DemoDescriptor getCurrentDemo()

getCurrentSample

public SampleDescriptor getCurrentSample()

findDemoById

public DemoDescriptor findDemoById(java.lang.String id)

getSampleURI

public java.lang.String getSampleURI()

getSampleIncludeURI

public java.lang.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 java.util.List<GroupDescriptor> getGroups()

setGroups

public void setGroups(java.util.List<GroupDescriptor> groups)

getSample

public java.lang.String getSample()

setSample

public void setSample(java.lang.String sample)

getDemo

public java.lang.String getDemo()

setDemo

public void setDemo(java.lang.String demo)

Richfaces Examples: Richfaces Showcase Application 4.1.0.20110910-M2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.