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, removeUpdatechangedUpdate, damageLineRange, drawLine, getLineBuffer, getTabSize, lineToRect, nextTabStop, setSize, updateDamage, updateMetricsappend, 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, viewToModelpublic float getPreferredSpan(int axis)
getPreferredSpan in class javax.swing.text.PasswordViewpublic 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.PasswordViewjavax.swing.text.BadLocationExceptionpublic int viewToModel(float fx,
float fy,
java.awt.Shape a,
javax.swing.text.Position.Bias[] bias)
viewToModel in class javax.swing.text.PasswordViewprotected int drawEchoCharacter(java.awt.Graphics g,
int x,
int y,
char c)
drawEchoCharacter in class javax.swing.text.PasswordViewg - the graphics contextx - the starting X coordinate >= 0y - the starting Y coordinate >= 0c - the echo characterCopyright © 2001-2009 JGoodies Karsten Lentzsch. All Rights Reserved.