com.ezware.oxbow.swingbits.popup
Class PopupWindow.CommandAction
java.lang.Object
javax.swing.AbstractAction
com.ezware.oxbow.swingbits.popup.PopupWindow.CommandAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- PopupWindow
public class PopupWindow.CommandAction
- extends AbstractAction
Simple action to for the popup window.
To use - override perform method.
Created on Feb 4, 2011
- Author:
- Eugene Ryzhikov
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
PopupWindow.CommandAction
public PopupWindow.CommandAction(String name,
Icon icon)
PopupWindow.CommandAction
public PopupWindow.CommandAction(String name)
actionPerformed
public final void actionPerformed(ActionEvent e)
perform
protected boolean perform()
- Preforms action
- Returns:
- true if popup should be closed
Copyright © 2011. All Rights Reserved.