public class HintableTextBoxUI
extends javax.swing.plaf.basic.BasicTextFieldUI
implements java.awt.event.FocusListener
Constructor and Description |
---|
HintableTextBoxUI(java.lang.String hint,
java.lang.String hintTooltip)
Create the Hint UI with the the Hint and Tooltip text.
|
HintableTextBoxUI(java.lang.String hint,
java.lang.String hintTooltip,
java.awt.Color color)
Create the Hint UI with the Hint and Tooltip text, and color for the Hint Text.
|
HintableTextBoxUI(java.lang.String hint,
java.lang.String hintMessage,
java.lang.String disabledText,
java.lang.String disabedMessage,
java.awt.Color color) |
Modifier and Type | Method and Description |
---|---|
void |
focusGained(java.awt.event.FocusEvent e) |
void |
focusLost(java.awt.event.FocusEvent e) |
create, createUI, getBaseline, getBaselineResizeBehavior
create, damageRange, damageRange, getEditorKit, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, installUI, modelToView, modelToView, paint, uninstallUI, update, viewToModel, viewToModel
public HintableTextBoxUI(java.lang.String hint, java.lang.String hintTooltip)
hint
- hintTooltip
- public HintableTextBoxUI(java.lang.String hint, java.lang.String hintTooltip, java.awt.Color color)
hint
- hintTooltip
- color
- public HintableTextBoxUI(java.lang.String hint, java.lang.String hintMessage, java.lang.String disabledText, java.lang.String disabedMessage, java.awt.Color color)