org.apache.myfaces.component.html.ext
Interface DetailTogglerModel

All Known Implementing Classes:
AbstractHtmlDataTable, HtmlDataTable

public interface DetailTogglerModel

This interface define a contract to manipulate the toggle state of components like t:dataTable with detailStamp enabled. An object implementing this interface is set on request scope under the key defined by varDetailToggler.

Author:
Leonardo Uribe

Method Summary
 void collapseAllDetails()
          Collapse all details of all rows in all pages.
 void collapseAllPageDetails()
          Expand all details of the rows displayed on the current page.
 void expandAllDetails()
          Expand all details of all rows in all pages.
 void expandAllPageDetails()
          Expand all details of the rows displayed on the current page.
 boolean isCurrentDetailExpanded()
          Return true if the current detail row is expanded.
 boolean isDetailStampExpandedDefault()
          true|false - true if the detailStamp should be expanded by default.
 void toggleDetail()
          Change the status of the current detail row from collapsed to expanded or viceversa.
 

Method Detail

collapseAllDetails

void collapseAllDetails()
Collapse all details of all rows in all pages.


collapseAllPageDetails

void collapseAllPageDetails()
Expand all details of the rows displayed on the current page.


expandAllDetails

void expandAllDetails()
Expand all details of all rows in all pages.


expandAllPageDetails

void expandAllPageDetails()
Expand all details of the rows displayed on the current page.


isCurrentDetailExpanded

boolean isCurrentDetailExpanded()
Return true if the current detail row is expanded.

Returns:
true if the current detail row is expanded.

toggleDetail

void toggleDetail()
Change the status of the current detail row from collapsed to expanded or viceversa.


isDetailStampExpandedDefault

boolean isDetailStampExpandedDefault()
true|false - true if the detailStamp should be expanded by default. default: false



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.