public final class ExtPasswordView extends PasswordView
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXISBOTTOM, 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, drawUnselectedTextadjustAllocation, 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 ExtPasswordView(Element element)
public float getPreferredSpan(int axis)
getPreferredSpan in class PasswordViewpublic Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException
modelToView in class PasswordViewBadLocationExceptionpublic int viewToModel(float fx,
float fy,
Shape a,
Position.Bias[] bias)
viewToModel in class PasswordViewprotected int drawEchoCharacter(Graphics g, int x, int y, char c)
drawEchoCharacter in class PasswordViewg - the graphics contextx - the starting X coordinate >= 0y - the starting Y coordinate >= 0c - the echo characterCopyright © 2001-2011 JGoodies Karsten Lentzsch. All Rights Reserved.