Class AggregatingModelLoadingListener

  • All Implemented Interfaces:
    IAggregatableListener, IControl

    public class AggregatingModelLoadingListener
    extends java.lang.Object
    implements IControl, IAggregatableListener
    Implements an aggregating model loading listener, which enables the given controls only if all listeners are enabled.
    Author:
    Holger Eichelberger
    • Method Detail

      • addListeners

        public void addListeners​(IAggregatableListener... listeners)
        Adds the listeners.
        Parameters:
        listeners - the listeners
      • setEnabled

        public void setEnabled​(IAggregatableListener key,
                               boolean enabled)
        Description copied from interface: IControl
        Notifies Sets the display status to disabled or enabled.
        Specified by:
        setEnabled in interface IControl
        Parameters:
        key - optional information that uniquely identifies the caller in order to aggregate the overall status (may be null)
        enabled - the next display status