public final class ExtPasswordView
extends javax.swing.text.PasswordView
Constructor and Description |
---|
ExtPasswordView(javax.swing.text.Element element) |
Modifier and Type | Method and Description |
---|---|
protected int |
drawEchoCharacter(java.awt.Graphics g,
int x,
int y,
char c)
Overrides the superclass behavior to draw the Windows dot,
not the star ("*") character.
|
float |
getPreferredSpan(int axis) |
java.awt.Shape |
modelToView(int pos,
java.awt.Shape a,
javax.swing.text.Position.Bias b) |
int |
viewToModel(float fx,
float fy,
java.awt.Shape a,
javax.swing.text.Position.Bias[] bias) |
adjustAllocation, getFontMetrics, getResizeWeight, insertUpdate, paint, removeUpdate
changedUpdate, damageLineRange, drawLine, getLineBuffer, getTabSize, lineToRect, nextTabStop, setSize, updateDamage, updateMetrics
append, breakView, createFragment, forwardUpdate, forwardUpdateToView, getAlignment, getAttributes, getBreakWeight, getChildAllocation, getContainer, getDocument, getElement, getEndOffset, getGraphics, getMaximumSpan, getMinimumSpan, getNextVisualPositionFrom, getParent, getStartOffset, getToolTipText, getView, getViewCount, getViewFactory, getViewIndex, getViewIndex, insert, isVisible, modelToView, modelToView, preferenceChanged, remove, removeAll, replace, setParent, updateChildren, updateLayout, viewToModel
public float getPreferredSpan(int axis)
getPreferredSpan
in class javax.swing.text.PasswordView
public java.awt.Shape modelToView(int pos, java.awt.Shape a, javax.swing.text.Position.Bias b) throws javax.swing.text.BadLocationException
modelToView
in class javax.swing.text.PasswordView
javax.swing.text.BadLocationException
public int viewToModel(float fx, float fy, java.awt.Shape a, javax.swing.text.Position.Bias[] bias)
viewToModel
in class javax.swing.text.PasswordView
protected int drawEchoCharacter(java.awt.Graphics g, int x, int y, char c)
drawEchoCharacter
in class javax.swing.text.PasswordView
g
- the graphics contextx
- the starting X coordinate >= 0y
- the starting Y coordinate >= 0c
- the echo characterCopyright © 2001-2009 JGoodies Karsten Lentzsch. All Rights Reserved.