01: /*
02: * Copyright Javelin Software, All rights reserved.
03: */
04:
05: package com.javelin.swinglets;
06:
07: import java.awt.*;
08: import java.util.*;
09: import java.io.*;
10:
11: /**
12: * STextPassword defines an password field.
13: *
14: * @author Robin Sharp
15: */
16:
17: import java.awt.*;
18: import java.io.*;
19: import java.util.*;
20:
21: public class SPasswordField extends STextField {
22:
23: /**
24: * Creates a SPasswordField with the following text and columns.
25: */
26: public SPasswordField(String text, int columns, int maxLength) {
27: super (text, columns, maxLength);
28: }
29:
30: /**
31: * Creates a SPasswordField with the following text and columns.
32: */
33: public SPasswordField(String text, int columns) {
34: super (text, columns);
35: }
36:
37: /**
38: * Creates a SPasswordField with the following text.
39: */
40: public SPasswordField(String text) {
41: this (text, 10);
42: }
43:
44: /**
45: * Creates a SPasswordField with the following columns.
46: */
47: public SPasswordField(int columns) {
48: this (null, columns);
49: }
50:
51: /**
52: * Creates a SPasswordField.
53: */
54: public SPasswordField() {
55: this (null, 10);
56: }
57:
58: /**
59: * Returns the name of the L&F class that renders this component.
60: */
61: public Class getUIClass() {
62: return SPasswordField.class;
63: }
64:
65: // PRIVATE /////////////////////////////////////////////////
66:
67: }
|