|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.base.theme.ThemeType
public class ThemeType
A ThemeType is a way to bind a theme to the application. There are various ways to map a theme to the application, such as URL matching. The theme will be determined in order of the ThemeType precedence
| Field Summary | |
|---|---|
static ThemeType |
GLOBAL
Type representing a Global map. |
static ThemeType |
LOCALE
Type representing a Locale map. |
protected static ThemeType[] |
types
Array containing all ThemeType objects. |
static ThemeType |
URL
Type representing a URL map. |
| Constructor Summary | |
|---|---|
ThemeType(java.lang.String name,
int precedence)
|
|
| Method Summary | |
|---|---|
static ThemeType |
fromString(java.lang.String name)
Loads a ThemeType object from the name of the theme type. |
java.lang.String |
getI18nKey()
Returns an i18n key of this theme type for internationalization. |
int |
getPrecedence()
Gets the precedence for this theme type. |
static ThemeType[] |
getTypes()
Returns an array of all theme types, ordered by precedence. |
void |
setPrecedence(int precedence)
Sets the precedence for this theme type. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ThemeType GLOBAL
public static final ThemeType URL
public static final ThemeType LOCALE
protected static ThemeType[] types
| Constructor Detail |
|---|
public ThemeType(java.lang.String name,
int precedence)
| Method Detail |
|---|
public void setPrecedence(int precedence)
precedence - the precedence for this theme type.public int getPrecedence()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getI18nKey()
public static ThemeType fromString(java.lang.String name)
name - the name of the theme type
public static ThemeType[] getTypes()
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||