org.apache.myfaces.trinidad.component.core.data
Class CoreTable

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by org.apache.myfaces.trinidad.component.UIXComponent
          extended by org.apache.myfaces.trinidad.component.UIXComponentBase
              extended by org.apache.myfaces.trinidad.component.UIXCollection
                  extended by org.apache.myfaces.trinidad.component.UIXIterator
                      extended by org.apache.myfaces.trinidad.component.UIXTable
                          extended by org.apache.myfaces.trinidad.component.core.data.CoreTable
All Implemented Interfaces:
javax.faces.component.NamingContainer, javax.faces.component.StateHolder, CollectionComponent, RowKeyIndex

public class CoreTable
extends UIXTable

The Trinidad Table is used to display tabular data. It also supports selection (both single and multiple), sorting, record navigation and detail-disclosure.

The Trinidad Table component uses a model to access the data in the underlying list. The specific model class is org.apache.myfaces.trinidad.model.CollectionModel. You may also use other model instances, e.g., java.util.List , array, and javax.faces.model.DataModel. The Table will automatically convert the instance into a CollectionModel.

The immediate children of a Table component must all be <tr:column> components. Each visible Trinidad Column component creates a separate column in the Table. For more information see the documentation for <column>

When the list being displayed by a Table is huge, you can enable the Table to break up the list into ranges and display a single range at a time. Range controls are provided on the Table to let the user scroll to the next range, or to go back to the previous range. If the total size of the list is known, a control to let the user jump directly to a particular part of the list is also provided on the Table. Use the Table attributes "rows" and "first" to control the range navigation feature. When the user changes the range, the Table fires a RangeChangeEvent.

You can configure the Table to display or hide additional details of a particular row in response to a user gesture. When the details feature is enabled, a new column containing a toggle (per row) will render in the Table. When a toggle is activated, the details for that row are displayed. When a toggle is deactivated, the details for the row are hidden. The user can also display or hide the details for all rows at the same time (the controls for this feature are enabled by setting the "allDetailsEnabled" property to true.)

To enable the details feature set the "detailStamp" facet on the Table. Place the components that are used to show the details (of a row), inside this facet. In the following example, the Person's age is displayed in the details section:

     
       
         
       
     
             

When a detail row is shown or hidden the Table generates a DisclosureEvent. If all detail rows are shown or hidden the Table fires a DisclosureAllEvent.

The selection feature of a Table lets the user select one or more rows in the list. The user can then perform some operation on the selected rows by activating an appropriate ActionSource component (e.g., by clicking on a commandButton). Use the "selection" facet on the Table to enable the selection feature.

There are two types of selection - single and multiple. The type of selection is determined by the component defined as the "selection" facet. Use the <tr:tableSelectOne> component to enable single selection, and <tr:tableSelectMany> for multiple selection.

The Table component supports sorting columns in ascending or descending order. A special 3D border on a column header lets the user know that the column is sortable. When the user clicks on a column header to sort a previously unsorted column, the Table sorts the column data in ascending order. Subsequent clicks on the same header sorts the data in the reverse order.

There are three requirements to enable sorting: the underlying table model must support sorting, the "sortProperty" and "sortable" attributes must be set on the column to enable the sort capability for that column.

To support sorting, the CollectionModel instance must implement the following methods:

     public boolean isSortable(String propertyName)
     public void setSortCriteria(List criteria)
     public List getSortCriteria()
             

If the underlying model is not a CollectionModel, the Table automatically examines the actual data to determine which properties are sortable. Any column that has data that implements java.lang.Comparable is sortable. This automatic support cannot be nearly as efficient as coding sorting directly into a CollectionModel (for instance, by translating the sort into an "ORDER BY" SQL clause), but is sufficient for small data sets.

To associate a column with a particular property-name to be used for sorting purposes, use the "sortProperty" attribute on the column. To enable the UI for sorting a particular column, set the "sortable" property to true. For more information see the documentation for <column>.

In the following example, both columns are sortable. Sorting the first column sorts by the "firstname" property; sorting the second column sorts by the "lastname" property.

     
       
         
           
         
         ...
       
       
         
           
         
         ...
       
     
           

Banding is a technique where groups of rows (or columns) are displayed with alternating background colors. This helps to differentiate between adjacent rows (or columns).

The "banding" attribute on the Table controls the type of banding to use. The "bandingInterval" attribute controls the number of consecutive rows (or columns) that are colored the same.

Note that the above banding attributes on the Table are ignored when the "bandingShade" attribute is used on the Column.

Events:

Type Phases Description
org.apache.myfaces.trinidad.event.RowDisclosureEvent Invoke Application The Expansion event is generated when tree nodes are expanded or collapsed.
org.apache.myfaces.trinidad.event.SelectionEvent Invoke Application The selection event is delivered when the table selection changes.
org.apache.myfaces.trinidad.event.RangeChangeEvent Invoke Application The range change event is delivered when the user navigates.
org.apache.myfaces.trinidad.event.SortEvent Invoke Application The sort event is delivered when the table column sort criteria is changed.
org.apache.myfaces.trinidad.event.AttributeChangeEvent Apply Request Values Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.


Field Summary
static java.lang.String ACTIONS_FACET
           
static PropertyKey ALL_DETAILS_ENABLED_KEY
           
static PropertyKey COLUMN_BANDING_INTERVAL_KEY
           
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static PropertyKey EMPTY_TEXT_KEY
           
static java.lang.String FOOTER_FACET
           
static java.lang.String HEADER_FACET
           
static PropertyKey HORIZONTAL_GRID_VISIBLE_KEY
           
static PropertyKey INLINE_STYLE_KEY
           
static PropertyKey ONCLICK_KEY
           
static PropertyKey ONDBLCLICK_KEY
           
static PropertyKey ONKEYDOWN_KEY
           
static PropertyKey ONKEYPRESS_KEY
           
static PropertyKey ONKEYUP_KEY
           
static PropertyKey ONMOUSEDOWN_KEY
           
static PropertyKey ONMOUSEMOVE_KEY
           
static PropertyKey ONMOUSEOUT_KEY
           
static PropertyKey ONMOUSEOVER_KEY
           
static PropertyKey ONMOUSEUP_KEY
           
static PropertyKey PARTIAL_TRIGGERS_KEY
           
static PropertyKey ROW_BANDING_INTERVAL_KEY
           
static PropertyKey ROW_SELECTION_KEY
           
static java.lang.String ROW_SELECTION_MULTIPLE
           
static java.lang.String ROW_SELECTION_NONE
           
static java.lang.String ROW_SELECTION_SINGLE
           
static PropertyKey SHORT_DESC_KEY
           
static PropertyKey STYLE_CLASS_KEY
           
static PropertyKey SUMMARY_KEY
           
static FacesBean.Type TYPE
           
static PropertyKey VERTICAL_GRID_VISIBLE_KEY
           
static PropertyKey WIDTH_KEY
           
 
Fields inherited from class org.apache.myfaces.trinidad.component.UIXTable
DETAIL_STAMP_FACET, DISCLOSED_ROW_KEYS_KEY, IMMEDIATE_KEY, RANGE_CHANGE_LISTENER_KEY, ROW_DISCLOSURE_LISTENER_KEY, SELECTED_ROW_KEYS_KEY, SELECTION_LISTENER_KEY, SHOW_ALL_KEY, SORT_LISTENER_KEY
 
Fields inherited from class org.apache.myfaces.trinidad.component.UIXIterator
FIRST_KEY, ROWS_KEY, VALUE_KEY, VAR_STATUS_KEY
 
Fields inherited from class org.apache.myfaces.trinidad.component.UIXCollection
VAR_KEY
 
Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
  CoreTable()
          Construct an instance of the CoreTable.
protected CoreTable(java.lang.String rendererType)
          Construct an instance of the CoreTable.
 
Method Summary
 javax.faces.component.UIComponent getActions()
          content to be rendered inline with the navigation bar.
protected  FacesBean.Type getBeanType()
           
 int getColumnBandingInterval()
          Gets the interval between which the column banding alternates.
 java.lang.String getEmptyText()
          Gets text displayed when a table is empty.
 java.lang.String getFamily()
           
 javax.faces.component.UIComponent getFooter()
          the component used to render the table footer.
 javax.faces.component.UIComponent getHeader()
          the component used to render the table header.
 java.lang.String getInlineStyle()
          Gets the CSS styles to use for this component.
 java.lang.String getOnclick()
          Gets an onclick Javascript handler.
 java.lang.String getOndblclick()
          Gets an ondblclick Javascript handler.
 java.lang.String getOnkeydown()
          Gets an onkeydown Javascript handler.
 java.lang.String getOnkeypress()
          Gets an onkeypress Javascript handler.
 java.lang.String getOnkeyup()
          Gets an onkeyup Javascript handler.
 java.lang.String getOnmousedown()
          Gets an onmousedown Javascript handler.
 java.lang.String getOnmousemove()
          Gets an onmousemove Javascript handler.
 java.lang.String getOnmouseout()
          Gets an onmouseout Javascript handler.
 java.lang.String getOnmouseover()
          Gets an onmouseover Javascript handler.
 java.lang.String getOnmouseup()
          Gets an onmouseup Javascript handler.
 java.lang.String[] getPartialTriggers()
          Gets the IDs of the components that should trigger a partial update.
 int getRowBandingInterval()
          Gets the interval between which the row banding alternates.
 java.lang.String getRowSelection()
          Gets whether rows in this table selectable.
 java.lang.String getShortDesc()
          Gets The short description of the component.
 java.lang.String getStyleClass()
          Gets a CSS style class to use for this component.
 java.lang.String getSummary()
          Gets the summary of this table's purpose and structure for user agents rendering to non-visual media.
 java.lang.String getWidth()
          Gets the width of the table.
 boolean isAllDetailsEnabled()
          Gets whether or not to enable the show/hide all links above the table, which allow the user to show/hide all the detail rows.
 boolean isHorizontalGridVisible()
          Gets if the horizontal grid lines will be drawn.
 boolean isVerticalGridVisible()
          Gets if the vertical grid lines will be drawn.
 void setActions(javax.faces.component.UIComponent actionsFacet)
          content to be rendered inline with the navigation bar.
 void setAllDetailsEnabled(boolean allDetailsEnabled)
          Sets whether or not to enable the show/hide all links above the table, which allow the user to show/hide all the detail rows.
 void setColumnBandingInterval(int columnBandingInterval)
          Sets the interval between which the column banding alternates.
 void setEmptyText(java.lang.String emptyText)
          Sets text displayed when a table is empty.
 void setFooter(javax.faces.component.UIComponent footerFacet)
          the component used to render the table footer.
 void setHeader(javax.faces.component.UIComponent headerFacet)
          the component used to render the table header.
 void setHorizontalGridVisible(boolean horizontalGridVisible)
          Sets if the horizontal grid lines will be drawn.
 void setInlineStyle(java.lang.String inlineStyle)
          Sets the CSS styles to use for this component.
 void setOnclick(java.lang.String onclick)
          Sets an onclick Javascript handler.
 void setOndblclick(java.lang.String ondblclick)
          Sets an ondblclick Javascript handler.
 void setOnkeydown(java.lang.String onkeydown)
          Sets an onkeydown Javascript handler.
 void setOnkeypress(java.lang.String onkeypress)
          Sets an onkeypress Javascript handler.
 void setOnkeyup(java.lang.String onkeyup)
          Sets an onkeyup Javascript handler.
 void setOnmousedown(java.lang.String onmousedown)
          Sets an onmousedown Javascript handler.
 void setOnmousemove(java.lang.String onmousemove)
          Sets an onmousemove Javascript handler.
 void setOnmouseout(java.lang.String onmouseout)
          Sets an onmouseout Javascript handler.
 void setOnmouseover(java.lang.String onmouseover)
          Sets an onmouseover Javascript handler.
 void setOnmouseup(java.lang.String onmouseup)
          Sets an onmouseup Javascript handler.
 void setPartialTriggers(java.lang.String[] partialTriggers)
          Sets the IDs of the components that should trigger a partial update.
 void setRowBandingInterval(int rowBandingInterval)
          Sets the interval between which the row banding alternates.
 void setRowSelection(java.lang.String rowSelection)
          Sets whether rows in this table selectable.
 void setShortDesc(java.lang.String shortDesc)
          Sets The short description of the component.
 void setStyleClass(java.lang.String styleClass)
          Sets a CSS style class to use for this component.
 void setSummary(java.lang.String summary)
          Sets the summary of this table's purpose and structure for user agents rendering to non-visual media.
 void setVerticalGridVisible(boolean verticalGridVisible)
          Sets if the vertical grid lines will be drawn.
 void setWidth(java.lang.String width)
          Sets the width of the table.
 
Methods inherited from class org.apache.myfaces.trinidad.component.UIXTable
addRangeChangeListener, addRowDisclosureListener, addSelectionListener, addSortListener, broadcast, createCollectionModel, getDetailStamp, getDisclosedRowKeys, getRangeChangeListener, getRangeChangeListeners, getRowDisclosureListener, getRowDisclosureListeners, getSelectedRowData, getSelectedRowKeys, getSelectionListener, getSelectionListeners, getSortListener, getSortListeners, getStamps, isImmediate, isShowAll, processFacetsAndChildren, queueEvent, removeRangeChangeListener, removeRowDisclosureListener, removeSelectionListener, removeSortListener, restoreStampState, restoreState, saveStampState, saveState, setDetailStamp, setDisclosedRowKeys, setImmediate, setRangeChangeListener, setRowDisclosureListener, setSelectedRowKeys, setSelectionListener, setShowAll, setSortCriteria, setSortListener
 
Methods inherited from class org.apache.myfaces.trinidad.component.UIXIterator
createVarStatusMap, encodeChildren, getFirst, getRendersChildren, getRows, getValue, getVarStatus, setFirst, setRows, setValue, setVarStatus
 
Methods inherited from class org.apache.myfaces.trinidad.component.UIXCollection
clearCurrencyStringCache, decodeChildrenImpl, encodeBegin, encodeEnd, getClientRowKey, getClientRowKeyManager, getCollectionModel, getCollectionModel, getCurrencyString, getLocalClientId, getRowCount, getRowData, getRowData, getRowIndex, getRowKey, getSortCriteria, getVar, isRowAvailable, isRowAvailable, isSortable, postRowDataChange, preRowDataChange, processComponent, processDecodes, processSaveState, resetStampState, setClientRowKey, setCurrencyString, setRowIndex, setRowKey, setVar, updateChildrenImpl, validateChildrenImpl
 
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
addAttributeChange, addAttributeChangeListener, addFacesListener, broadcastToMethodBinding, createFacesBean, decode, decodeChildren, encodeAll, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, markInitialState, processRestoreState, processUpdates, processValidators, removeAttributeChangeListener, removeFacesListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, toString, updateChildren, validateChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.trinidad.component.CollectionComponent
getFirst, getRows, getVar
 
Methods inherited from interface org.apache.myfaces.trinidad.model.RowKeyIndex
getRowCount, getRowData, getRowData, getRowIndex, getRowKey, isRowAvailable, isRowAvailable, setRowIndex, setRowKey
 

Field Detail

ROW_SELECTION_NONE

public static final java.lang.String ROW_SELECTION_NONE
See Also:
Constant Field Values

ROW_SELECTION_SINGLE

public static final java.lang.String ROW_SELECTION_SINGLE
See Also:
Constant Field Values

ROW_SELECTION_MULTIPLE

public static final java.lang.String ROW_SELECTION_MULTIPLE
See Also:
Constant Field Values

TYPE

public static final FacesBean.Type TYPE

HORIZONTAL_GRID_VISIBLE_KEY

public static final PropertyKey HORIZONTAL_GRID_VISIBLE_KEY

VERTICAL_GRID_VISIBLE_KEY

public static final PropertyKey VERTICAL_GRID_VISIBLE_KEY

EMPTY_TEXT_KEY

public static final PropertyKey EMPTY_TEXT_KEY

COLUMN_BANDING_INTERVAL_KEY

public static final PropertyKey COLUMN_BANDING_INTERVAL_KEY

ROW_BANDING_INTERVAL_KEY

public static final PropertyKey ROW_BANDING_INTERVAL_KEY

ROW_SELECTION_KEY

public static final PropertyKey ROW_SELECTION_KEY

WIDTH_KEY

public static final PropertyKey WIDTH_KEY

SUMMARY_KEY

public static final PropertyKey SUMMARY_KEY

INLINE_STYLE_KEY

public static final PropertyKey INLINE_STYLE_KEY

STYLE_CLASS_KEY

public static final PropertyKey STYLE_CLASS_KEY

SHORT_DESC_KEY

public static final PropertyKey SHORT_DESC_KEY

PARTIAL_TRIGGERS_KEY

public static final PropertyKey PARTIAL_TRIGGERS_KEY

ONCLICK_KEY

public static final PropertyKey ONCLICK_KEY

ONDBLCLICK_KEY

public static final PropertyKey ONDBLCLICK_KEY

ONMOUSEDOWN_KEY

public static final PropertyKey ONMOUSEDOWN_KEY

ONMOUSEUP_KEY

public static final PropertyKey ONMOUSEUP_KEY

ONMOUSEOVER_KEY

public static final PropertyKey ONMOUSEOVER_KEY

ONMOUSEMOVE_KEY

public static final PropertyKey ONMOUSEMOVE_KEY

ONMOUSEOUT_KEY

public static final PropertyKey ONMOUSEOUT_KEY

ONKEYPRESS_KEY

public static final PropertyKey ONKEYPRESS_KEY

ONKEYDOWN_KEY

public static final PropertyKey ONKEYDOWN_KEY

ONKEYUP_KEY

public static final PropertyKey ONKEYUP_KEY

ALL_DETAILS_ENABLED_KEY

public static final PropertyKey ALL_DETAILS_ENABLED_KEY

FOOTER_FACET

public static final java.lang.String FOOTER_FACET
See Also:
Constant Field Values

HEADER_FACET

public static final java.lang.String HEADER_FACET
See Also:
Constant Field Values

ACTIONS_FACET

public static final java.lang.String ACTIONS_FACET
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

CoreTable

public CoreTable()
Construct an instance of the CoreTable.


CoreTable

protected CoreTable(java.lang.String rendererType)
Construct an instance of the CoreTable.

Method Detail

getFooter

public final javax.faces.component.UIComponent getFooter()
the component used to render the table footer.


setFooter

public final void setFooter(javax.faces.component.UIComponent footerFacet)
the component used to render the table footer.


getHeader

public final javax.faces.component.UIComponent getHeader()
the component used to render the table header.


setHeader

public final void setHeader(javax.faces.component.UIComponent headerFacet)
the component used to render the table header.


getActions

public final javax.faces.component.UIComponent getActions()
content to be rendered inline with the navigation bar.


setActions

public final void setActions(javax.faces.component.UIComponent actionsFacet)
content to be rendered inline with the navigation bar.


isHorizontalGridVisible

public final boolean isHorizontalGridVisible()
Gets if the horizontal grid lines will be drawn.


setHorizontalGridVisible

public final void setHorizontalGridVisible(boolean horizontalGridVisible)
Sets if the horizontal grid lines will be drawn.


isVerticalGridVisible

public final boolean isVerticalGridVisible()
Gets if the vertical grid lines will be drawn.


setVerticalGridVisible

public final void setVerticalGridVisible(boolean verticalGridVisible)
Sets if the vertical grid lines will be drawn.


getEmptyText

public final java.lang.String getEmptyText()
Gets text displayed when a table is empty.


setEmptyText

public final void setEmptyText(java.lang.String emptyText)
Sets text displayed when a table is empty.


getColumnBandingInterval

public final int getColumnBandingInterval()
Gets the interval between which the column banding alternates. For example, a columnBandingInterval of 1 would display alternately banded columns.


setColumnBandingInterval

public final void setColumnBandingInterval(int columnBandingInterval)
Sets the interval between which the column banding alternates. For example, a columnBandingInterval of 1 would display alternately banded columns.


getRowBandingInterval

public final int getRowBandingInterval()
Gets the interval between which the row banding alternates. For example, rowBandingInterval=1 would displayalternately banded rows in the Grid.


setRowBandingInterval

public final void setRowBandingInterval(int rowBandingInterval)
Sets the interval between which the row banding alternates. For example, rowBandingInterval=1 would displayalternately banded rows in the Grid.


getRowSelection

public final java.lang.String getRowSelection()
Gets whether rows in this table selectable. Valid values are "none", "single", "multiple"


setRowSelection

public final void setRowSelection(java.lang.String rowSelection)
Sets whether rows in this table selectable. Valid values are "none", "single", "multiple"


getWidth

public final java.lang.String getWidth()
Gets the width of the table. The value must either be a number of pixels or a percentage - it is not a CSS width.


setWidth

public final void setWidth(java.lang.String width)
Sets the width of the table. The value must either be a number of pixels or a percentage - it is not a CSS width.


getSummary

public final java.lang.String getSummary()
Gets the summary of this table's purpose and structure for user agents rendering to non-visual media.


setSummary

public final void setSummary(java.lang.String summary)
Sets the summary of this table's purpose and structure for user agents rendering to non-visual media.


getInlineStyle

public final java.lang.String getInlineStyle()
Gets the CSS styles to use for this component.


setInlineStyle

public final void setInlineStyle(java.lang.String inlineStyle)
Sets the CSS styles to use for this component.


getStyleClass

public final java.lang.String getStyleClass()
Gets a CSS style class to use for this component.


setStyleClass

public final void setStyleClass(java.lang.String styleClass)
Sets a CSS style class to use for this component.


getShortDesc

public final java.lang.String getShortDesc()
Gets The short description of the component. This text is commonly used by user agents to display tooltip help text.


setShortDesc

public final void setShortDesc(java.lang.String shortDesc)
Sets The short description of the component. This text is commonly used by user agents to display tooltip help text.


getPartialTriggers

public final java.lang.String[] getPartialTriggers()
Gets the IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too. Identifiers are relative to the source component, and must account for NamingContainers. If your component is already inside of a naming container, you can use a single colon to start the search from the root, or multiple colons to move up through the NamingContainers - "::" will search from the parent naming container, ":::" will search from the grandparent naming container, etc.


setPartialTriggers

public final void setPartialTriggers(java.lang.String[] partialTriggers)
Sets the IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too. Identifiers are relative to the source component, and must account for NamingContainers. If your component is already inside of a naming container, you can use a single colon to start the search from the root, or multiple colons to move up through the NamingContainers - "::" will search from the parent naming container, ":::" will search from the grandparent naming container, etc.


getOnclick

public final java.lang.String getOnclick()
Gets an onclick Javascript handler.


setOnclick

public final void setOnclick(java.lang.String onclick)
Sets an onclick Javascript handler.


getOndblclick

public final java.lang.String getOndblclick()
Gets an ondblclick Javascript handler.


setOndblclick

public final void setOndblclick(java.lang.String ondblclick)
Sets an ondblclick Javascript handler.


getOnmousedown

public final java.lang.String getOnmousedown()
Gets an onmousedown Javascript handler.


setOnmousedown

public final void setOnmousedown(java.lang.String onmousedown)
Sets an onmousedown Javascript handler.


getOnmouseup

public final java.lang.String getOnmouseup()
Gets an onmouseup Javascript handler.


setOnmouseup

public final void setOnmouseup(java.lang.String onmouseup)
Sets an onmouseup Javascript handler.


getOnmouseover

public final java.lang.String getOnmouseover()
Gets an onmouseover Javascript handler.


setOnmouseover

public final void setOnmouseover(java.lang.String onmouseover)
Sets an onmouseover Javascript handler.


getOnmousemove

public final java.lang.String getOnmousemove()
Gets an onmousemove Javascript handler.


setOnmousemove

public final void setOnmousemove(java.lang.String onmousemove)
Sets an onmousemove Javascript handler.


getOnmouseout

public final java.lang.String getOnmouseout()
Gets an onmouseout Javascript handler.


setOnmouseout

public final void setOnmouseout(java.lang.String onmouseout)
Sets an onmouseout Javascript handler.


getOnkeypress

public final java.lang.String getOnkeypress()
Gets an onkeypress Javascript handler.


setOnkeypress

public final void setOnkeypress(java.lang.String onkeypress)
Sets an onkeypress Javascript handler.


getOnkeydown

public final java.lang.String getOnkeydown()
Gets an onkeydown Javascript handler.


setOnkeydown

public final void setOnkeydown(java.lang.String onkeydown)
Sets an onkeydown Javascript handler.


getOnkeyup

public final java.lang.String getOnkeyup()
Gets an onkeyup Javascript handler.


setOnkeyup

public final void setOnkeyup(java.lang.String onkeyup)
Sets an onkeyup Javascript handler.


isAllDetailsEnabled

public final boolean isAllDetailsEnabled()
Gets whether or not to enable the show/hide all links above the table, which allow the user to show/hide all the detail rows. To enable the detail rows, a "detailStamp" facet must be set on this Table.


setAllDetailsEnabled

public final void setAllDetailsEnabled(boolean allDetailsEnabled)
Sets whether or not to enable the show/hide all links above the table, which allow the user to show/hide all the detail rows. To enable the detail rows, a "detailStamp" facet must be set on this Table.


getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class UIXTable

getBeanType

protected FacesBean.Type getBeanType()
Overrides:
getBeanType in class UIXTable


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.