|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.swinglib.UIHelper
public class UIHelper
Static methods and constants that help build UI objects with a consistent appearance.
Field Summary | |
---|---|
static Color |
HIGHLIGHT_COLOR
The highlight color for invalid fields. |
static int |
STANDARD_SPACE
An "inter-component" horizontal space, also used as the standard inset from a frame to its content. |
Constructor Summary | |
---|---|
UIHelper()
|
Method Summary | |
---|---|
static Border |
dialogBorder()
The border to be used around a dialog's content. |
static Border |
dialogGroupBorder()
The border to be used around a group of components in a dialog. |
static Component |
interButtonSpace()
A horizontal strut between buttons on the same line. |
static JDialog |
newModalDialog(JFrame owner,
String title,
JPanel content,
Action... actions)
Builds a standard modal input dialog, with content and buttons to accept or cancel that content. |
static JDialog |
newModalDialog(JFrame owner,
String title,
JPanel content,
JButton... buttons)
Builds a standard modal input dialog, with content and buttons to accept or cancel that content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int STANDARD_SPACE
public static final Color HIGHLIGHT_COLOR
Constructor Detail |
---|
public UIHelper()
Method Detail |
---|
public static Border dialogBorder()
public static Border dialogGroupBorder()
public static Component interButtonSpace()
public static JDialog newModalDialog(JFrame owner, String title, JPanel content, JButton... buttons)
public static JDialog newModalDialog(JFrame owner, String title, JPanel content, Action... actions)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |