cz.cuni.amis.utils.flag
Class ReasonFlagListener.ReasonFlagListenerNotifier<T,R>
java.lang.Object
cz.cuni.amis.utils.flag.FlagListener.FlagListenerNotifier<T>
cz.cuni.amis.utils.flag.ReasonFlagListener.ReasonFlagListenerNotifier<T,R>
- Type Parameters:
T
-
- All Implemented Interfaces:
- Listeners.ListenerNotifier<FlagListener<T>>
- Enclosing interface:
- ReasonFlagListener<TYPE,REASON>
public static class ReasonFlagListener.ReasonFlagListenerNotifier<T,R>
- extends FlagListener.FlagListenerNotifier<T>
Notifier for the ReasonFlagListener.
- Author:
- Jimmy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReasonFlagListener.ReasonFlagListenerNotifier
public ReasonFlagListener.ReasonFlagListenerNotifier()
ReasonFlagListener.ReasonFlagListenerNotifier
public ReasonFlagListener.ReasonFlagListenerNotifier(T changedValue)
ReasonFlagListener.ReasonFlagListenerNotifier
public ReasonFlagListener.ReasonFlagListenerNotifier(T changedValue,
R reasonForChange)
setReason
public void setReason(R reason)
notify
public void notify(FlagListener<T> listener)
- If ReasonFlagListener is passed into the method, it is redirected into appropriate method.
- Specified by:
notify
in interface Listeners.ListenerNotifier<FlagListener<T>>
- Overrides:
notify
in class FlagListener.FlagListenerNotifier<T>
notify
public void notify(ReasonFlagListener<T,R> listener)
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.