public class ThemeManager extends Object
修飾子とタイプ | フィールドと説明 |
---|---|
protected static Map<String,jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme> |
DEFAULT_THEME_MAP
クライアントタイプ別のデフォルトのテーマを保持します
|
protected static List<jp.co.intra_mart.foundation.ui.theme.ThemeExtendLoadConfig.Extender> |
EXTENDER_LIST
テーマ拡張情報を保持します。
|
protected static int |
ID_MAX_LENGTH
テーマIDの最大長さ
|
protected static int |
ID_MIN_LENGTH
テーマIDの最小長さ
|
protected static Pattern |
ILLEGAL_PATTERN
テーマIDのパターン
|
protected static List<jp.co.intra_mart.foundation.ui.theme.libraries.ThemeLibrariesConfig.Libraries> |
LIBRARIES_LIST
ライブラリ読み込み情報を保持します。
|
static String |
THEME_LIBRARIES_VERSION |
protected static ArrayList<jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme> |
THEME_LIST
テーマのリストを保持します
|
protected static Map<String,ArrayList<jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme>> |
THEME_MAP
クライアントタイプ別のテーマのリストを保持します
|
コンストラクタと説明 |
---|
ThemeManager() |
修飾子とタイプ | メソッドと説明 |
---|---|
List<jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme> |
getAllTheme()
現在のクライアントタイプIDに紐づくテーマの情報をすべて取得します。
|
List<jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme> |
getAllTheme(String clientTypeId)
指定されたクライアントタイプIDに紐づくテーマの情報をすべて取得します。
|
jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme |
getDefaultTheme()
現在のクライアントタイプIDに紐づくデフォルトのテーマを取得します。
|
jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme |
getDefaultTheme(String clientTypeId)
指定されたクライアントタイプIDに紐づくデフォルトのテーマの情報を取得します。
|
String |
getEncodedHomeUrl()
ホーム URL に指定された URL をエンコードした文字列表現を返します。
|
List<String> |
getExtendLoadList()
テーマ拡張のパスを返します。
|
String |
getLibrariesPath()
ライブラリ読み込みの文字列を返します。
|
String |
getLibrariesPath(String version)
指定されたバージョンを対象とするライブラリ読み込みの文字列を返します。
|
String |
getLibrariesPath(String version,
String clientType)
指定されたバージョン、クライアントタイプIDを対象とするライブラリ読み込みの文字列を返します。
|
jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme |
getTheme()
ユーザのコンテキストに紐付くテーマを返します。
|
jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme |
getTheme(String themeId)
パラメータに指定されたテーマIDをもつテーマを返します。
|
protected static final ArrayList<jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme> THEME_LIST
protected static final Map<String,jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme> DEFAULT_THEME_MAP
protected static final Map<String,ArrayList<jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme>> THEME_MAP
protected static final List<jp.co.intra_mart.foundation.ui.theme.libraries.ThemeLibrariesConfig.Libraries> LIBRARIES_LIST
protected static final List<jp.co.intra_mart.foundation.ui.theme.ThemeExtendLoadConfig.Extender> EXTENDER_LIST
protected static final Pattern ILLEGAL_PATTERN
protected static final int ID_MIN_LENGTH
protected static final int ID_MAX_LENGTH
public List<jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme> getAllTheme()
public List<jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme> getAllTheme(String clientTypeId)
clientTypeId
- クライアントタイプIDpublic jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme getDefaultTheme()
public jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme getDefaultTheme(String clientTypeId)
clientTypeId
- クライアントタイプIDpublic String getEncodedHomeUrl()
public jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme getTheme()
public jp.co.intra_mart.foundation.ui.theme.ThemeConfig.Theme getTheme(String themeId)
themeId
- テーマのIDpublic String getLibrariesPath()
public String getLibrariesPath(String version)
version
- バージョンpublic String getLibrariesPath(String version, String clientType)
version
- バージョンclientType
- クライアントタイプIDCopyright © 2012 NTT DATA INTRAMART CORPORATION