| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIData
com.ibm.xsp.component.UIDataEx
com.ibm.xsp.component.UIViewPanel
com.ibm.xsp.component.xp.XspViewPanel
public class XspViewPanel
A control that displays sortable rows and columns of data extracted from XML based on a defined query
XPages Container Controls - View
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class javax.faces.component.UIComponentBase | 
|---|
| javax.faces.component.UIComponentBase.AggregatedIterator, javax.faces.component.UIComponentBase.UnmodifiableIterator | 
| Nested classes/interfaces inherited from class javax.faces.component.UIComponent | 
|---|
| javax.faces.component.UIComponent.StateMap, javax.faces.component.UIComponent.StateMapEntry | 
| Field Summary | |
|---|---|
| static java.lang.String | COMPONENT_TYPE | 
| static java.lang.String | RENDERER_TYPE | 
| Fields inherited from class com.ibm.xsp.component.UIViewPanel | 
|---|
| DEFAULT_VAR_NAME, FOOTER_PAGER, HEADER_PAGER, INTERNAL_DATA_TABLE, VIEW_TITLE | 
| Fields inherited from class com.ibm.xsp.component.UIDataEx | 
|---|
| AJAX_GETROWS, DEFAULT_ROWS_PER_PAGE | 
| Fields inherited from class javax.faces.component.UIData | 
|---|
| COMPONENT_FAMILY | 
| Fields inherited from class javax.faces.component.UIComponentBase | 
|---|
| EMPTY_ITERATOR | 
| Fields inherited from class javax.faces.component.UIComponent | 
|---|
| _xspStateId | 
| Fields inherited from interface javax.faces.component.NamingContainer | 
|---|
| SEPARATOR_CHAR | 
| Constructor Summary | |
|---|---|
| XspViewPanel() | |
| Method Summary | |
|---|---|
|  java.lang.String | getCaption()Return the value of the captionproperty. | 
|  java.lang.String | getCaptionStyleClass()Return the value of the captionStyleClassproperty. | 
|  java.lang.String | getCellpadding()Return the value of the cellpaddingproperty. | 
|  java.lang.String | getCellspacing()Return the value of the cellspacingproperty. | 
|  java.lang.String | getColumnClasses()Return the value of the columnClassesproperty. | 
|  java.lang.String | getDir()Return the value of the dirproperty. | 
|  java.lang.String | getLang()Return the value of the langproperty. | 
|  java.lang.String | getReadMarksClass()Return the value of the readMarksClassproperty. | 
|  java.lang.String | getRefreshId()Return the value of the refreshIdproperty. | 
|  java.lang.String | getRole()Return the value of the roleproperty. | 
|  java.lang.String | getRowClasses()Return the value of the rowClassesproperty. | 
|  java.lang.String | getSummary()Return the value of the summaryproperty. | 
|  java.lang.String | getTarget()Return the value of the targetproperty. | 
|  java.lang.String | getTitle()Return the value of the titleproperty. | 
|  java.lang.String | getUnreadMarksClass()Return the value of the unreadMarksClassproperty. | 
|  java.lang.String | getViewStyle()Return the value of the viewStyleproperty. | 
|  java.lang.String | getViewStyleClass()Return the value of the viewStyleClassproperty. | 
|  boolean | isPartialExecute()Return the value of the partialExecuteproperty. | 
|  boolean | isPartialRefresh()Return the value of the partialRefreshproperty. | 
|  boolean | isShowColumnHeader()Return the value of the showColumnHeaderproperty. | 
|  boolean | isShowUnreadMarks()Return the value of the showUnreadMarksproperty. | 
|  void | restoreState(javax.faces.context.FacesContext _context,
             java.lang.Object _state) | 
|  java.lang.Object | saveState(javax.faces.context.FacesContext _context) | 
|  void | setCaption(java.lang.String caption)Set the value of the captionproperty. | 
|  void | setCaptionStyleClass(java.lang.String captionStyleClass)Set the value of the captionStyleClassproperty. | 
|  void | setCellpadding(java.lang.String cellpadding)Set the value of the cellpaddingproperty. | 
|  void | setCellspacing(java.lang.String cellspacing)Set the value of the cellspacingproperty. | 
|  void | setColumnClasses(java.lang.String columnClasses)Set the value of the columnClassesproperty. | 
|  void | setDir(java.lang.String dir)Set the value of the dirproperty. | 
|  void | setLang(java.lang.String lang)Set the value of the langproperty. | 
|  void | setPartialExecute(boolean partialExecute)Set the value of the partialExecuteproperty. | 
|  void | setPartialRefresh(boolean partialRefresh)Set the value of the partialRefreshproperty. | 
|  void | setReadMarksClass(java.lang.String readMarksClass)Set the value of the readMarksClassproperty. | 
|  void | setRefreshId(java.lang.String refreshId)Set the value of the refreshIdproperty. | 
|  void | setRole(java.lang.String role)Set the value of the roleproperty. | 
|  void | setRowClasses(java.lang.String rowClasses)Set the value of the rowClassesproperty. | 
|  void | setShowColumnHeader(boolean showColumnHeader)Set the value of the showColumnHeaderproperty. | 
|  void | setShowUnreadMarks(boolean showUnreadMarks)Set the value of the showUnreadMarksproperty. | 
|  void | setSummary(java.lang.String summary)Set the value of the summaryproperty. | 
|  void | setTarget(java.lang.String target)Set the value of the targetproperty. | 
|  void | setTitle(java.lang.String title)Set the value of the titleproperty. | 
|  void | setUnreadMarksClass(java.lang.String unreadMarksClass)Set the value of the unreadMarksClassproperty. | 
|  void | setViewStyle(java.lang.String viewStyle)Set the value of the viewStyleproperty. | 
|  void | setViewStyleClass(java.lang.String viewStyleClass)Set the value of the viewStyleClassproperty. | 
| Methods inherited from class com.ibm.xsp.component.UIViewPanel | 
|---|
| addAttr, addRowAttr, buildContents, encodeBegin, getAttrs, getDataTableStyle, getDataTableStyleClass, getHeight, getOuterTableClientId, getPageName, getRowAttrs, getSelectedIds, getStyleKitFamily, getTabularDataModel, getTopPagerPosition, getViewHeight, getViewWidth, getWidth, initAfterContents, initBeforeContents, invokeOnComponent, setAttrs, setDataTableStyle, setDataTableStyleClass, setHeight, setPageName, setRowAttrs, setWidth | 
| Methods inherited from class javax.faces.component.UIData | 
|---|
| getClientId, getFamily, getFirst, getFooter, getHeader, getRowData, getRowIndex, getVar, isRowAvailable, setFirst, setFooter, setHeader | 
| Methods inherited from class javax.faces.component.UIComponentBase | 
|---|
| _xspGetReadOnlyObj, _xspGetRendererData, _xspRemoveReadOnlyObj, _xspRemoveRendererData, _xspSetIdUnchecked, _xspSetReadOnlyObj, _xspSetRendererData, addFacesListener, decode, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient | 
| Methods inherited from class javax.faces.component.UIComponent | 
|---|
| _xspGetStateId, _xspGetStateMap, _xspRestoreAttribute, _xspRestoreState, _xspSaveState, isVisitable, markInitialState, setControlState | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface com.ibm.xsp.component.FacesDataIterator | 
|---|
| getFirst, getRowIndex, setFirst | 
| Field Detail | 
|---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
| Constructor Detail | 
|---|
public XspViewPanel()
| Method Detail | 
|---|
public java.lang.String getCaption()
 Return the value of the caption property. Contents:
 
The caption which will be displayed above the table
public java.lang.String getCaptionStyleClass()
 Return the value of the captionStyleClass property.
 Contents:
 
Space-separated list of CSS style class(es) to be applied to the caption
public java.lang.String getCellpadding()
 Return the value of the cellpadding property. Contents:
 
Defines how much space should be left between the border of each cell and its contents
public java.lang.String getCellspacing()
 Return the value of the cellspacing property. Contents:
 
Defines how much space should left between the sides of a table and the edge rows and columns. Also specifies the amount of space to leave between cells.
public java.lang.String getColumnClasses()
 Return the value of the columnClasses property. Contents:
 
%property.columnClasses.component.dataTable.descr%
public java.lang.String getDir()
 Return the value of the dir property. Contents:
 
Specifies the direction for text that does not inherit a direction. Valid values are 'LTR' (left to right) and 'RTL' (right to left).
public java.lang.String getLang()
 Return the value of the lang property. Contents:
 
Describes the language used in the generated markup of the control.
public java.lang.String getReadMarksClass()
 Return the value of the readMarksClass property. Contents:
 
The name of a style class to use to format read view entries for display
public java.lang.String getRefreshId()
 Return the value of the refreshId property. Contents:
 
The id of the component to refresh via an Ajax request if partial refresh is enabled
getRefreshId in class UIDataExpublic java.lang.String getRole()
 Return the value of the role property. Contents:
 
Describes the role of the current UI element/area. It can be used by assistive technologies to determine its purpose.
public java.lang.String getRowClasses()
 Return the value of the rowClasses property. Contents:
 
A comma separated list of style classes that are iterated through for each row. So applying two style classes here will result in every second row referencing the second style class. Space separated style classes can be used too.
public java.lang.String getSummary()
 Return the value of the summary property. Contents:
 
Provides a description of the view.
public java.lang.String getTarget()
 Return the value of the target property. Contents:
 
Indicates the name of the frame to use if a view column link is selected.
public java.lang.String getTitle()
 Return the value of the title property. Contents:
 
Provides title information for controls.
public java.lang.String getUnreadMarksClass()
 Return the value of the unreadMarksClass property. Contents:
 
The name of a style class to use to format unread view entries for display
public java.lang.String getViewStyle()
 Return the value of the viewStyle property. Contents:
 
CSS style(s) to be applied to the overall view panel
public java.lang.String getViewStyleClass()
 Return the value of the viewStyleClass property. Contents:
 
Space-separated list of CSS style class(es) to be applied to the overall view panel
public boolean isPartialExecute()
 Return the value of the partialExecute property. Contents:
 
Specifies to only execute this control, thus bypassing the lifecycle for other controls.
isPartialExecute in class UIDataExpublic boolean isPartialRefresh()
 Return the value of the partialRefresh property. Contents:
 
Only refreshes the control when a table action is triggered (collapse/expand...), using an Ajax request.
isPartialRefresh in class UIDataExpublic boolean isShowColumnHeader()
 Return the value of the showColumnHeader property. Contents:
 
Boolean flag indicating if the column headers are to be shown or not
public boolean isShowUnreadMarks()
 Return the value of the showUnreadMarks property. Contents:
 
Boolean flag indicating if the unread entries should be specially marked for display in the view
public void restoreState(javax.faces.context.FacesContext _context,
                         java.lang.Object _state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class UIViewPanelpublic java.lang.Object saveState(javax.faces.context.FacesContext _context)
saveState in interface javax.faces.component.StateHoldersaveState in class UIViewPanelpublic void setCaption(java.lang.String caption)
 Set the value of the caption property.
 
public void setCaptionStyleClass(java.lang.String captionStyleClass)
 Set the value of the captionStyleClass property.
 
public void setCellpadding(java.lang.String cellpadding)
 Set the value of the cellpadding property.
 
public void setCellspacing(java.lang.String cellspacing)
 Set the value of the cellspacing property.
 
public void setColumnClasses(java.lang.String columnClasses)
 Set the value of the columnClasses property.
 
public void setDir(java.lang.String dir)
 Set the value of the dir property.
 
public void setLang(java.lang.String lang)
 Set the value of the lang property.
 
public void setPartialExecute(boolean partialExecute)
 Set the value of the partialExecute property.
 
public void setPartialRefresh(boolean partialRefresh)
 Set the value of the partialRefresh property.
 
public void setReadMarksClass(java.lang.String readMarksClass)
 Set the value of the readMarksClass property.
 
public void setRefreshId(java.lang.String refreshId)
 Set the value of the refreshId property.
 
public void setRole(java.lang.String role)
 Set the value of the role property.
 
public void setRowClasses(java.lang.String rowClasses)
 Set the value of the rowClasses property.
 
public void setShowColumnHeader(boolean showColumnHeader)
 Set the value of the showColumnHeader property.
 
public void setShowUnreadMarks(boolean showUnreadMarks)
 Set the value of the showUnreadMarks property.
 
public void setSummary(java.lang.String summary)
 Set the value of the summary property.
 
public void setTarget(java.lang.String target)
 Set the value of the target property.
 
public void setTitle(java.lang.String title)
 Set the value of the title property.
 
public void setUnreadMarksClass(java.lang.String unreadMarksClass)
 Set the value of the unreadMarksClass property.
 
public void setViewStyle(java.lang.String viewStyle)
 Set the value of the viewStyle property.
 
public void setViewStyleClass(java.lang.String viewStyleClass)
 Set the value of the viewStyleClass property.
 
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||