Example usage for javax.swing JToggleButton subclass-usage

List of usage examples for javax.swing JToggleButton subclass-usage

Introduction

In this page you can find the example usage for javax.swing JToggleButton subclass-usage.

Usage

From source file JToggleButtonMenuItem.java

class JToggleButtonMenuItem extends JToggleButton implements MenuElement {
    Color savedForeground = null;

    private static MenuElement NO_SUB_ELEMENTS[] = new MenuElement[0];

    public JToggleButtonMenuItem(String label) {

From source file JToolbarToggleButton.java

/**
 * This class represents the toggle buttons used in toolbars.
 *
 * @version $Id: JToolbarButton.java 498555 2007-01-22 08:09:33Z cam $
 */
public class JToolbarToggleButton extends JToggleButton {

From source file pcgen.gui2.filter.FilterButton.java

/**
 * This class represents a simple filter represented as a toggle button. When the button is selected
 * (i.e. pressed) the filter assigned to this button will become active. When deselected the filter
 * will become inactive. Selecting and deselecting the button will trigger its FilterHandler
 * to refilter its contents.
 */

From source file ToggleSample.java

class JToggleButtonMenuItem extends JToggleButton implements MenuElement {
    Color savedForeground = null;

    private static MenuElement NO_SUB_ELEMENTS[] = new MenuElement[0];

    public JToggleButtonMenuItem() {

From source file UndoableToggleApp3.java

class UndoableJToggleButton extends JToggleButton {
    private UndoableEditListener listener;

    // For this example, we'll just provide one constructor . . .
    public UndoableJToggleButton(String txt) {
        super(txt);