01: /*
02: * @(#)OverlayableRadioButton.java 8/10/2007
03: *
04: * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved.
05: */
06:
07: package com.jidesoft.swing;
08:
09: import javax.swing.*;
10:
11: public class OverlayRadioButton extends JRadioButton {
12:
13: public OverlayRadioButton() {
14: }
15:
16: public OverlayRadioButton(Icon icon) {
17: super (icon);
18: }
19:
20: public OverlayRadioButton(Action a) {
21: super (a);
22: }
23:
24: public OverlayRadioButton(Icon icon, boolean selected) {
25: super (icon, selected);
26: }
27:
28: public OverlayRadioButton(String text) {
29: super (text);
30: }
31:
32: public OverlayRadioButton(String text, boolean selected) {
33: super (text, selected);
34: }
35:
36: public OverlayRadioButton(String text, Icon icon) {
37: super (text, icon);
38: }
39:
40: public OverlayRadioButton(String text, Icon icon, boolean selected) {
41: super (text, icon, selected);
42: }
43:
44: @Override
45: public void repaint(long tm, int x, int y, int width, int height) {
46: super.repaint(tm, x, y, width, height);
47: OverlayableUtils.repaintOverlayable(this);
48: }
49: }
|