Package io.guise.framework.component
Class AbstractSelectActionControl.SelectActionListener
java.lang.Object
io.guise.framework.component.AbstractSelectActionControl.SelectActionListener
- All Implemented Interfaces:
ActionListener
,GuiseEventListener
,EventListener
- Enclosing class:
- AbstractSelectActionControl
public static class AbstractSelectActionControl.SelectActionListener
extends Object
implements ActionListener
An action listener that selects a select action listener if auto-select is turned on, toggling the select status if necessary.
- Author:
- Garret Wilson
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSelectActionListener
(SelectActionControl selectActionControl) Select action control constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformed
(ActionEvent actionEvent) Called when an action is initiated.
-
Field Details
-
selectActionControl
The control to select.
-
-
Constructor Details
-
SelectActionListener
Select action control constructor.- Parameters:
selectActionControl
- The control to select when the action occurs.- Throws:
NullPointerException
- if the given select action control isnull
.
-
-
Method Details
-
actionPerformed
Called when an action is initiated.This implementation auto-selects the select action control if auto-select is turned on, toggling if appropriate.
- Specified by:
actionPerformed
in interfaceActionListener
- Parameters:
actionEvent
- The event indicating the source of the action.
-