org.apache.wicket.extensions.markup.html.tabs
Class AbstractTab

java.lang.Object
  extended by org.apache.wicket.extensions.markup.html.tabs.AbstractTab
All Implemented Interfaces:
java.io.Serializable, ITab, IClusterable

public abstract class AbstractTab
extends java.lang.Object
implements ITab

Convinience class that takes care of common ITab functionality

Author:
Igor Vaynberg (ivaynberg)
See Also:
ITab, Serialized Form

Constructor Summary
AbstractTab(IModel title)
          Constructor
 
Method Summary
abstract  Panel getPanel(java.lang.String panelId)
           
 IModel getTitle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTab

public AbstractTab(IModel title)
Constructor

Parameters:
title - IModel used to represent the title of the tab. Must contain a string
Method Detail

getTitle

public IModel getTitle()
Specified by:
getTitle in interface ITab
Returns:
IModel used to represent the title of the tab. Must contain a string.
See Also:
ITab.getTitle()

getPanel

public abstract Panel getPanel(java.lang.String panelId)
Specified by:
getPanel in interface ITab
Parameters:
panelId - returned panel MUST have this id
Returns:
a Panel object that will be placed as the content panel
See Also:
ITab.getPanel(java.lang.String)


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.