net.infonode.docking.util
Class PropertiesUtil

java.lang.Object
  extended bynet.infonode.docking.util.PropertiesUtil

public class PropertiesUtil
extends Object

Utility functions for manipulating properties.

Since:
IDW 1.4.0

Method Summary
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createTitleBarStyleRootWindowProperties

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).

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:

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


Copyright © 2007 NNL Technology AB. All Rights Reserved.