TransitionAwareUI
public class SubstancePasswordFieldUI extends javax.swing.plaf.basic.BasicPasswordFieldUI implements TransitionAwareUI
Modifier and Type | Field | Description |
---|---|---|
protected javax.swing.JPasswordField |
passwordField |
The associated password field.
|
protected StateTransitionTracker |
stateTransitionTracker |
|
protected java.beans.PropertyChangeListener |
substancePropertyChangeListener |
Property change listener.
|
Constructor | Description |
---|---|
SubstancePasswordFieldUI(javax.swing.JComponent c) |
Creates the UI delegate for the specified component (password field).
|
Modifier and Type | Method | Description |
---|---|---|
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() |
getBaseline, getBaselineResizeBehavior
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installUI, modelChanged, modelToView, modelToView, modelToView2D, paint, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallUI, update, viewToModel, viewToModel, viewToModel2D
contains, getAccessibleChild, getAccessibleChildrenCount
protected StateTransitionTracker stateTransitionTracker
protected javax.swing.JPasswordField passwordField
protected java.beans.PropertyChangeListener substancePropertyChangeListener
public SubstancePasswordFieldUI(javax.swing.JComponent c)
c
- Component.public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
public javax.swing.text.View create(javax.swing.text.Element elem)
create
in class javax.swing.plaf.basic.BasicPasswordFieldUI
protected void installListeners()
installListeners
in class javax.swing.plaf.basic.BasicTextUI
protected void uninstallListeners()
uninstallListeners
in class javax.swing.plaf.basic.BasicTextUI
protected void installDefaults()
installDefaults
in class javax.swing.plaf.basic.BasicPasswordFieldUI
protected void paintBackground(java.awt.Graphics g)
paintBackground
in class javax.swing.plaf.basic.BasicTextUI
public boolean isInside(java.awt.event.MouseEvent me)
TransitionAwareUI
isInside
in interface TransitionAwareUI
me
- 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