public class AppearanceConfig extends Configuration
限定符和类型 | 字段和说明 |
---|---|
static int |
COLOR_SCHEME_DEFAULT |
static int |
HEADER_BG_DEFAULT |
static int |
HEADER_TYPE_DEFAULT |
构造器和说明 |
---|
AppearanceConfig() |
限定符和类型 | 方法和说明 |
---|---|
void |
addImage(java.lang.String id,
java.lang.String path) |
int |
getColorScheme() |
java.lang.String |
getCover() |
java.util.List<java.lang.String> |
getCustomColors() |
java.lang.String |
getHeadBgColor() |
java.lang.String |
getHeadBgImgId() |
java.lang.String |
getHeadBgImgName() |
int |
getHeadBgMode() |
int |
getHeaderType() |
java.lang.String |
getImage(java.lang.String id) |
static AppearanceConfig |
getInstance() |
java.lang.String |
getLoginImgId() |
java.lang.String |
getLoginLogoImgId() |
java.lang.String |
getLoginLogoImgName() |
java.lang.String |
getLoginTitle() |
int |
getLoginType() |
java.lang.String |
getLoginUrl() |
java.lang.String |
getLogoImgId() |
java.lang.String |
getLogoImgName() |
java.lang.String |
getName() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
java.lang.String |
getPlatformTitle() |
java.lang.String |
getText() |
java.lang.String |
getThemeId() |
boolean |
isLoginImg() |
void |
resetThemeId() |
void |
setColorScheme(int colorScheme) |
void |
setCover(java.lang.String cover) |
void |
setCustomColors(java.util.List<java.lang.String> customColors) |
void |
setHeadBgColor(java.lang.String headBgColor) |
void |
setHeadBgImgId(java.lang.String headBgImgId) |
void |
setHeadBgImgName(java.lang.String headBgImgName) |
void |
setHeadBgMode(int headBgMode) |
void |
setHeaderType(int headerType) |
void |
setLoginImg(boolean loginImg) |
void |
setLoginImgId(java.lang.String loginImgId) |
void |
setLoginLogoImgId(java.lang.String loginLogoImgId) |
void |
setLoginLogoImgName(java.lang.String loginLogoImgName) |
void |
setLoginTitle(java.lang.String loginTitle) |
void |
setLoginType(int loginType) |
void |
setLoginUrl(java.lang.String loginUrl) |
void |
setLogoImgId(java.lang.String logoImgId) |
void |
setLogoImgName(java.lang.String logoImgName) |
void |
setName(java.lang.String name) |
void |
setPlatformTitle(java.lang.String platformTitle) |
void |
setText(java.lang.String text) |
void |
setThemeId(java.lang.String themeId) |
clone, initialize, mirror
public static final int HEADER_TYPE_DEFAULT
public static final int HEADER_BG_DEFAULT
public static final int COLOR_SCHEME_DEFAULT
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 Configuration
public static AppearanceConfig getInstance()
public int getLoginType()
public void setLoginType(int loginType)
public boolean isLoginImg()
public void setLoginImg(boolean loginImg)
public java.lang.String getLoginImgId()
public void setLoginImgId(java.lang.String loginImgId)
public void setLoginLogoImgId(java.lang.String loginLogoImgId)
public java.lang.String getLoginLogoImgId()
public java.lang.String getLoginLogoImgName()
public void setLoginLogoImgName(java.lang.String loginLogoImgName)
public java.lang.String getLoginUrl()
public void setLoginUrl(java.lang.String loginUrl)
public java.lang.String getLoginTitle()
public void setLoginTitle(java.lang.String loginTitle)
public int getHeadBgMode()
public void setHeadBgMode(int headBgMode)
public java.lang.String getHeadBgColor()
public void setHeadBgColor(java.lang.String headBgColor)
public int getColorScheme()
public void setColorScheme(int colorScheme)
public java.util.List<java.lang.String> getCustomColors()
public void setCustomColors(java.util.List<java.lang.String> customColors)
public java.lang.String getThemeId()
public void setThemeId(java.lang.String themeId)
public void resetThemeId()
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getText()
public void setText(java.lang.String text)
public java.lang.String getCover()
public void setCover(java.lang.String cover)
public java.lang.String getPlatformTitle()
public void setPlatformTitle(java.lang.String platformTitle)
public int getHeaderType()
public void setHeaderType(int headerType)
public java.lang.String getLogoImgId()
public void setLogoImgId(java.lang.String logoImgId)
public java.lang.String getLogoImgName()
public void setLogoImgName(java.lang.String logoImgName)
public java.lang.String getHeadBgImgId()
public void setHeadBgImgId(java.lang.String headBgImgId)
public java.lang.String getHeadBgImgName()
public void setHeadBgImgName(java.lang.String headBgImgName)
public void addImage(java.lang.String id, java.lang.String path)
public java.lang.String getImage(java.lang.String id)