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 TypeMethodDescriptionvoidAdd aGlobalOneClickListenerfor global OneClick events on any columnvoidaddListener(String column, GlobalOneClickManager.GlobalOneClickListener listener) Add aGlobalOneClickListenerfor OneClicks on a specific columnvoiddoGlobalOneClick(String column, String value) Issue a OneClick event on the specified columne and value.voidRemove a listener from global OneClick event notificationvoidremoveListener(String column, GlobalOneClickManager.GlobalOneClickListener listener) Remove a listener from notification of OneClicks on a particular column.static GlobalOneClickManagerReturns 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 aGlobalOneClickListenerfor global OneClick events on any column- Parameters:
listener- AGlobalOneClickListenerto notify of OneClick events
-
addListener
Add aGlobalOneClickListenerfor 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
-