-package net.pterodactylus.jsite.i18n.gui;
-import java.awt.event.ActionListener;
+package net.pterodactylus.jsite.i18n.gui;
import javax.swing.AbstractAction;
import javax.swing.Action;
/**
* Helper class that initializes actions with values from {@link I18n}.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
-public abstract class I18nAction extends AbstractAction implements I18nable, ActionListener {
+public abstract class I18nAction extends AbstractAction implements I18nable {
/** The I18n basename. */
private final String i18nName;
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n}.
- *
+ *
* @param i18nName
* The base name of the action
*/
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n} and the given icon.
- *
+ *
* @param i18nName
* The base name of the action
* @param icon
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n}.
- *
+ *
* @param i18nName
* The base name of the action
* @param enabled
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n} and the given icon.
- *
+ *
* @param i18nName
* The base name of the action
* @param enabled
putValue(Action.LONG_DESCRIPTION, I18n.get(i18nName + ".longDescription"));
}
-}
+}
\ No newline at end of file