Methods Summary |
---|
public javax.swing.text.View | create(javax.swing.text.Element elem)Creates a view (PasswordView) for an element.
return new PasswordView(elem);
|
javax.swing.ActionMap | createActionMap()Create the action map for Password Field. This map provides
same actions for double mouse click and
and for triple mouse click (see bug 4231444).
ActionMap map = super.createActionMap();
if (map.get(DefaultEditorKit.selectWordAction) != null) {
Action a = map.get(DefaultEditorKit.selectLineAction);
if (a != null) {
map.remove(DefaultEditorKit.selectWordAction);
map.put(DefaultEditorKit.selectWordAction, a);
}
}
return map;
|
public static javax.swing.plaf.ComponentUI | createUI(javax.swing.JComponent c)Creates a UI for a JPasswordField.
return new BasicPasswordFieldUI();
|
protected java.lang.String | getPropertyPrefix()Fetches the name used as a key to look up properties through the
UIManager. This is used as a prefix to all the standard
text properties.
return "PasswordField";
|