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: * SFile defines a file chooser.
13: *
14: * @author Robin Sharp
15: */
16:
17: public class SFileChooser extends STextField {
18:
19: /**
20: * Creates a SFileChooser field.
21: */
22: public SFileChooser(String value, int columns) {
23: super (value, columns);
24: }
25:
26: /**
27: * Creates a SFileChooser field accepting "*.*"
28: */
29: public SFileChooser(int columns) {
30: super (columns);
31: }
32:
33: /**
34: * Creates a SFileChooser field, with 30 columns
35: */
36: public SFileChooser(String value) {
37: super (value, 30);
38: }
39:
40: /**
41: * Creates a SFileChooser field 30 columns and "*.*".
42: */
43: public SFileChooser() {
44: super (30);
45: }
46:
47: /**
48: * Returns the name of the L&F class that renders this component.
49: */
50: public Class getUIClass() {
51: return SFileChooser.class;
52: }
53:
54: // PRIVATE ////////////////////////////////////////////////////////
55:
56: }
|