org.equanda.tapestry5.components
Class MemTabs
java.lang.Object
org.equanda.tapestry5.base.TitleContent
org.equanda.tapestry5.components.Tabs
org.equanda.tapestry5.components.MemTabs
@SupportsInformalParameters
public class MemTabs
- extends Tabs
Tabs component that overrides the management of remembering current tab. The parent uses cookies,
this class uses AJAX technology and a persistent field.
- Author:
- Geert Mergan
Method Summary |
protected int |
getActiveIndex()
|
boolean |
isUsingCookies()
TitleContent provides a cookie-based mechanism to keep track of the component which is currently active. |
org.apache.tapestry5.json.JSONObject |
onTitleSelected(int tabIndex)
|
protected void |
setActiveIndex(int activeIndex)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemTabs
public MemTabs()
isUsingCookies
public boolean isUsingCookies()
- Description copied from class:
TitleContent
- TitleContent provides a cookie-based mechanism to keep track of the component which is currently active.
Is the superclass going to use this cookie-based mechanism or not?
- Overrides:
isUsingCookies
in class Tabs
- Returns:
- true if it will use the cookies, false otherwise.
getActiveIndex
protected int getActiveIndex()
- Overrides:
getActiveIndex
in class TitleContent
setActiveIndex
protected void setActiveIndex(int activeIndex)
- Overrides:
setActiveIndex
in class TitleContent
onTitleSelected
public org.apache.tapestry5.json.JSONObject onTitleSelected(int tabIndex)
Copyright © 2007-2009. All Rights Reserved.