RichFaces Examples Iteration 4.1.0.20111101-M4

org.richfaces.demo
Class TreeBean

java.lang.Object
  extended by org.richfaces.demo.TreeBean
All Implemented Interfaces:
Serializable

public class TreeBean
extends Object
implements Serializable

Author:
Nick Belaevski
See Also:
Serialized Form

Nested Class Summary
static class TreeBean.SelectionChangeHandler
           
static class TreeBean.ToggleHandler
           
 
Constructor Summary
TreeBean()
           
 
Method Summary
 void behaviorSelectionChangeListener(javax.faces.event.AjaxBehaviorEvent event)
           
 void behaviorToggleListener(javax.faces.event.AjaxBehaviorEvent event)
           
 void clickNode()
           
 org.richfaces.model.TreeNode getClassicTreeNode()
           
 String getCurrentTimeAsString()
           
 String getExecuteTestText()
           
 javax.faces.convert.Converter getIntegerSequenceKeyConveter()
           
 List<TreeNode> getLazyRootNodes()
           
 Object getNodeData()
           
 List<TreeNode> getRootNodes()
           
 Collection<Object> getSelection()
           
 SelectionChangeActionListenerImpl getSelectionChangeActionListener()
           
 org.richfaces.component.SwitchType getSelectionType()
           
 ToggleActionListenerImpl getToggleActionListenerImpl()
           
 String getToggleNodeEvent()
           
 org.richfaces.component.SwitchType getToggleType()
           
 org.richfaces.model.TreeDataModel<?> getTreeDataModel()
           
 org.richfaces.component.SwitchType[] getTypes()
           
 void init()
           
 boolean isShowCustomClasses()
           
 void processSelectionChange(org.richfaces.event.TreeSelectionChangeEvent event)
           
 void processToggle(org.richfaces.event.TreeToggleEvent event)
           
 void setExecuteTestText(String executeTestText)
           
 void setSelection(Collection<Object> selection)
           
 void setSelectionChangeActionListener(SelectionChangeActionListenerImpl selectionChangeActionListener)
           
 void setSelectionType(org.richfaces.component.SwitchType selectionMode)
           
 void setShowCustomClasses(boolean showCustomClasses)
           
 void setToggleActionListenerImpl(ToggleActionListenerImpl toggleActionListenerImpl)
           
 void setToggleNodeEvent(String toggleNodeEvent)
           
 void setToggleType(org.richfaces.component.SwitchType switchType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeBean

public TreeBean()
Method Detail

init

@PostConstruct
public void init()

getRootNodes

public List<TreeNode> getRootNodes()

getLazyRootNodes

public List<TreeNode> getLazyRootNodes()

getClassicTreeNode

public org.richfaces.model.TreeNode getClassicTreeNode()

getTypes

public org.richfaces.component.SwitchType[] getTypes()

getToggleType

public org.richfaces.component.SwitchType getToggleType()

setToggleType

public void setToggleType(org.richfaces.component.SwitchType switchType)

getSelectionType

public org.richfaces.component.SwitchType getSelectionType()

setSelectionType

public void setSelectionType(org.richfaces.component.SwitchType selectionMode)

getNodeData

public Object getNodeData()

getSelection

public Collection<Object> getSelection()

setSelection

public void setSelection(Collection<Object> selection)

clickNode

public void clickNode()

isShowCustomClasses

public boolean isShowCustomClasses()

setShowCustomClasses

public void setShowCustomClasses(boolean showCustomClasses)

behaviorToggleListener

public void behaviorToggleListener(javax.faces.event.AjaxBehaviorEvent event)

behaviorSelectionChangeListener

public void behaviorSelectionChangeListener(javax.faces.event.AjaxBehaviorEvent event)

processSelectionChange

public void processSelectionChange(org.richfaces.event.TreeSelectionChangeEvent event)

processToggle

public void processToggle(org.richfaces.event.TreeToggleEvent event)

getToggleNodeEvent

public String getToggleNodeEvent()

setToggleNodeEvent

public void setToggleNodeEvent(String toggleNodeEvent)

getExecuteTestText

public String getExecuteTestText()

setExecuteTestText

public void setExecuteTestText(String executeTestText)

getCurrentTimeAsString

public String getCurrentTimeAsString()

getToggleActionListenerImpl

public ToggleActionListenerImpl getToggleActionListenerImpl()

setToggleActionListenerImpl

public void setToggleActionListenerImpl(ToggleActionListenerImpl toggleActionListenerImpl)

getSelectionChangeActionListener

public SelectionChangeActionListenerImpl getSelectionChangeActionListener()

setSelectionChangeActionListener

public void setSelectionChangeActionListener(SelectionChangeActionListenerImpl selectionChangeActionListener)

getIntegerSequenceKeyConveter

public javax.faces.convert.Converter getIntegerSequenceKeyConveter()

getTreeDataModel

public org.richfaces.model.TreeDataModel<?> getTreeDataModel()

RichFaces Examples Iteration 4.1.0.20111101-M4

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