Class PropertiesUtil

java.lang.Object
net.infonode.docking.util.PropertiesUtil

public class PropertiesUtil extends Object
Utility functions for manipulating properties.
Since:
IDW 1.4.0
  • Method Details

    • 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:

      • 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