Project Wonder 2.0

er.extensions
Class ERXNavigationMenu

java.lang.Object
  extended bycom.webobjects.appserver.WOElement
      extended bycom.webobjects.appserver.WOComponent
          extended byer.extensions.ERXNonSynchronizingComponent
              extended byer.extensions.ERXStatelessComponent
                  extended byer.extensions.ERXNavigationMenu
All Implemented Interfaces:
Cloneable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults

public class ERXNavigationMenu
extends ERXStatelessComponent

Please read "Documentation/Navigation.html" to fnd out how to use the navigation components.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.webobjects.appserver.WOComponent
WOComponent._EventLoggingEnabler, WOComponent.Event
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes inherited from class com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
protected  NSArray _level1Items
           
 int _level1SpacerWidth
           
protected  NSArray _level2Items
           
 int _level2SpacerWidth
           
protected  NSArray _level3Items
           
 int _level3SpacerWidth
           
protected  boolean _menuIsSetUp
           
protected  NSKeyValueCoding _navigationContext
           
protected  ERXNavigationState _navigationState
           
 int _renderLevelCount
           
 ERXNavigationItem aNavigationItem
           
protected  int l2Colspan
           
static ERXLogger log
          logging support
 
Fields inherited from class er.extensions.ERXNonSynchronizingComponent
_dynamicBindings
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
_CLASS, NullValue
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSValidation
_CLASS
 
Constructor Summary
ERXNavigationMenu(WOContext context)
           
 
Method Summary
 void appendToResponse(WOResponse r, WOContext c)
           
 WOActionResults invokeAction(WORequest r, WOContext c)
           
 NSArray itemsForLevel(int level)
           
 NSArray level1Items()
           
 int level1SpacerWidth()
           
 int level1Width()
           
 NSArray level2Items()
           
 int level2SpacerWidth()
           
 int level2Width()
           
 NSArray level3Items()
           
 int level3SpacerWidth()
           
 int level3Width()
           
 int menuLevelsToShow()
           
protected  NSKeyValueCoding navigationContext()
           
 ERXNavigationState navigationState()
           
 int navItemsTableWidth()
           
 String paddingWidth()
           
 void reset()
           
 void setLevel1Items(NSArray newLevel1Items)
           
 void setLevel1SpacerWidth(int newLevel1SpacerWidth)
           
 void setLevel2Items(NSArray newLevel2Items)
           
 void setLevel2SpacerWidth(int newLevel2SpacerWidth)
           
 void setLevel3Items(NSArray newLevel3Items)
           
 void setLevel3SpacerWidth(int newLevel3SpacerWidth)
           
 int setupLevel1SpacerWidth()
           
 int setupLevel2SpacerWidth()
           
 int setupLevel3SpacerWidth()
           
 void setUpMenu()
           
 boolean showLevel2()
           
 boolean showLevel3()
           
 void takeValuesFromRequest(WORequest r, WOContext c)
           
 
Methods inherited from class er.extensions.ERXStatelessComponent
isStateless, valueForBooleanBinding, valueForBooleanBinding, valueForBooleanBinding, valueForIntBinding, valueForObjectBinding, valueForObjectBinding
 
Methods inherited from class er.extensions.ERXNonSynchronizingComponent
booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, dynamicBindings, intValueForBinding, localizer, objectValueForBinding, objectValueForBinding, stringValueForBinding, stringValueForBinding, synchronizesVariablesWithBindings
 
Methods inherited from class com.webobjects.appserver.WOComponent
_associationWithName, _awakeInContext, _childTemplate, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

public static final ERXLogger log
logging support


aNavigationItem

public ERXNavigationItem aNavigationItem

_navigationState

protected ERXNavigationState _navigationState

_navigationContext

protected NSKeyValueCoding _navigationContext

_level1Items

protected NSArray _level1Items

_level2Items

protected NSArray _level2Items

_level3Items

protected NSArray _level3Items

_level1SpacerWidth

public int _level1SpacerWidth

_level2SpacerWidth

public int _level2SpacerWidth

_level3SpacerWidth

public int _level3SpacerWidth

_renderLevelCount

public int _renderLevelCount

l2Colspan

protected int l2Colspan

_menuIsSetUp

protected boolean _menuIsSetUp
Constructor Detail

ERXNavigationMenu

public ERXNavigationMenu(WOContext context)
Method Detail

reset

public void reset()
Overrides:
reset in class ERXStatelessComponent

navigationContext

protected NSKeyValueCoding navigationContext()

setUpMenu

public void setUpMenu()

navigationState

public ERXNavigationState navigationState()

itemsForLevel

public NSArray itemsForLevel(int level)

takeValuesFromRequest

public void takeValuesFromRequest(WORequest r,
                                  WOContext c)

appendToResponse

public void appendToResponse(WOResponse r,
                             WOContext c)

invokeAction

public WOActionResults invokeAction(WORequest r,
                                    WOContext c)

setupLevel2SpacerWidth

public int setupLevel2SpacerWidth()

setupLevel3SpacerWidth

public int setupLevel3SpacerWidth()

showLevel2

public boolean showLevel2()

showLevel3

public boolean showLevel3()

menuLevelsToShow

public int menuLevelsToShow()

level1Items

public NSArray level1Items()

level1SpacerWidth

public int level1SpacerWidth()

level1Width

public int level1Width()

level2Items

public NSArray level2Items()

level2SpacerWidth

public int level2SpacerWidth()

level2Width

public int level2Width()

level3Items

public NSArray level3Items()

level3SpacerWidth

public int level3SpacerWidth()

level3Width

public int level3Width()

setupLevel1SpacerWidth

public int setupLevel1SpacerWidth()

setLevel1Items

public void setLevel1Items(NSArray newLevel1Items)

setLevel1SpacerWidth

public void setLevel1SpacerWidth(int newLevel1SpacerWidth)

setLevel2Items

public void setLevel2Items(NSArray newLevel2Items)

setLevel2SpacerWidth

public void setLevel2SpacerWidth(int newLevel2SpacerWidth)

setLevel3Items

public void setLevel3Items(NSArray newLevel3Items)

setLevel3SpacerWidth

public void setLevel3SpacerWidth(int newLevel3SpacerWidth)

navItemsTableWidth

public int navItemsTableWidth()

paddingWidth

public String paddingWidth()

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

Copyright © 2002 – 2004 Project Wonder.