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

org.nuiton.widget.ApplicationAction Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
/* *##% Graphical Widget
 * Copyright (C) 2004 - 2008 CodeLutin
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Lesser Public License for more details.
 *
 * You should have received a copy of the GNU General Lesser Public
 * License along with this program.  If not, see
 * . ##%*/

/* *
 * ApplicationAction.java
 *
 * Created: Nov 22, 2004
 *
 * @author C�dric Pineau 
 * @version $Revision: 254 $
 *
 * Last update : $Date: 2010-04-10 01:13:11 +0200 (sam., 10 avril 2010) $
 * by : $Author: tchemit $
 */

package org.nuiton.widget;

import java.util.List;

import javax.swing.AbstractAction;

/**
 * 
 */
public abstract class ApplicationAction extends AbstractAction {

    private String _shortText = null;

    public ApplicationAction(String shortText, String description,
            String iconId, char mnemonic, String accelerator) {
        super(description, IconFactory.getIcon(iconId));
        setShortText(shortText);
    }

    protected String getShortText() {
        return this._shortText;
    }

    protected void setShortText(String shortText) {
        this._shortText = shortText;
    }

    protected List arguments = null;

    public List getArguments() {
        return arguments;
    }

    public void setArguments(List arguments) {
        this.arguments = arguments;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy