| Modifier and Type | Field and Description |
|---|---|
| private final DocumentFilter | |
| private final int | |
| private final int | |
| private JFormattedTextField |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | focusGained(FocusEvent event)
Implements java. Invoked when a component gains the keyboard focus. |
| public void | focusLost(FocusEvent event)
Implements java. Invoked when a component loses the keyboard focus. |
| protected DocumentFilter | getDocumentFilter()
Overrides javax. Subclass and override if you wish to provide a
|
| pack-priv static void | |
| private boolean | |
| private boolean | |
| public void | |
| public Object | stringToValue(String text)
Implements abstract javax. Parses |
| public String | valueToString(Object object)
Implements abstract javax. Returns the string value to display for |
| filter | back to summary |
|---|---|
| private final DocumentFilter filter | |
| length | back to summary |
|---|---|
| private final int length | |
| radix | back to summary |
|---|---|
| private final int radix | |
| text | back to summary |
|---|---|
| private JFormattedTextField text | |
| ValueFormatter | back to summary |
|---|---|
| pack-priv ValueFormatter(int length, boolean hex) | |
| focusGained | back to summary |
|---|---|
| public void focusGained(FocusEvent event) Implements java. Doc from java. Invoked when a component gains the keyboard focus. | |
| focusLost | back to summary |
|---|---|
| public void focusLost(FocusEvent event) Implements java. Doc from java. Invoked when a component loses the keyboard focus. | |
| getDocumentFilter | back to summary |
|---|---|
| protected DocumentFilter getDocumentFilter() Overrides javax. Doc from javax. Subclass and override if you wish to provide a
| |
| init | back to summary |
|---|---|
| pack-priv static void init(int length, boolean hex, JFormattedTextField text) | |
| isValid | back to summary |
|---|---|
| private boolean isValid(int length) | |
| isValid | back to summary |
|---|---|
| private boolean isValid(String text) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |
| stringToValue | back to summary |
|---|---|
| public Object stringToValue(String text) throws ParseException Implements abstract javax. Doc from javax. Parses
| |
| valueToString | back to summary |
|---|---|
| public String valueToString(Object object) throws ParseException Implements abstract javax. Doc from javax. Returns the string value to display for
| |