All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jidesoft.swing.OverlayRadioButton Maven / Gradle / Ivy

There is a newer version: 3.6.18
Show newest version
/*
 * @(#)OverlayableRadioButton.java 8/10/2007
 *
 * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved.
 */

package com.jidesoft.swing;

import javax.swing.*;

public class OverlayRadioButton extends JRadioButton {

    public OverlayRadioButton() {
    }

    public OverlayRadioButton(Icon icon) {
        super(icon);
    }

    public OverlayRadioButton(Action a) {
        super(a);
    }

    public OverlayRadioButton(Icon icon, boolean selected) {
        super(icon, selected);
    }

    public OverlayRadioButton(String text) {
        super(text);
    }

    public OverlayRadioButton(String text, boolean selected) {
        super(text, selected);
    }

    public OverlayRadioButton(String text, Icon icon) {
        super(text, icon);
    }

    public OverlayRadioButton(String text, Icon icon, boolean selected) {
        super(text, icon, selected);
    }

    @Override
    public void repaint(long tm, int x, int y, int width, int height) {
        super.repaint(tm, x, y, width, height);
        OverlayableUtils.repaintOverlayable(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy