public class BasicTextFieldUI extends BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter| Constructor and Description |
|---|
BasicTextFieldUI() |
| Modifier and Type | Method and Description |
|---|---|
View |
create(Element elem)
|
static ComponentUI |
createUI(JComponent c) |
protected String |
getPropertyPrefix()
Returns the prefix for entries in the
UIDefaults table. |
void |
installUI(JComponent c)
Installs this UI on the text component.
|
protected void |
propertyChange(PropertyChangeEvent event)
Receives notification whenever one of the text component's bound
properties changes.
|
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, viewToModelgetToolTipTextcontains, getAccessibleChild, getAccessibleChildrenCountpublic BasicTextFieldUI()
public View create(Element elem)
BasicTextUIcreate in interface ViewFactorycreate in class BasicTextUIelem - the Element to create a View forViewFactorypublic static ComponentUI createUI(JComponent c)
protected String getPropertyPrefix()
UIDefaults table.getPropertyPrefix in class BasicTextUIpublic void installUI(JComponent c)
BasicTextUIinstallUI in class BasicTextUIc - the text component on which to install the UIComponentUI.uninstallUI(javax.swing.JComponent),
JComponent.setUI(javax.swing.plaf.ComponentUI),
JComponent.updateUI()protected void propertyChange(PropertyChangeEvent event)
The colors are only changed if they are not a
ColorUIResource.
propertyChange in class BasicTextUIevent - the property change event