no.sesat.search.view.navigation
Class NavigationConfig.Nav
java.lang.Object
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
NavigationConfig.Nav
public NavigationConfig.Nav(NavigationConfig.Nav parent,
NavigationConfig.Navigation navigation,
Element navElement)
NavigationConfig.Nav
public NavigationConfig.Nav(NavigationConfig.Navigation navigation,
Element navElement)
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.