org.apache.lenya.cms.usecase.gui.impl
Class TabImpl

java.lang.Object
  extended by org.apache.lenya.cms.usecase.gui.impl.TabImpl
All Implemented Interfaces:
Tab

public class TabImpl
extends java.lang.Object
implements Tab

Tab implementation.


Constructor Summary
TabImpl(java.lang.String group, java.lang.String name, java.lang.String usecase, java.lang.String label)
          Ctor.
 
Method Summary
 java.lang.String getGroup()
           
 java.lang.String getLabel()
           
 java.lang.String getName()
           
 java.lang.String getParameter(java.lang.String key)
          Returns the value of a certain parameter to pass to the usecase upon invocation.
 java.lang.String[] getParameterNames()
           
 java.lang.String getUsecase()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabImpl

public TabImpl(java.lang.String group,
               java.lang.String name,
               java.lang.String usecase,
               java.lang.String label)
Ctor.

Parameters:
group - The name of the usecase group.
name - The name of the tab.
usecase - The usecase to be displayed.
label - The label to be displayed on the tab.
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Tab
Returns:
The name of the tab.

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface Tab
Returns:
The label.

getUsecase

public java.lang.String getUsecase()
Specified by:
getUsecase in interface Tab
Returns:
The usecase which is displayed on the tab.

getGroup

public java.lang.String getGroup()
Specified by:
getGroup in interface Tab
Returns:
The group this tab belongs to.

getParameterNames

public java.lang.String[] getParameterNames()
Specified by:
getParameterNames in interface Tab
Returns:
The names of the parameters to pass to the usecase upon invocation.

getParameter

public java.lang.String getParameter(java.lang.String key)
Description copied from interface: Tab
Returns the value of a certain parameter to pass to the usecase upon invocation.

Specified by:
getParameter in interface Tab
Parameters:
key - The value.
Returns:
A string.


Copyright © $ Apache Software Foundation. All Rights Reserved.