|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.jadice.swing.util.UI
public class UI
This is a collection of UI-related static utility methods and constants.
Method Summary | |
---|---|
static Border |
createDefaultDialogBorder(Container parent,
JComponent content)
Create a border used to separate the dialog content from the frame. |
static Component |
createRelatedHorizontalGap(Container parent,
JComponent left,
JComponent right)
Create a horizontal strut used to separate two related components. |
static Component |
createRelatedVerticalGap(Container parent,
JComponent top,
JComponent bottom)
Create a vertical strut used to separate two related components. |
static Component |
createUnrelatedHorizontalGap(Container parent,
JComponent left,
JComponent right)
Create a horizontal strut used to separate two unrelated components. |
static Component |
createUnrelatedVerticalGap(Container parent,
JComponent top,
JComponent bottom)
Create a vertical strut used to separate two unrelated components. |
static Insets |
getDialogInsets()
Return the default insets for dialogs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Insets getDialogInsets()
public static Component createRelatedHorizontalGap(Container parent, JComponent left, JComponent right)
parent
- the parent containerleft
- right
-
public static Component createRelatedVerticalGap(Container parent, JComponent top, JComponent bottom)
parent
- the parent containertop
- bottom
-
public static Component createUnrelatedVerticalGap(Container parent, JComponent top, JComponent bottom)
parent
- the parent containertop
- bottom
-
public static Component createUnrelatedHorizontalGap(Container parent, JComponent left, JComponent right)
parent
- the parent containerleft
- right
-
public static Border createDefaultDialogBorder(Container parent, JComponent content)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |