org.richfaces.event

## Interface PanelToggleSource

- All Known Implementing Classes:
    AbstractCollapsiblePanel, UICollapsiblePanel

      public interface PanelToggleSource

  Since:
    2010-08-27
  Author:
    akolonitsky

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPanelToggleListener(PanelToggleListener listener)` Add a new `PanelToggleListener` to the set of listeners interested in being notified when `PanelToggleEvent`s occur.
    `PanelToggleListener[]` | `getPanelToggleListeners()` Return the set of registered `PanelToggleListener`s for this instance.
    `void` | `removePanelToggleListener(PanelToggleListener listener)` Remove an existing `PanelToggleListener` (if any) from the set of listeners interested in being notified when `PanelToggleEvent`s occur.

- - ### Method Detail

    - #### addPanelToggleListener

          void addPanelToggleListener(PanelToggleListener listener)

      Add a new `PanelToggleListener` to the set of listeners interested in being notified when `PanelToggleEvent`s occur.

      Parameters:
        `listener` - The `PanelToggleListener` to be added
      Throws:
        `NullPointerException` - if `listener` is `null`

    - #### getPanelToggleListeners

          PanelToggleListener[] getPanelToggleListeners()

      Return the set of registered `PanelToggleListener`s for this instance. If there are no registered listeners, a zero-length array is returned.

    - #### removePanelToggleListener

          void removePanelToggleListener(PanelToggleListener listener)

      Remove an existing `PanelToggleListener` (if any) from the set of listeners interested in being notified when `PanelToggleEvent`s occur.

      Parameters:
        `listener` - The `PanelToggleListener` to be removed
      Throws:
        `NullPointerException` - if `listener` is `null`

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.