Package org.eclipse.jface.viewers
Class CheckStateChangedEvent
java.lang.Object
java.util.EventObject
org.eclipse.jface.viewers.CheckStateChangedEvent
- All Implemented Interfaces:
Serializable
Event object describing a change to the checked state
of a viewer element.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionCheckStateChangedEvent
(ICheckable source, Object element, boolean state) Creates a new event for the given source, element, and checked state. -
Method Summary
Modifier and TypeMethodDescriptionReturns the checkable that is the source of this event.boolean
Returns the checked state of the element.Returns the element whose check state changed.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
CheckStateChangedEvent
Creates a new event for the given source, element, and checked state.- Parameters:
source
- the sourceelement
- the elementstate
- the checked state
-
-
Method Details
-
getCheckable
Returns the checkable that is the source of this event.- Returns:
- the originating checkable
-
getChecked
public boolean getChecked()Returns the checked state of the element.- Returns:
- the checked state
-
getElement
Returns the element whose check state changed.- Returns:
- the element
-