
public class UiUtilities extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
UiUtilities.ActionHandler |
| Constructor and Description |
|---|
UiUtilities(UiUtilities.ActionHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
static Dimension |
getSize(String text) |
static int |
maxEnumLabelWidth(Class enumClass) |
static int |
maxLabelWidth(String[] text,
String term) |
static JPanel |
newBorderedPanel(String title) |
JButton |
newButton(String title,
String name) |
JButton |
newButton(String title,
String name,
boolean fullSize) |
JCheckBox |
newCheckBox(String title,
String name) |
static JLabel |
newLabel(String text,
int width) |
JRadioButton |
newRadioButton(String title,
String name) |
JTextField |
newTextField(String text,
String name) |
TextFieldX |
newTextFieldX(String text,
String name,
int type) |
public UiUtilities(UiUtilities.ActionHandler handler)
public JRadioButton newRadioButton(String title, String name)
public JTextField newTextField(String text, String name)
public TextFieldX newTextFieldX(String text, String name, int type)
public static int maxEnumLabelWidth(Class enumClass)
Copyright © 2019 LSST. All rights reserved.