ariba.ui.table
Class AWTPivotState

java.lang.Object
  extended by ariba.ui.table.AWTPivotState
All Implemented Interfaces:
AWTDisplayGroup.Grouper

public class AWTPivotState
extends java.lang.Object
implements AWTDisplayGroup.Grouper


Nested Class Summary
static class AWTPivotState.CellVisitor
           
static class AWTPivotState.EdgeCell
           
static class AWTPivotState.PivotAttributesColumn
           
static class AWTPivotState.PivotEdgeColumn
           
static class AWTPivotState.PivotGroup
           
static class AWTPivotState.RowAttributeExpandoColumn
           
static class AWTPivotState.RowAttributeLabelColumn
           
 
Field Summary
 AWTPivotState.EdgeCell _currentEdgeCell
           
 int _firstAttributeColumnIndex
           
 int _lastRowFieldColumnIndex
           
static AWTDataTable.Column _RowAttributeExpandoColumn
           
static AWTDataTable.Column _RowAttributeLabelColumn
           
 boolean _showingRowAttributes
           
 AWEncodedString pivotPanelId
           
 
Constructor Summary
AWTPivotState(AWTDataTable dataTable, java.util.List columnFields, java.util.List rowFields, java.util.List columnAttributeFields)
           
 
Method Summary
 java.util.List _allColumnAttributes()
           
 boolean _prepareDetailRow(AWTDataTable table)
           
 void collapseAllDetailAttributes()
           
 java.lang.String collapseCheckColumnKey()
           
 int collapseCheckMemberCount()
           
 java.util.List columnAttributes()
           
 int columnEdgeLevels()
           
 java.util.List columnFields()
           
 java.util.List computeDisplayedColumns(java.util.List displayedColumns)
           
 java.util.List computeSortOrderings()
           
 AWResponseGenerating configurePivotLayout()
           
static AWTPivotState.CellVisitor createVistors(AWTDataTable.Column[] columns, AWTDataTable table)
           
 java.util.List currentItemChildren()
           
 boolean currentItemHasChildren()
           
 java.util.List currentLevelEdgeCells()
           
 int currentVisibleRowAttrPos()
           
 boolean detailAttributesExpanded()
           
 java.lang.Object[] editableConfig()
           
 void expandAllDetailAttributes()
           
 boolean getDetailAttributesExpanded(java.lang.Object item)
           
 java.util.List groupObjects(java.util.List sortedObjects)
           
 void invalidate()
           
 boolean isCurrentColumnDisplayed()
           
 java.lang.String leafCellHeaderClass()
           
 java.util.List<AWTPivotState.PivotEdgeColumn> leafLevelColumnsFor(AWTDataTable.Column columnFieldsColumn)
           
 java.lang.Object nextLevel()
           
 java.util.List objectsInGroups(java.util.List groupLeadItems)
           
 java.util.List optionalAttributeColumns()
           
 void pivotToggleCurrentColumnVisibility()
           
 int preEdgeColSpan()
           
 boolean prepareDetailRow(AWTDataTable table)
           
 void prepareForIteration()
           
 boolean preparePrimaryRow(AWTDataTable table)
           
 void processTableConfig(java.util.Map config)
           
 boolean renderAsHeader()
           
 java.util.List rowFields()
           
 void setCurrentEdgeCell(AWTPivotState.EdgeCell cell)
           
 void setDetailAttributesExpanded(java.lang.Object item, boolean expanded)
           
 boolean showDetailAttributesExpando()
           
 AWTDataTable table()
           
 void toggleDetailAttributesExpanded()
           
 void toggleShowingRowAttributes()
           
 java.util.List topLevelEdgeCells()
           
 void validateFilteredList(java.util.List filteredList)
           
 void writeToTableConfig(java.util.Map config)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_firstAttributeColumnIndex

public int _firstAttributeColumnIndex

_lastRowFieldColumnIndex

public int _lastRowFieldColumnIndex

pivotPanelId

public AWEncodedString pivotPanelId

_showingRowAttributes

public boolean _showingRowAttributes

_currentEdgeCell

public AWTPivotState.EdgeCell _currentEdgeCell

_RowAttributeLabelColumn

public static AWTDataTable.Column _RowAttributeLabelColumn

_RowAttributeExpandoColumn

public static AWTDataTable.Column _RowAttributeExpandoColumn
Constructor Detail

AWTPivotState

public AWTPivotState(AWTDataTable dataTable,
                     java.util.List columnFields,
                     java.util.List rowFields,
                     java.util.List columnAttributeFields)
Method Detail

computeDisplayedColumns

public java.util.List computeDisplayedColumns(java.util.List displayedColumns)

columnAttributes

public java.util.List columnAttributes()

_allColumnAttributes

public java.util.List _allColumnAttributes()

columnFields

public java.util.List columnFields()

rowFields

public java.util.List rowFields()

leafLevelColumnsFor

public java.util.List<AWTPivotState.PivotEdgeColumn> leafLevelColumnsFor(AWTDataTable.Column columnFieldsColumn)

optionalAttributeColumns

public java.util.List optionalAttributeColumns()

collapseCheckColumnKey

public java.lang.String collapseCheckColumnKey()

collapseCheckMemberCount

public int collapseCheckMemberCount()

isCurrentColumnDisplayed

public boolean isCurrentColumnDisplayed()

pivotToggleCurrentColumnVisibility

public void pivotToggleCurrentColumnVisibility()

table

public AWTDataTable table()

editableConfig

public java.lang.Object[] editableConfig()

writeToTableConfig

public void writeToTableConfig(java.util.Map config)

processTableConfig

public void processTableConfig(java.util.Map config)

groupObjects

public java.util.List groupObjects(java.util.List sortedObjects)
Specified by:
groupObjects in interface AWTDisplayGroup.Grouper

validateFilteredList

public void validateFilteredList(java.util.List filteredList)
Specified by:
validateFilteredList in interface AWTDisplayGroup.Grouper

invalidate

public void invalidate()
Specified by:
invalidate in interface AWTDisplayGroup.Grouper

objectsInGroups

public java.util.List objectsInGroups(java.util.List groupLeadItems)
Specified by:
objectsInGroups in interface AWTDisplayGroup.Grouper

computeSortOrderings

public java.util.List computeSortOrderings()
Specified by:
computeSortOrderings in interface AWTDisplayGroup.Grouper

currentItemChildren

public java.util.List currentItemChildren()

currentItemHasChildren

public boolean currentItemHasChildren()

preEdgeColSpan

public int preEdgeColSpan()

columnEdgeLevels

public int columnEdgeLevels()

renderAsHeader

public boolean renderAsHeader()

nextLevel

public java.lang.Object nextLevel()

currentLevelEdgeCells

public java.util.List currentLevelEdgeCells()

topLevelEdgeCells

public java.util.List topLevelEdgeCells()

setCurrentEdgeCell

public void setCurrentEdgeCell(AWTPivotState.EdgeCell cell)

leafCellHeaderClass

public java.lang.String leafCellHeaderClass()

prepareForIteration

public void prepareForIteration()

showDetailAttributesExpando

public boolean showDetailAttributesExpando()

detailAttributesExpanded

public boolean detailAttributesExpanded()

setDetailAttributesExpanded

public void setDetailAttributesExpanded(java.lang.Object item,
                                        boolean expanded)

getDetailAttributesExpanded

public boolean getDetailAttributesExpanded(java.lang.Object item)

toggleDetailAttributesExpanded

public void toggleDetailAttributesExpanded()

expandAllDetailAttributes

public void expandAllDetailAttributes()

collapseAllDetailAttributes

public void collapseAllDetailAttributes()

preparePrimaryRow

public boolean preparePrimaryRow(AWTDataTable table)

prepareDetailRow

public boolean prepareDetailRow(AWTDataTable table)

_prepareDetailRow

public boolean _prepareDetailRow(AWTDataTable table)

currentVisibleRowAttrPos

public int currentVisibleRowAttrPos()

configurePivotLayout

public AWResponseGenerating configurePivotLayout()

toggleShowingRowAttributes

public void toggleShowingRowAttributes()

createVistors

public static AWTPivotState.CellVisitor createVistors(AWTDataTable.Column[] columns,
                                                      AWTDataTable table)


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.