Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ibm.portal.theme.plugin
Interface ThemeContent

All Superinterfaces:
  Localized

All Known Subinterfaces:
  ThemeInclude, ThemeItem, ThemeJspInclude, ThemeLinkItem, ThemeTextItem

All Known Implementing Classes:
  DefaultThemeContent, DefaultThemeItem, DefaultThemeJspInclude, DefaultThemeLinkItem, DefaultThemeTextItem

    public interface ThemeContent

extends Localized

A generic interface for theme content. `ThemeContent` describes any element which contributes content to the theme via a defined extension point in the theme.

Since:
  6.0
Note:

  This interface is designed to be implemented by clients.

Method Summary
`int` | `getOrdinal()` Gets the ordinal value.
`void` | `init(ThemeContext context)` Initializes the `ThemeContent` object with the current context.

Methods inherited from interface com.ibm.portal.Localized
`getDescription, getLocales, getTitle`

Method Detail

### init

    void init(ThemeContext context)
              throws ThemeExtensionInitException

  Initializes the `ThemeContent` object with the current context.

  Parameters:
    `context` - the initialized current context
  Throws:
    `ThemeExtensionInitException`

### getOrdinal

    int getOrdinal()

  Gets the ordinal value. If no value has been specified, this method should return -1. The lower the value of the ordinal, the higher the priority.

  Returns:
    the ordinal value or -1 as a default value

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD