|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextFieldUI
javax.swing.plaf.synth.SynthTextFieldUI
javax.swing.plaf.synth.SynthPasswordFieldUI
public class SynthPasswordFieldUI extends SynthTextFieldUI
Provides the Synth L&F UI delegate for
JPasswordField.
| Modifier and Type | Class and Description |
|---|
| Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI |
|---|
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter |
| Modifier and Type | Field and Description |
|---|
| Fields inherited from interface javax.swing.plaf.synth.SynthConstants |
|---|
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED |
| Constructor and Description |
|---|
SynthPasswordFieldUI()
|
| Modifier and Type | Method and Description |
|---|---|
View |
create(Element elem)
Creates a view (PasswordView) for an element. |
static ComponentUI |
createUI(JComponent c)
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 context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border. |
| Methods inherited from class javax.swing.plaf.synth.SynthTextFieldUI |
|---|
getContext, installDefaults, paint, paintBackground, propertyChange, uninstallDefaults, update |
| Methods inherited from class javax.swing.plaf.basic.BasicTextFieldUI |
|---|
getBaseline, getBaselineResizeBehavior |
| Methods inherited from class javax.swing.plaf.basic.BasicTextUI |
|---|
create, 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, viewToModel |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SynthPasswordFieldUI()
| Method Detail |
|---|
public static ComponentUI createUI(JComponent c)
c - the JPasswordFieldprotected String getPropertyPrefix()
getPropertyPrefix in class BasicTextFieldUIpublic View create(Element elem)
create in interface ViewFactorycreate in class BasicTextFieldUIelem - the elementView
public void paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
SynthUI
paintBorder in interface SynthUIpaintBorder in class SynthTextFieldUIcontext - a component contextg - Graphics to paint onx - the X coordinatey - the Y coordinatew - width of the borderh - height of the borderprotected void installKeyboardActions()
installKeyboardActions in class BasicTextUI
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.