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 MainClass.java

class PrintHelloAction extends AbstractAction {
    private static final Icon printIcon = new MyIcon();

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

From source file ca.sfu.federation.action.CreateComponentAction.java

/**
 * @author Davis Marques
 * @version 0.1.0
 */
public class CreateComponentAction extends AbstractAction {

From source file uk.nhs.cfh.dsp.srth.desktop.actions.querycrud.core.actions.NewQueryAction.java

/**
 * An action that creates a new {@link uk.nhs.cfh.dsp.srth.query.model.om.impl.QueryStatementImpl}
 *
 * <br>Version : @#VersionNumber#@
 * <br>Written by @author jay
 * <br>Created on Nov 28, 2009 at 10:49:31 AM

From source file uk.co.modularaudio.componentdesigner.mainframe.actions.ExitAction.java

public class ExitAction extends AbstractAction {
    private final Log log = LogFactory.getLog(ExitAction.class.getName());
    /**
     *
     */
    private final MainFrameActions mainFrameActions;

From source file ScreenDump.java

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

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

From source file uk.nhs.cfh.dsp.srth.query.repository.viewcomponent.actions.SaveQueryToRepositoryAction.java

/**
 * A custom {@link javax.swing.Action} that handles the logic for saving a
 * {@link uk.nhs.cfh.dsp.srth.query.model.om.QueryStatement} to a repository
 *
 * <br>Version : @#VersionNumber#@
 * <br>Written by @author Jay Kola

From source file tk.tomby.tedit.actions.ExitAction.java

/**
 * DOCUMENT ME!
 *
 * @author $Author: amunoz $
 * @version $Revision: 1.1.1.1 $
 */

From source file it.unibas.spicygui.controllo.provider.ActionSetImplied.java

public class ActionSetImplied extends AbstractAction {

    private static Log logger = LogFactory.getLog(ActionSetImplied.class);
    private static ReviewCorrespondences review = new ReviewCorrespondences();
    private static CreateCorrespondencesMappingTask creator = new CreateCorrespondencesMappingTask();
    private ConnectionInfo connectionInfo;

From source file uk.co.modularaudio.componentdesigner.mainframe.actions.SaveAsFileAction.java

public class SaveAsFileAction extends AbstractAction {
    private static Log log = LogFactory.getLog(SaveAsFileAction.class.getName());

    private static final long serialVersionUID = -4249015082380141979L;

    private final ComponentDesignerFrontController fc;

From source file uk.nhs.cfh.dsp.srth.expression.repository.actions.core.PurgeExpressionRepositoryAction.java

/**
 * An {@link javax.swing.Action} that deletes all entries in the expression repository
 *
 * <br>Version : @#VersionNumber#@
 * <br>Written by @author Jay Kola
 * <br>Created on 17-Mar-2010 at 13:56:51