org.enhydra.barracuda.config
Class TabsModel
java.lang.Object
|
+--org.enhydra.barracuda.core.comp.AbstractTemplateModel
|
+--org.enhydra.barracuda.config.TabsModel
- All Implemented Interfaces:
- Contextual, Model, TemplateModel
- public class TabsModel
- extends AbstractTemplateModel
TabsModel - this model doesn't actually return any data,
but instead processes directives to tell the template engine
which tabs are actually visible.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
CUR_TAB
public static final java.lang.String CUR_TAB
- See Also:
- Constant Field Values
COMP_TAB_COMP
public static final java.lang.String COMP_TAB_COMP
- See Also:
- Constant Field Values
COMP_TAB_MODEL
public static final java.lang.String COMP_TAB_MODEL
- See Also:
- Constant Field Values
COMP_TAB_VIEW
public static final java.lang.String COMP_TAB_VIEW
- See Also:
- Constant Field Values
COMP_TAB_REND
public static final java.lang.String COMP_TAB_REND
- See Also:
- Constant Field Values
DATA_TAB
public static final java.lang.String DATA_TAB
- See Also:
- Constant Field Values
DOM_TAB
public static final java.lang.String DOM_TAB
- See Also:
- Constant Field Values
EVENT_TAB
public static final java.lang.String EVENT_TAB
- See Also:
- Constant Field Values
FORMS_TAB
public static final java.lang.String FORMS_TAB
- See Also:
- Constant Field Values
UTIL_TAB
public static final java.lang.String UTIL_TAB
- See Also:
- Constant Field Values
VIEW_TAB
public static final java.lang.String VIEW_TAB
- See Also:
- Constant Field Values
ABOUT_TAB
public static final java.lang.String ABOUT_TAB
- See Also:
- Constant Field Values
validTabs
public static java.lang.String[] validTabs
parent
protected BTemplate parent
curTab
protected java.lang.String curTab
TabsModel
public TabsModel(BTemplate iparent)
getName
public java.lang.String getName()
setCurrentTab
public void setCurrentTab(java.lang.String tabName)
processDirective
public boolean processDirective(TemplateDirective td)
- Description copied from class:
AbstractTemplateModel
- process any directives. return false to indicate a the node
containing this directive should be skipped.
- Specified by:
processDirective
in interface TemplateModel
- Overrides:
processDirective
in class AbstractTemplateModel
Copyright © 2001 Enhydra.org