com.javadocking.util
Class LookAndFeelUtil

java.lang.Object
  extended by com.javadocking.util.LookAndFeelUtil

public class LookAndFeelUtil
extends java.lang.Object

Most of the existing look and feels use borders for javax.swing.JSplitpanes. In a docking framework split panes can be nested. Borders can become very big. It is useful to remove the borders from the split panes and from the dividers of the split panes. This class provides the methods to do that.

Author:
Heidi Rakels.

Constructor Summary
LookAndFeelUtil()
           
 
Method Summary
static void removeAllSplitPaneBorders()
          Removes the borders from the split panes and split pane dividers.
static void removeSplitPaneBorder()
          Removes the borders from the split pane.
static void removeSplitPaneDividerBorder()
          Removes the borders from the split pane dividers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookAndFeelUtil

public LookAndFeelUtil()
Method Detail

removeAllSplitPaneBorders

public static void removeAllSplitPaneBorders()
Removes the borders from the split panes and split pane dividers.

See Also:
removeSplitPaneBorder(), removeSplitPaneDividerBorder()

removeSplitPaneBorder

public static void removeSplitPaneBorder()
Removes the borders from the split pane. The key SplitPane.border of the UIManager is given an EmptyBorder with size 0.


removeSplitPaneDividerBorder

public static void removeSplitPaneDividerBorder()
Removes the borders from the split pane dividers. The key SplitPaneDivider.border of the UIManager is given an EmptyBorder with size 0.