@API(type=EXTENDABLE,
src=PUBLIC)
public abstract class OptionListener
extends java.lang.Object
Constructor and Description |
---|
OptionListener()
Default constructor for the option listener.
|
OptionListener(java.lang.String key)
Constructor for the option listener.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey() |
abstract void |
optionValueChanged(OptionChangedEvent event)
This method is called when the value of the option associated with this
listener has been modified.
|
void |
setKey(java.lang.String key)
Set the key to listen to.
|
public OptionListener()
public OptionListener(java.lang.String key)
key
- The key of the option whose value modification
triggers the listener notification.public abstract void optionValueChanged(OptionChangedEvent event)
event
- An OptionChangedEvent
which indicates that the value
of the associated option has been changed.public void setKey(java.lang.String key)
key
- The key of the option whose value modification
triggers the listener notification.public final java.lang.String getKey()
© Copyright Syncro Soft SRL 2002 - 2020. All rights reserved.