01: /*
02: * Copyright Javelin Software, All rights reserved.
03: */
04:
05: package com.javelin.swinglets.plaf.javascript;
06:
07: import java.awt.*;
08: import java.util.*;
09: import java.io.*;
10:
11: import javax.swing.*;
12:
13: import com.javelin.swinglets.*;
14: import com.javelin.swinglets.plaf.*;
15: import com.javelin.swinglets.plaf.html.*;
16:
17: /**
18: * JSFileChooserUI defines a look and feel for default Java Script.
19: *
20: * @author Robin Sharp
21: */
22:
23: public class JSFileChooserUI extends HTMLFileChooserUI implements
24: JSComponentUI {
25: /**
26: * Render the script code for a text the PrintWriter.
27: */
28: public void updateScript(PrintWriter out, SComponent c) {
29: JSUtility.updateScript(out, c);
30: }
31:
32: /**
33: * Render the UI on the PrintWriter
34: */
35: public void updateEvent(PrintWriter out, SComponent c) {
36: JSUtility.updateEvents(out, c, swingletListeners);
37: }
38:
39: }
|