no.sesat.search.view.navigation
Class NavigationConfig.Nav

java.lang.Object
  extended by no.sesat.search.view.navigation.NavigationConfig.Nav
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FastNavigationConfig, OptionsNavigationConfig, ResultPagingNavigationConfig, TabNavigationConfig, TreeNavigationConfig, TrimedNavigationConfig
Enclosing class:
NavigationConfig

@NavigationConfig.Nav.ControllerFactory(value="no.sesat.search.view.navigation.NoOpNavigationControllerFactoryImpl")
public static class NavigationConfig.Nav
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static interface NavigationConfig.Nav.ControllerFactory
           
 
Constructor Summary
NavigationConfig.Nav(NavigationConfig.Navigation navigation, Element navElement)
           
NavigationConfig.Nav(NavigationConfig.Nav parent, NavigationConfig.Navigation navigation, Element navElement)
           
 
Method Summary
 void addChild(NavigationConfig.Nav nav)
           
 String getBackText()
           
 List<NavigationConfig.Nav> getChildNavs()
           
 String getCommandName()
           
 String getField()
           
 String getId()
           
 int getMaxsize()
           
 NavigationConfig.Navigation getNavigation()
           
 NavigationConfig.Nav getParent()
           
 Map<String,String> getStaticParameters()
           
 String getTab()
           
 boolean isAutoNavigation()
          Automatically select a child when only one child exists.
 boolean isOut()
           
 boolean isVirtual()
           
 void setAutoNavigation(boolean autoNavigation)
           
 void setBackText(String backText)
           
 void setCommandName(String commandName)
           
 void setField(String field)
           
 void setId(String id)
           
 void setMaxsize(int maxsize)
           
 void setOut(boolean out)
           
 void setStaticParameters(Map<String,String> staticParameters)
           
 void setTab(String tab)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NavigationConfig.Nav

public NavigationConfig.Nav(NavigationConfig.Nav parent,
                            NavigationConfig.Navigation navigation,
                            Element navElement)

NavigationConfig.Nav

public NavigationConfig.Nav(NavigationConfig.Navigation navigation,
                            Element navElement)
Method Detail

getParent

public NavigationConfig.Nav getParent()

getNavigation

public NavigationConfig.Navigation getNavigation()

addChild

public void addChild(NavigationConfig.Nav nav)

getChildNavs

public List<NavigationConfig.Nav> getChildNavs()

getMaxsize

public int getMaxsize()

setMaxsize

public void setMaxsize(int maxsize)

getStaticParameters

public Map<String,String> getStaticParameters()

setStaticParameters

public void setStaticParameters(Map<String,String> staticParameters)

getId

public String getId()

setId

public void setId(String id)

getTab

public String getTab()

setTab

public void setTab(String tab)

isOut

public boolean isOut()

setOut

public void setOut(boolean out)

getCommandName

public String getCommandName()

setCommandName

public void setCommandName(String commandName)

getField

public String getField()

setField

public void setField(String field)

getBackText

public String getBackText()

setBackText

public void setBackText(String backText)

isVirtual

public boolean isVirtual()

toString

public String toString()
Overrides:
toString in class Object

isAutoNavigation

public boolean isAutoNavigation()
Automatically select a child when only one child exists. This repeats down to a level where the user actually has a choice of navigators to pick from. For this to work any model level navigators must exist down each level, eg defining fast navigators in a hierarchical way in modes.xml prevents the next level of navigators down from being selected there autoNavigation will not work.

Returns:
true if autoNavigation is enabled

setAutoNavigation

public void setAutoNavigation(boolean autoNavigation)


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.