public final class ExtPasswordView extends PasswordView
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
Constructor and Description |
---|
ExtPasswordView(Element element) |
Modifier and Type | Method and Description |
---|---|
protected int |
drawEchoCharacter(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) |
Shape |
modelToView(int pos,
Shape a,
Position.Bias b) |
int |
viewToModel(float fx,
float fy,
Shape a,
Position.Bias[] bias) |
drawSelectedText, drawUnselectedText
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 ExtPasswordView(Element element)
public float getPreferredSpan(int axis)
getPreferredSpan
in class PasswordView
public Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException
modelToView
in class PasswordView
BadLocationException
public int viewToModel(float fx, float fy, Shape a, Position.Bias[] bias)
viewToModel
in class PasswordView
protected int drawEchoCharacter(Graphics g, int x, int y, char c)
drawEchoCharacter
in class PasswordView
g
- the graphics contextx
- the starting X coordinate >= 0y
- the starting Y coordinate >= 0c
- the echo characterCopyright © 2001-2011 JGoodies Karsten Lentzsch. All Rights Reserved.