public class SynthFormattedTextFieldUI extends SynthTextFieldUI
JFormattedTextField.
BasicTextUI.BasicCaret , BasicTextUI.BasicHighlighter DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED| Constructor and Description |
|---|
SynthFormattedTextFieldUI()
|
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent
Creates a UI for a JFormattedTextField.
|
protected String |
getPropertyPrefix()
Fetches the name used as a key to lookup properties through the UIManager.
|
void |
paintBorder(SynthContext
Paints the border.
|
getContext, installDefaults, paint, paintBackground, propertyChange, uninstallDefaults, updatecreate, getBaseline, getBaselineResizeBehaviorcreate, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintSafely, setView, uninstallKeyboardActions, uninstallListeners, uninstallUI, viewToModel, viewToModelcontains, getAccessibleChild, getAccessibleChildrenCountpublic static ComponentUIcreateUI(JComponent c)
c - the formatted text field
protected StringgetPropertyPrefix()
getPropertyPrefix in class
BasicTextFieldUI
public void paintBorder(SynthContextcontext, Graphics g, int x, int y, int w, int h)
paintBorder in interface
SynthUI
paintBorder in class
SynthTextFieldUI
context - a component context
g -
Graphics to paint on
x - the X coordinate
y - the Y coordinate
w - width of the border
h - height of the border