Package io.guise.framework.component
Class AbstractSelectActionControl.SelectActionListener
- java.lang.Object
-
- io.guise.framework.component.AbstractSelectActionControl.SelectActionListener
-
- All Implemented Interfaces:
ActionListener
,GuiseEventListener
,java.util.EventListener
- Enclosing class:
- AbstractSelectActionControl
public static class AbstractSelectActionControl.SelectActionListener extends java.lang.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
Fields Modifier and Type Field Description protected SelectActionControl
selectActionControl
The control to select.
-
Constructor Summary
Constructors Constructor Description SelectActionListener(SelectActionControl selectActionControl)
Select action control constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent actionEvent)
Called when an action is initiated.
-
-
-
Field Detail
-
selectActionControl
protected final SelectActionControl selectActionControl
The control to select.
-
-
Constructor Detail
-
SelectActionListener
public SelectActionListener(SelectActionControl selectActionControl)
Select action control constructor.- Parameters:
selectActionControl
- The control to select when the action occurs.- Throws:
java.lang.NullPointerException
- if the given select action control isnull
.
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent actionEvent)
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.
-
-