public class PropertiesUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static RootWindowProperties |
createTitleBarStyleRootWindowProperties()
Creates and returns a new
RootWindowProperties object that is meant to be
added as super object on another RootWindowProperties object, for example
a theme's RootWindowProperties . |
static void |
setTitleBarStyle(RootWindowProperties rootProps)
Sets title bar style in the given root window properties object.
|
public static RootWindowProperties createTitleBarStyleRootWindowProperties()
Creates and returns a new RootWindowProperties
object that is meant to be
added as super object on another RootWindowProperties
object, for example
a theme's RootWindowProperties
.
The created properties object will have title bar style properties set, see
setTitleBarStyle(RootWindowProperties)
.
public static void setTitleBarStyle(RootWindowProperties rootProps)
Sets title bar style in the given root window properties object.
This function sets properties in the give RootWindowProperties
object:
Note: It will modify properties values in the object without checking if it was already set i.e. overwriting the previous value.
rootProps
- RootWindowProperties
object to modify