com.jgoodies.looks.common
Class ExtPasswordView
PasswordView
com.jgoodies.looks.common.ExtPasswordView
public final class ExtPasswordView
extends PasswordView
Differs from its superclass in that it uses the UIManager's echo char,
not a star ("*").
Used in Java 1.4 and Java 5 only.
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)
|
ExtPasswordView
public ExtPasswordView(Element element)
drawEchoCharacter
protected int drawEchoCharacter(Graphics g,
int x,
int y,
char c)
Overrides the superclass behavior to draw the Windows dot,
not the star ("*") character.
g
- the graphics contextx
- the starting X coordinate >= 0y
- the starting Y coordinate >= 0c
- the echo character
- the updated X position >= 0
getPreferredSpan
public float getPreferredSpan(int axis)
modelToView
public Shape modelToView(int pos,
Shape a,
Position.Bias b)
throws BadLocationException
viewToModel
public int viewToModel(float fx,
float fy,
Shape a,
Position.Bias[] bias)
Copyright © 2001-2008 JGoodies Karsten Lentzsch. All Rights Reserved.