public class MetalTextFieldUI extends BasicTextFieldUI
JTextField
component.BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
Constructor and Description |
---|
MetalTextFieldUI()
Constructs a new instance of MetalTextFieldUI.
|
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent component)
Returns a new instance of
MetalTextFieldUI . |
void |
propertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed on the associated
JTextComponent.
|
create, getPropertyPrefix, installUI
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
getToolTipText
contains, getAccessibleChild, getAccessibleChildrenCount
public MetalTextFieldUI()
public static ComponentUI createUI(JComponent component)
MetalTextFieldUI
.component
- the component for which we return an UI instanceMetalTextFieldUI
.public void propertyChange(PropertyChangeEvent evt)
propertyChange
in class BasicTextFieldUI
evt
- the property change event