Project Wonder 2.0

er.extensions
Class ERXNavigation

java.lang.Object
  extended byer.extensions.ERXNavigation

public class ERXNavigation
extends Object

Not very generic right now, but will be in the future. Nice for mantaining a stack based navigation system, ie drilling down pushes nav state onto the stack and backing up pops state off the stack.
Please read "Documentation/Navigation.html" to fnd out how to use the navigation components.


Field Summary
protected  NSArray _additionalNavigationState
           
protected  NSArray _navigationState
           
protected  boolean _shouldDisplayHeaderTitle
           
protected  boolean isDisabled
           
static ERXLogger log
          logging support
 
Constructor Summary
ERXNavigation()
           
 
Method Summary
 void disableAllComponents()
           
 void enableAllComponents()
           
 String firstLevel()
           
 boolean isDisabled()
           
 String level(int i)
           
 NSArray navigationItemsToBeShownForLevel(int currentNavigationLevel)
           
 NSArray navigationState()
           
 String navigationStateString()
           
 String secondLevel()
           
 String sectionTitleString(int currentNavigationLevel)
           
 void setAdditionalNavigationState(NSArray value)
           
 void setIsDisabled(boolean newIsDisabled)
           
 void setNavigationLevel(int level, String state)
           
 void setNavigationState(NSArray navigationState)
           
 void setNavigationStateWithString(String navigationStateString)
           
 void setShouldDisplayHeaderTitle(boolean newShouldDisplayHeaderTitle)
           
 boolean shouldDisplayHeaderTitle()
           
 String thirdLevel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static ERXLogger log
logging support


_additionalNavigationState

protected NSArray _additionalNavigationState

_navigationState

protected NSArray _navigationState

isDisabled

protected boolean isDisabled

_shouldDisplayHeaderTitle

protected boolean _shouldDisplayHeaderTitle
Constructor Detail

ERXNavigation

public ERXNavigation()
Method Detail

navigationState

public NSArray navigationState()

setAdditionalNavigationState

public void setAdditionalNavigationState(NSArray value)

sectionTitleString

public String sectionTitleString(int currentNavigationLevel)

navigationItemsToBeShownForLevel

public NSArray navigationItemsToBeShownForLevel(int currentNavigationLevel)

setNavigationState

public void setNavigationState(NSArray navigationState)

setNavigationStateWithString

public void setNavigationStateWithString(String navigationStateString)

navigationStateString

public String navigationStateString()

disableAllComponents

public void disableAllComponents()

enableAllComponents

public void enableAllComponents()

isDisabled

public boolean isDisabled()

setIsDisabled

public void setIsDisabled(boolean newIsDisabled)

shouldDisplayHeaderTitle

public boolean shouldDisplayHeaderTitle()

setShouldDisplayHeaderTitle

public void setShouldDisplayHeaderTitle(boolean newShouldDisplayHeaderTitle)

firstLevel

public String firstLevel()

secondLevel

public String secondLevel()

thirdLevel

public String thirdLevel()

setNavigationLevel

public void setNavigationLevel(int level,
                               String state)

level

public String level(int i)

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.