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 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 com.isencia.passerelle.hmi.action.ModelStopper.java

@SuppressWarnings("serial")
public class ModelStopper extends AbstractAction {
    private final static Log logger = LogFactory.getLog(ModelStopper.class);

    public ModelStopper(final HMIBase base) {
        super(base, HMIMessages.getString(HMIMessages.MENU_STOP),

From source file Main.java

class ShowAction extends AbstractAction {
    public ShowAction() {
        super("About");

        putValue(Action.ACTION_COMMAND_KEY, "command");
        putValue(Action.NAME, "Go to number ");

From source file Main.java

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

        putValue(Action.NAME, "Go to number ");

From source file Main.java

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

        putValue(Action.NAME, "Go to number ");

From source file Main.java

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

        putValue(Action.NAME, "Go to number ");

From source file Main.java

class ShowAction extends AbstractAction {
    public ShowAction() {
        super("About");

        putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke("A"));
        putValue(Action.NAME, "Go to number ");

From source file Main.java

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

        putValue(Action.NAME, "Go to number ");

From source file Main.java

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

        putValue(Action.NAME, "Go to number ");