Package org.jppf.ui.monitoring.event
Class ShowIPEvent
java.lang.Object
java.util.EventObject
org.jppf.ui.monitoring.event.ShowIPEvent
- All Implemented Interfaces:
Serializable
Events sent to all listeners interested in changes to the "ShowIP" toggle.
- Since:
- 5.0
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the source of this event.booleanGet the state of the "ShowIP toggle" before the change.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ShowIPEvent
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:
trueif the toggle was set to show IP adddresses,falseotherwise.
-
getStatsHandler
Get the source of this event.- Returns:
- the source as a
BaseStatsHandlerinstance.
-