|
|||||||||
| 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.basic.BasicPasswordFieldUI
org.pushingpixels.substance.internal.ui.SubstancePasswordFieldUI
public class SubstancePasswordFieldUI
UI for password fields in Substance look and feel.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI |
|---|
javax.swing.plaf.basic.BasicTextUI.BasicCaret, javax.swing.plaf.basic.BasicTextUI.BasicHighlighter |
| Field Summary | |
|---|---|
protected javax.swing.JPasswordField |
passwordField
The associated password field. |
protected StateTransitionTracker |
stateTransitionTracker
|
protected java.beans.PropertyChangeListener |
substancePropertyChangeListener
Property change listener. |
| Constructor Summary | |
|---|---|
SubstancePasswordFieldUI(javax.swing.JComponent c)
Creates the UI delegate for the specified component (password field). |
|
| Method Summary | |
|---|---|
javax.swing.text.View |
create(javax.swing.text.Element elem)
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent comp)
|
StateTransitionTracker |
getTransitionTracker()
Returns the model for tracking the transitions. |
protected void |
installDefaults()
|
protected void |
installListeners()
|
boolean |
isInside(java.awt.event.MouseEvent me)
Checks whether the mouse position of the specified event lies inside the area of the component designated for transition effects. |
protected void |
paintBackground(java.awt.Graphics g)
|
protected void |
uninstallListeners()
|
| Methods inherited from class javax.swing.plaf.basic.BasicPasswordFieldUI |
|---|
getPropertyPrefix |
| 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, installKeyboardActions, installUI, modelChanged, modelToView, modelToView, paint, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallUI, update, 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 |
| Field Detail |
|---|
protected StateTransitionTracker stateTransitionTracker
protected javax.swing.JPasswordField passwordField
protected java.beans.PropertyChangeListener substancePropertyChangeListener
| Constructor Detail |
|---|
public SubstancePasswordFieldUI(javax.swing.JComponent c)
c - Component.| Method Detail |
|---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
public javax.swing.text.View create(javax.swing.text.Element elem)
create in interface javax.swing.text.ViewFactorycreate in class javax.swing.plaf.basic.BasicPasswordFieldUIprotected void installListeners()
installListeners in class javax.swing.plaf.basic.BasicTextUIprotected void uninstallListeners()
uninstallListeners in class javax.swing.plaf.basic.BasicTextUIprotected void installDefaults()
installDefaults in class javax.swing.plaf.basic.BasicPasswordFieldUIprotected void paintBackground(java.awt.Graphics g)
paintBackground in class javax.swing.plaf.basic.BasicTextUIpublic boolean isInside(java.awt.event.MouseEvent me)
TransitionAwareUI
isInside in interface TransitionAwareUIme - Mouse event.
true if the mouse position of the specified event
lies inside the area of the component designated for transition
effects, false otherwise.public StateTransitionTracker getTransitionTracker()
TransitionAwareUI
getTransitionTracker in interface TransitionAwareUI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||