Package org.opencms.jsp.util
Class CmsSchemaInfo.Tab
java.lang.Object
org.opencms.jsp.util.CmsSchemaInfo.Tab
- All Implemented Interfaces:
I_CmsInfoWrapper
- Enclosing class:
- CmsSchemaInfo
Represents the a single editor tab and its fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(CmsSchemaInfo.Field field) Adds a field.Gets the description.getDescription
(Locale locale) Gets the localized description.Gets the description key.Gets the raw description string.Gets the display name.Gets the display name key.Gets the raw display name string.Gets the fields.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opencms.jsp.util.I_CmsInfoWrapper
getDescription
-
Constructor Details
-
Tab
public Tab()Default constructor - doesn't initialize anything.Used for 'dummy' tab that is generated when no actual tabs are configured.
-
Tab
Constructor for tab that is actually configured in the schema.- Parameters:
defaultLocale
- the default localetabIndex
- the current tab indextabInfoProvider
- the function that provides the list of localized tab info objects
-
-
Method Details
-
add
Adds a field.- Parameters:
field
- the field to add
-
getDescription
Gets the description.- Specified by:
getDescription
in interfaceI_CmsInfoWrapper
- Returns:
- the description
-
getDescription
Gets the localized description.- Specified by:
getDescription
in interfaceI_CmsInfoWrapper
- Parameters:
locale
- the locale- Returns:
- the description for the locale
-
getDescriptionKey
Gets the description key.- Specified by:
getDescriptionKey
in interfaceI_CmsInfoWrapper
- Returns:
- the description key
-
getDescriptionRaw
Gets the raw description string.- Specified by:
getDescriptionRaw
in interfaceI_CmsInfoWrapper
- Returns:
- the raw description
-
getDisplayName
Gets the display name.- Returns:
- the display name
-
getDisplayNameKey
Gets the display name key.- Returns:
- the display name key
-
getDisplayNameRaw
Gets the raw display name string.- Returns:
- the raw display name string
-
getFields
Gets the fields.- Returns:
- the fields
-