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