Package net.infonode.docking.util
Class PropertiesUtil
java.lang.Object
net.infonode.docking.util.PropertiesUtil
Utility functions for manipulating properties.
- Since:
- IDW 1.4.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic RootWindowPropertiesCreates and returns a newRootWindowPropertiesobject that is meant to be added as super object on anotherRootWindowPropertiesobject, for example a theme'sRootWindowProperties.static voidsetTitleBarStyle(RootWindowProperties rootProps) Sets title bar style in the given root window properties object.
-
Method Details
-
createTitleBarStyleRootWindowProperties
Creates and returns a new
RootWindowPropertiesobject that is meant to be added as super object on anotherRootWindowPropertiesobject, for example a theme'sRootWindowProperties.The created properties object will have title bar style properties set, see
setTitleBarStyle(RootWindowProperties).- Returns:
- created properties object
-
setTitleBarStyle
Sets title bar style in the given root window properties object.
This function sets properties in the give
RootWindowPropertiesobject:- 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-RootWindowPropertiesobject to modify
-