01: /*
02: * Copyright Javelin Software, All rights reserved.
03: */
04:
05: package com.javelin.swinglets.plaf.html;
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.theme.*;
14:
15: /**
16: * HTMLBorderUI defines a look and feel for default HTML.
17: *
18: * @author Robin Sharp
19: */
20:
21: public abstract class HTMLBorderUI extends SBorderUI {
22: /**
23: * Utility Method to get the theme.
24: */
25: public STheme getTheme() {
26: return SwingletManager.getSwingletManager().getTheme();
27: }
28:
29: /**
30: * Paint the border header in the specified manner.
31: */
32: public void updateBorderHeader(Object out, SComponent component) {
33: updateBorderHeader((PrintWriter) out, component);
34: }
35:
36: /**
37: * Paint the border footer in the specified manner.
38: */
39: public void updateBorder(Object out, SComponent component) {
40: updateBorder((PrintWriter) out, component);
41: }
42:
43: /**
44: * Paint the border footer in the specified manner.
45: */
46: public void updateBorderFooter(Object out, SComponent component) {
47: updateBorderFooter((PrintWriter) out, component);
48: }
49:
50: /**
51: * Paint the border header in the specified manner.
52: */
53: public abstract void updateBorderHeader(PrintWriter out,
54: SComponent component);
55:
56: /**
57: * Paint the border in the specified manner.
58: */
59: public abstract void updateBorder(PrintWriter out,
60: SComponent component);
61:
62: /**
63: * Paint the border footer in the specified manner.
64: */
65: public abstract void updateBorderFooter(PrintWriter out,
66: SComponent component);
67: }
|