Package net.infonode.docking.util
Class PropertiesUtil
- java.lang.Object
-
- net.infonode.docking.util.PropertiesUtil
-
public class PropertiesUtil extends java.lang.Object
Utility functions for manipulating properties.- Since:
- IDW 1.4.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RootWindowProperties
createTitleBarStyleRootWindowProperties()
Creates and returns a newRootWindowProperties
object that is meant to be added as super object on anotherRootWindowProperties
object, for example a theme'sRootWindowProperties
.static void
setTitleBarStyle(RootWindowProperties rootProps)
Sets title bar style in the given root window properties object.
-
-
-
Method Detail
-
createTitleBarStyleRootWindowProperties
public static RootWindowProperties createTitleBarStyleRootWindowProperties()
Creates and returns a new
RootWindowProperties
object that is meant to be added as super object on anotherRootWindowProperties
object, for example a theme'sRootWindowProperties
.The created properties object will have title bar style properties set, see
setTitleBarStyle(RootWindowProperties)
.- Returns:
- created properties object
-
setTitleBarStyle
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:- View title bars are made visible at the top of a view.
- Tab area is oriented below the content area.
- No tab buttons are visible (except custom buttons).
- No tab window buttons except scroll buttons, drop down list button and custom buttons.
- Hide the entire tab area when a tab window contains a view as the only child.
Note: It will modify properties values in the object without checking if it was already set i.e. overwriting the previous value.
- Parameters:
rootProps
-RootWindowProperties
object to modify
-
-