public class UITextFieldUI
extends javax.swing.plaf.basic.BasicTextFieldUI
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
isRollOver |
| 构造器和说明 |
|---|
UITextFieldUI(javax.swing.JComponent textField) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
paintBackground(java.awt.Graphics g) |
void |
paintBorder(java.awt.Graphics2D g2d,
int width,
int height,
boolean isRound,
int rectDirection) |
void |
setBackgroundColor4NoGiveNumber(java.awt.Color color)
在出现不允许的数字时, 变换背景.
|
create, createUI, getBaseline, getBaselineResizeBehavior, getPropertyPrefixcreate, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModelprotected void paintBackground(java.awt.Graphics g)
paintBackground 在类中 javax.swing.plaf.basic.BasicTextUIpublic void setBackgroundColor4NoGiveNumber(java.awt.Color color)
public void paintBorder(java.awt.Graphics2D g2d,
int width,
int height,
boolean isRound,
int rectDirection)