org.icefaces.ace.component.expansiontoggler

## Class ExpansionTogglerBase

- java.lang.Object
- - javax.faces.component.UIComponent
  - - javax.faces.component.UIComponentBase
    - - org.icefaces.ace.component.expansiontoggler.ExpansionTogglerBase

- All Implemented Interfaces:
    java.util.EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, IExpansionToggler
  Direct Known Subclasses:
    ExpansionToggler

      public abstract class ExpansionTogglerBase
      extends javax.faces.component.UIComponentBase
      implements IExpansionToggler

  Renders a control to toggle the expanded state of this row. If this table only contains either PanelExpansion or RowExpansion, that type of expansion will occur. If both are children of the table, the 'expansion type' for each row is configurable via the RowState.

  For more information, see the Expansion Toggler Wiki Documentation.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `protected static class` | `ExpansionTogglerBase.PropertyKeys`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `COMPONENT_TYPE`
    `static java.lang.String` | `RENDERER_TYPE`

    - ### Fields inherited from class javax.faces.component.UIComponent

      `ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExpansionTogglerBase()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.el.MethodExpression` | `getChangeListener()` Return the value of the `changeListener` property.
    `java.lang.String` | `getFamily()`
    `protected boolean` | `isPropertySet(java.lang.String finder)`
    `java.lang.Boolean` | `isToggled()` Return the value of the `toggled` property.
    `void` | `setChangeListener(javax.el.MethodExpression changeListener)` Set the value of the `changeListener` property.
    `void` | `setToggled(java.lang.Boolean toggled)` Set the value of the `toggled` property.
    `void` | `setValueExpression(java.lang.String name, javax.el.ValueExpression binding)`

    - ### Methods inherited from class javax.faces.component.UIComponentBase

      `addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent`

    - ### Methods inherited from class javax.faces.component.UIComponent

      `encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTree`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### COMPONENT_TYPE

          public static final java.lang.String COMPONENT_TYPE

      See Also:
        Constant Field Values

    - #### RENDERER_TYPE

          public static final java.lang.String RENDERER_TYPE

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### ExpansionTogglerBase

          public ExpansionTogglerBase()

  - ### Method Detail

    - #### getFamily

          public java.lang.String getFamily()

      Specified by:
        `getFamily` in class `javax.faces.component.UIComponent`

    - #### setChangeListener

          public void setChangeListener(javax.el.MethodExpression changeListener)

      Set the value of the `changeListener` property.

      Contents: MethodExpression reference called whenever a row element is expanded. The method receives a single argument, ExpansionChangeEvent.

      Specified by:
        `setChangeListener` in interface `IExpansionToggler`

    - #### getChangeListener

          public javax.el.MethodExpression getChangeListener()

      Return the value of the `changeListener` property.

      Contents: MethodExpression reference called whenever a row element is expanded. The method receives a single argument, ExpansionChangeEvent.

      Specified by:
        `getChangeListener` in interface `IExpansionToggler`

    - #### setToggled

          public void setToggled(java.lang.Boolean toggled)

      Set the value of the `toggled` property.

      Specified by:
        `setToggled` in interface `IExpansionToggler`

    - #### isToggled

          public java.lang.Boolean isToggled()

      Return the value of the `toggled` property.

      Specified by:
        `isToggled` in interface `IExpansionToggler`

    - #### isPropertySet

          protected boolean isPropertySet(java.lang.String finder)

    - #### setValueExpression

          public void setValueExpression(java.lang.String name,
                                         javax.el.ValueExpression binding)

      Overrides:
        `setValueExpression` in class `javax.faces.component.UIComponent`

Copyright 2025 ICEsoft Technologies Canada, Corp. All Rights Reserved.