Example usage for javax.swing AbstractAction subclass-usage

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

Introduction

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

Usage

From source file CloseAction.java

class CloseAction extends AbstractAction {
    public CloseAction() {
        super("Close");
    }

    @Override

From source file ShowAction.java

class ShowAction extends AbstractAction {
    public ShowAction() {
        super("About");
        putValue(Action.MNEMONIC_KEY, new Integer(KeyEvent.VK_A));
    }

From source file ShowAction.java

class ShowAction extends AbstractAction {
    Component parentComponent;

    public ShowAction(Component parentComponent) {
        super("About");
        putValue(Action.MNEMONIC_KEY, new Integer(KeyEvent.VK_A));

From source file InsertAction.java

class InsertAction extends AbstractAction {
    public InsertAction() {
        super("Insert Space");
    }

    public void actionPerformed(ActionEvent evt) {

From source file InsertAction.java

class InsertAction extends AbstractAction {
    public InsertAction() {
        super("Insert Space");
    }

    public void actionPerformed(ActionEvent evt) {

From source file Main.java

class MyAction extends AbstractAction {
    public MyAction() {
        super("my action");
    }

    public void actionPerformed(ActionEvent e) {

From source file Main.java

class MyAction extends AbstractAction {
    public MyAction() {
        super("my action");
    }

    public void actionPerformed(ActionEvent e) {

From source file ShowAction.java

class ShowAction extends AbstractAction {
    Component parentComponent;

    public ShowAction(Component parentComponent) {
        super("About");
        putValue(Action.MNEMONIC_KEY, new Integer(KeyEvent.VK_A));

From source file com.isencia.passerelle.hmi.action.AbstractAction.java

/**
 * AbstractAction
 * 
 * base class for our HMI actions
 * 
 * @author erwin dl

From source file PrintHelloAction.java

class PrintHelloAction extends AbstractAction {
    private static final Icon printIcon = new ImageIcon("Print.gif");

    PrintHelloAction() {
        super("Print", printIcon);
        putValue(Action.SHORT_DESCRIPTION, "Hello, World");