Package com.illumon.iris.gui.util
Enum Class GlobalOneClickManager
- All Implemented Interfaces:
Serializable
,Comparable<GlobalOneClickManager>
,java.lang.constant.Constable
This manager is used to issue and listen for global OneClick events
that are not dependent on the GUI layout
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add aGlobalOneClickListener
for global OneClick events on any columnvoid
addListener
(String column, GlobalOneClickManager.GlobalOneClickListener listener) Add aGlobalOneClickListener
for OneClicks on a specific columnvoid
doGlobalOneClick
(String column, String value) Issue a OneClick event on the specified columne and value.void
Remove a listener from global OneClick event notificationvoid
removeListener
(String column, GlobalOneClickManager.GlobalOneClickListener listener) Remove a listener from notification of OneClicks on a particular column.static GlobalOneClickManager
Returns the enum constant of this class with the specified name.static GlobalOneClickManager[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
addListener
Add aGlobalOneClickListener
for global OneClick events on any column- Parameters:
listener
- AGlobalOneClickListener
to notify of OneClick events
-
addListener
Add aGlobalOneClickListener
for OneClicks on a specific column- Parameters:
column
- The column to listen for OneClickslistener
- The listener to notify
-
removeListener
Remove a listener from global OneClick event notification- Parameters:
listener
- The listener to remove
-
removeListener
Remove a listener from notification of OneClicks on a particular column. This only affects listeners registered with the column oriented addListener- Parameters:
column
- The column the listener was listening forlistener
- The listener to remove
-
doGlobalOneClick
Issue a OneClick event on the specified columne and value. This will notify all global OneClick listeners- Parameters:
column
- The column to issue a OneClick forvalue
- The value to OneClick with
-