|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.javadocking.util.LookAndFeelUtil
public class LookAndFeelUtil
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.
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 |
---|
public LookAndFeelUtil()
Method Detail |
---|
public static void removeAllSplitPaneBorders()
removeSplitPaneBorder()
,
removeSplitPaneDividerBorder()
public static void removeSplitPaneBorder()
SplitPane.border
of the UIManager
is given an EmptyBorder
with size 0.
public static void removeSplitPaneDividerBorder()
SplitPaneDivider.border
of the UIManager
is given an EmptyBorder
with size 0.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |