org.nuiton.jaxx.widgets.extra.ApplicationAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxx-widgets-extra Show documentation
Show all versions of jaxx-widgets-extra Show documentation
Widgets graphiques utiles pour tous les développements (pour le moment sans lien avec JAXX).
/*
* #%L
* JAXX :: Extra Widgets
* %%
* Copyright (C) 2004 - 2017 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
* .
* #L%
*/
/* *
* ApplicationAction.java
*
* Created: Nov 22, 2004
*
* @author C�dric Pineau
* @version $Revision$
*
* Last update : $Date$
* by : $Author$
*/
package org.nuiton.jaxx.widgets.extra;
import javax.swing.AbstractAction;
import java.util.List;
/**
*
*/
public abstract class ApplicationAction extends AbstractAction {
private static final long serialVersionUID = 1L;
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;
}
}