Class ShowIPEvent

java.lang.Object
java.util.EventObject
org.jppf.ui.monitoring.event.ShowIPEvent
All Implemented Interfaces:
Serializable

public class ShowIPEvent extends EventObject
Events sent to all listeners interested in changes to the "ShowIP" toggle.
Since:
5.0
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • ShowIPEvent

      public ShowIPEvent(ShowIPHandler source, boolean oldState)
      Initialize this event.
      Parameters:
      source - the source of this event.
      oldState - the old state of the toggle.
  • Method Details

    • isOldState

      public boolean isOldState()
      Get the state of the "ShowIP toggle" before the change.
      Returns:
      true if the toggle was set to show IP adddresses, false otherwise.
    • getStatsHandler

      public ShowIPHandler getStatsHandler()
      Get the source of this event.
      Returns:
      the source as a BaseStatsHandler instance.