public class PIASelectionSupport extends Object
PIASelectionSupport provides support for issuing selection events.
It is similar to the model of the java.beans.PropertyChangeSupport
class.| Constructor and Description |
|---|
PIASelectionSupport()
Creates an instance of a support object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addIASelectionListener(PIASelectionListener l)
Adds a selection listener to the list.
|
void |
fireSelectionChanged(Object src,
PModelHandle val)
Issues a selection event for a single selection.
|
void |
fireSelectionChanged(Object src,
PModelHandle[] vals)
Issues a selection event for multiple selections.
|
void |
removeIASelectionListener(PIASelectionListener l)
Removes a selection listener from the list.
|
public PIASelectionSupport()
public void addIASelectionListener(PIASelectionListener l)
l - the new selection listenerpublic void removeIASelectionListener(PIASelectionListener l)
l - the selection listener to removepublic void fireSelectionChanged(Object src, PModelHandle val)
src - the issuing objectval - the selectionpublic void fireSelectionChanged(Object src, PModelHandle[] vals)
src - the issuing objectvals - the selection arrayCopyright © 2003, 2023, Oracle and/or its affiliates.