org.richfaces.renderkit
Class TreeDataModelEventNavigator

java.lang.Object
  extended by org.richfaces.renderkit.TreeDataModelEventNavigator
All Implemented Interfaces:
LastElementAware

public abstract class TreeDataModelEventNavigator
extends java.lang.Object
implements LastElementAware

Author:
Nick Belaevski - nbelaevski@exadel.com created 17.11.2006

Field Summary
protected  boolean actualLast
           
protected  boolean lastElement
           
protected  java.lang.Boolean stackedLast
           
 
Constructor Summary
TreeDataModelEventNavigator(UITree tree, javax.faces.context.FacesContext context, TreeRowKey floatingKey)
           
 
Method Summary
abstract  void afterDown()
           
abstract  void afterUp(int levels)
           
abstract  void beforeDown()
           
abstract  void beforeUp(int levels)
           
 void followRowKey(TreeRowKey newRowKey)
           
protected  javax.faces.context.FacesContext getFacesContext()
           
protected  TreeRowKey getRowKey()
           
protected  UITree getTree()
           
protected  boolean isLastElement()
           
protected  boolean isStackedLastElement()
           
 void resetLastElement()
          The method is invoked to notify that we're done with last element
 void setLastElement()
          The method is invoked to notify that last element occured
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastElement

protected boolean lastElement

actualLast

protected boolean actualLast

stackedLast

protected java.lang.Boolean stackedLast
Constructor Detail

TreeDataModelEventNavigator

public TreeDataModelEventNavigator(UITree tree,
                                   javax.faces.context.FacesContext context,
                                   TreeRowKey floatingKey)
Method Detail

followRowKey

public void followRowKey(TreeRowKey newRowKey)
                  throws java.io.IOException
Throws:
java.io.IOException

beforeUp

public abstract void beforeUp(int levels)
                       throws java.io.IOException
Throws:
java.io.IOException

beforeDown

public abstract void beforeDown()
                         throws java.io.IOException
Throws:
java.io.IOException

afterUp

public abstract void afterUp(int levels)
                      throws java.io.IOException
Throws:
java.io.IOException

afterDown

public abstract void afterDown()
                        throws java.io.IOException
Throws:
java.io.IOException

getTree

protected UITree getTree()

getFacesContext

protected javax.faces.context.FacesContext getFacesContext()

setLastElement

public void setLastElement()
Description copied from interface: LastElementAware
The method is invoked to notify that last element occured

Specified by:
setLastElement in interface LastElementAware

resetLastElement

public void resetLastElement()
Description copied from interface: LastElementAware
The method is invoked to notify that we're done with last element

Specified by:
resetLastElement in interface LastElementAware

getRowKey

protected TreeRowKey getRowKey()

isLastElement

protected boolean isLastElement()

isStackedLastElement

protected boolean isStackedLastElement()


Copyright © 2007. All Rights Reserved.