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 com.javelin.swinglets.*;
12: import com.javelin.swinglets.plaf.*;
13: import com.javelin.swinglets.plaf.html.*;
14:
15: /**
16: * JSPasswordFieldUI defines a look and feel for default Java Script.
17: *
18: * @author Robin Sharp
19: */
20:
21: public class JSPasswordFieldUI extends HTMLPasswordFieldUI implements
22: JSComponentUI {
23: /**
24: * Render the script code for a text the PrintWriter.
25: */
26: public void updateScript(PrintWriter out, SComponent c) {
27: JSUtility.updateScript(out, c);
28: }
29:
30: /**
31: * Render the UI on the PrintWriter
32: */
33: public void updateEvent(PrintWriter out, SComponent c) {
34: JSUtility.updateEvents(out, c, swingletListeners);
35: }
36: }
|