Package com.basiscomponents.ui.theming
Class Theme
- java.lang.Object
-
- com.basiscomponents.ui.theming.Theme
-
public class Theme extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intON_PRIMARYstatic intON_SECONDARYstatic intPRIMARYstatic intSECONDARY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBackgroundColor()com.basis.startup.type.sysgui.BBjColorgetBBjBackgroundColor()com.basis.bbj.proxies.sysgui.BBjFontgetBBjFont()com.basis.bbj.proxies.sysgui.BBjFontgetBBjFont(String type)com.basis.bbj.proxies.sysgui.BBjFontgetBBjFont(String type, int style)com.basis.bbj.proxies.sysgui.BBjImagegetBBjImage(String iconPropertyKey)com.basis.bbj.proxies.sysgui.BBjImagegetBBjImage(String iconPropertyKey, int onWhichBackground)ColorShadergetErrorColorPalette()StringgetImagePath(String iconPropertyKey)static ThemegetInstance()static ThemegetInstance(String propertyPath, com.basis.bbj.proxies.BBjAPI bbjapi)DoublegetNumProperty(String propkey)ColorShadergetPrimaryColorPalette()StringgetProperty(String propkey)ColorShadergetSecondaryColorPalette()static voidmain(String[] args)static voidsetBBjAPI(com.basis.bbj.proxies.BBjAPI api)static voidsetPropertyPath(String path)
-
-
-
Field Detail
-
PRIMARY
public static final int PRIMARY
- See Also:
- Constant Field Values
-
SECONDARY
public static final int SECONDARY
- See Also:
- Constant Field Values
-
ON_PRIMARY
public static final int ON_PRIMARY
- See Also:
- Constant Field Values
-
ON_SECONDARY
public static final int ON_SECONDARY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Theme
public Theme(String propertyPath) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getPrimaryColorPalette
public ColorShader getPrimaryColorPalette()
-
getSecondaryColorPalette
public ColorShader getSecondaryColorPalette()
-
getErrorColorPalette
public ColorShader getErrorColorPalette()
-
getBBjBackgroundColor
public com.basis.startup.type.sysgui.BBjColor getBBjBackgroundColor()
-
getBackgroundColor
public String getBackgroundColor()
-
getBBjFont
public com.basis.bbj.proxies.sysgui.BBjFont getBBjFont() throws com.basis.startup.type.BBjException- Throws:
com.basis.startup.type.BBjException
-
getBBjFont
public com.basis.bbj.proxies.sysgui.BBjFont getBBjFont(String type) throws com.basis.startup.type.BBjException
- Throws:
com.basis.startup.type.BBjException
-
getBBjFont
public com.basis.bbj.proxies.sysgui.BBjFont getBBjFont(String type, int style) throws com.basis.startup.type.BBjException
- Throws:
com.basis.startup.type.BBjException
-
getImagePath
public String getImagePath(String iconPropertyKey) throws com.basis.startup.type.BBjException
- Throws:
com.basis.startup.type.BBjException
-
getBBjImage
public com.basis.bbj.proxies.sysgui.BBjImage getBBjImage(String iconPropertyKey) throws com.basis.startup.type.BBjException, IOException
- Throws:
com.basis.startup.type.BBjExceptionIOException
-
getBBjImage
public com.basis.bbj.proxies.sysgui.BBjImage getBBjImage(String iconPropertyKey, int onWhichBackground) throws com.basis.startup.type.BBjException, IOException
- Throws:
com.basis.startup.type.BBjExceptionIOException
-
setPropertyPath
public static void setPropertyPath(String path)
-
setBBjAPI
public static void setBBjAPI(com.basis.bbj.proxies.BBjAPI api) throws com.basis.startup.type.BBjException- Throws:
com.basis.startup.type.BBjException
-
getInstance
public static Theme getInstance(String propertyPath, com.basis.bbj.proxies.BBjAPI bbjapi) throws IOException, com.basis.startup.type.BBjException
- Throws:
IOExceptioncom.basis.startup.type.BBjException
-
getInstance
public static Theme getInstance() throws IOException
- Throws:
IOException
-
-