com.jgoodies.looks.common
Class ExtPasswordView

java.lang.Object
  extended by javax.swing.text.View
      extended by javax.swing.text.PlainView
          extended by javax.swing.text.FieldView
              extended by javax.swing.text.PasswordView
                  extended by com.jgoodies.looks.common.ExtPasswordView
All Implemented Interfaces:
SwingConstants, TabExpander

public final class ExtPasswordView
extends PasswordView

Differs from its superclass in that it renders a circle, not a star ("*") as echo character.

Version:
$Revision: 1.1 $
Author:
Karsten Lentzsch

Field Summary
 
Fields inherited from class javax.swing.text.PlainView
metrics
 
Fields inherited from class javax.swing.text.View
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
ExtPasswordView(Element element)
           
 
Method Summary
protected  int drawEchoCharacter(Graphics g, int x, int y, char c)
           
 
Methods inherited from class javax.swing.text.PasswordView
drawSelectedText, drawUnselectedText, getPreferredSpan, modelToView, viewToModel
 
Methods inherited from class javax.swing.text.FieldView
adjustAllocation, getFontMetrics, getResizeWeight, insertUpdate, paint, removeUpdate
 
Methods inherited from class javax.swing.text.PlainView
changedUpdate, damageLineRange, drawLine, getLineBuffer, getTabSize, lineToRect, nextTabStop, setSize, updateDamage, updateMetrics
 
Methods inherited from class javax.swing.text.View
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtPasswordView

public ExtPasswordView(Element element)
Method Detail

drawEchoCharacter

protected int drawEchoCharacter(Graphics g,
                                int x,
                                int y,
                                char c)
Overrides:
drawEchoCharacter in class PasswordView


Copyright © 2001-2005 JGoodies Karsten Lentzsch. All Rights Reserved.