public class SynthPasswordFieldUI extends SynthTextFieldUI
JPasswordField.
BasicTextUI.BasicCaret , BasicTextUI.BasicHighlighter DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED| Constructor and Description |
|---|
SynthPasswordFieldUI()
|
| Modifier and Type | Method and Description |
|---|---|
View |
create(Element
Creates a view (PasswordView) for an element.
|
static ComponentUI |
createUI(JComponent
Creates a UI for a JPasswordField.
|
protected String |
getPropertyPrefix()
Fetches the name used as a key to look up properties through the UIManager.
|
protected void |
installKeyboardActions()
|
void |
paintBorder(SynthContext
Paints the border.
|
getContext, installDefaults, paint, paintBackground, propertyChange, uninstallDefaults, updategetBaseline, getBaselineResizeBehaviorcreate, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintSafely, setView, uninstallKeyboardActions, uninstallListeners, uninstallUI, viewToModel, viewToModelcontains, getAccessibleChild, getAccessibleChildrenCountpublic static ComponentUIcreateUI(JComponent c)
c - the JPasswordField
protected StringgetPropertyPrefix()
getPropertyPrefix in class
BasicTextFieldUI
public Viewcreate(Element elem)
create in interface
ViewFactory
create in class
BasicTextFieldUI
elem - the element
View
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
protected void installKeyboardActions()