public interface UsabilitySwingManager
| Modifier and Type | Method and Description |
|---|---|
Component |
createJBlank(int width,
int height)
Creates a JBlank panel
|
JButton |
createJButton()
Creates a button with no set text or icon.
|
JButton |
createJButton(Action action)
Creates a button where properties are taken from the
Action
supplied. |
JButton |
createJButton(Icon icon)
Creates a button with an icon.
|
JButton |
createJButton(String text)
Creates a button with text.
|
JButton |
createJButton(String text,
Icon icon)
Creates a button with initial text and icon.
|
JSpinner |
createJNullSpinner(int dataType,
Object value)
Creates a spinner component that allows null values.
|
JSpinner |
createJNullSpinner(int dataType,
Object value,
int filledMaximumWidth)
Creates a spinner component that allows null values.
|
JTextArea |
createJTextArea(String text)
Creates a text area.
|
JTextArea |
createJTextArea(String text,
int filledMaximumWidth)
Creates a text area with a default maximum width.
|
JButton |
createJToolButton(String text)
Creates a tool button with text.
|
DynFieldEditor |
createNullSpinnerEditor(FocusListener listener,
DynField dynField,
Locale locale) |
JButton createJButton()
JButton createJButton(Action action)
Action
supplied.action - the Action used to specify the new button.JButton createJButton(Icon icon)
icon - the Icon image to display on the button.JButton createJButton(String text)
text - the text of the button.JButton createJButton(String text, Icon icon)
text - the text of the button.icon - the Icon image to display on the button.JButton createJToolButton(String text)
text - the text of the tool button.JTextArea createJTextArea(String text)
text - the text componentJTextArea createJTextArea(String text, int filledMaximumWidth)
text - the text componenttext - the text componentJSpinner createJNullSpinner(int dataType, Object value, int filledMaximumWidth)
text - the text componentvalue - the initial valuevalue - the maximum filling sizeJSpinner createJNullSpinner(int dataType, Object value)
int - the data type of dynobjectmanager.value - the initial valueDynFieldEditor createNullSpinnerEditor(FocusListener listener, DynField dynField, Locale locale)
Component createJBlank(int width, int height)
width - height -