Package eu.essilab.lablib.checkboxtree
Class TreeCheckingEvent
java.lang.Object
java.util.EventObject
eu.essilab.lablib.checkboxtree.TreeCheckingEvent
- All Implemented Interfaces:
- Serializable
An event that characterizes a change in the current checking. The change is
 related to a single checked/unchecked path. TreeCheckingListeners will
 generally query the source of the event for the new checked status of each
 potentially changed row.
- Author:
- Lorenzo Bigagli
- See Also:
- 
Field SummaryFieldsFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionTreeCheckingEvent(Object source, TreePath path, boolean checked) Represents a change in the checking of a TreeCheckingModel.
- 
Method SummaryMethods inherited from class java.util.EventObjectgetSource, toString
- 
Field Details- 
changedPathThe path related to this event
 
- 
- 
Constructor Details- 
TreeCheckingEventRepresents a change in the checking of a TreeCheckingModel. The specified path identifies the path that have been either checked or unchecked.- Parameters:
- source- source of event
- path- the path that has changed in the checking
- checked- whether or not the path is checked, false means that path was removed from the checking.
 
 
- 
- 
Method Details- 
getPath- Returns:
- the path that was added or removed from the checking.
 
- 
isCheckedPathpublic boolean isCheckedPath()- Returns:
- true if the path related to the event is checked. A return value of false means that the path has been removed from the checking.
 
 
-