Class DisplayListenerSupport


  • public class DisplayListenerSupport
    extends Object
    Utility class for handling the broadcast of display events.
    Version:
    $Revision$ $Date$
    Author:
    Nick Collier
    • Constructor Detail

      • DisplayListenerSupport

        public DisplayListenerSupport()
    • Method Detail

      • addDisplayListener

        public void addDisplayListener​(DisplayListener listener)
        Adds a display listener to the list of listeners to broadcast display events to.
        Parameters:
        listener - the listener to add
      • fireInfoMessage

        public void fireInfoMessage​(IDisplay source,
                                    String message)
        Broadcast a info message display event consisting of the specified source and the specified message.
        Parameters:
        source - the source of the event
        message - the message to broadcast
      • fireInfoMessage

        public void fireInfoMessage​(DisplayEvent evt)
        Broadcast a info message display event.
        Parameters:
        evt - the display event to broacast