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 int
ON_PRIMARY
static int
ON_SECONDARY
static int
PRIMARY
static int
SECONDARY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBackgroundColor()
com.basis.startup.type.sysgui.BBjColor
getBBjBackgroundColor()
com.basis.bbj.proxies.sysgui.BBjFont
getBBjFont()
com.basis.bbj.proxies.sysgui.BBjFont
getBBjFont(String type)
com.basis.bbj.proxies.sysgui.BBjFont
getBBjFont(String type, int style)
com.basis.bbj.proxies.sysgui.BBjImage
getBBjImage(String iconPropertyKey)
com.basis.bbj.proxies.sysgui.BBjImage
getBBjImage(String iconPropertyKey, int onWhichBackground)
ColorShader
getErrorColorPalette()
String
getImagePath(String iconPropertyKey)
static Theme
getInstance()
static Theme
getInstance(String propertyPath, com.basis.bbj.proxies.BBjAPI bbjapi)
Double
getNumProperty(String propkey)
ColorShader
getPrimaryColorPalette()
String
getProperty(String propkey)
ColorShader
getSecondaryColorPalette()
static void
main(String[] args)
static void
setBBjAPI(com.basis.bbj.proxies.BBjAPI api)
static void
setPropertyPath(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.BBjException
IOException
-
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.BBjException
IOException
-
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:
IOException
com.basis.startup.type.BBjException
-
getInstance
public static Theme getInstance() throws IOException
- Throws:
IOException
-
-