public class PSectionHeaderSupport extends Object
PSectionHeaderSupport
provides support for issuing section header change event.
It is similar to the model of the java.beans.PropertyChangeSupport
class.Constructor and Description |
---|
PSectionHeaderSupport()
Creates an instance of a support object.
|
Modifier and Type | Method and Description |
---|---|
void |
addSectionHeaderListener(PSectionHeaderListener l)
Adds a section listener to the list.
|
void |
fireSectionChanged(Object src)
This method will used to notify listeners when the section header will change its state(expand/collapse)
|
void |
removeSectionHeaderListener(PSectionHeaderListener l)
Removes a section listener from the list.
|
public PSectionHeaderSupport()
public void addSectionHeaderListener(PSectionHeaderListener l)
l
- the new selection listenerpublic void removeSectionHeaderListener(PSectionHeaderListener l)
l
- the selection listener to removepublic void fireSectionChanged(Object src)
src
- the issuing objectCopyright © 2003, 2023, Oracle and/or its affiliates.