ariba.ui.table
Class AWTPivotState

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

public class AWTPivotState
extends 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, List columnFields, List rowFields, List columnAttributeFields)
           
 
Method Summary
 List _allColumnAttributes()
           
 boolean _prepareDetailRow(AWTDataTable table)
           
 void collapseAllDetailAttributes()
           
 String collapseCheckColumnKey()
           
 int collapseCheckMemberCount()
           
 List columnAttributes()
           
 int columnEdgeLevels()
           
 List columnFields()
           
 List computeDisplayedColumns(List displayedColumns)
           
 List computeSortOrderings()
           
 AWResponseGenerating configurePivotLayout()
           
static AWTPivotState.CellVisitor createVistors(AWTDataTable.Column[] columns, AWTDataTable table)
           
 List currentItemChildren()
           
 boolean currentItemHasChildren()
           
 List currentLevelEdgeCells()
           
 int currentVisibleRowAttrPos()
           
 boolean detailAttributesExpanded()
           
 Object[] editableConfig()
           
 void expandAllDetailAttributes()
           
 boolean getDetailAttributesExpanded(Object item)
           
 List groupObjects(List sortedObjects)
           
 void invalidate()
           
 boolean isCurrentColumnDisplayed()
           
 String leafCellHeaderClass()
           
 List<AWTPivotState.PivotEdgeColumn> leafLevelColumnsFor(AWTDataTable.Column columnFieldsColumn)
           
 Object nextLevel()
           
 List objectsInGroups(List groupLeadItems)
           
 List optionalAttributeColumns()
           
 void pivotToggleCurrentColumnVisibility()
           
 int preEdgeColSpan()
           
 boolean prepareDetailRow(AWTDataTable table)
           
 void prepareForIteration()
           
 boolean preparePrimaryRow(AWTDataTable table)
           
 void processTableConfig(Map config)
           
 boolean renderAsHeader()
           
 List rowFields()
           
 void setCurrentEdgeCell(AWTPivotState.EdgeCell cell)
           
 void setDetailAttributesExpanded(Object item, boolean expanded)
           
 boolean showDetailAttributesExpando()
           
 AWTDataTable table()
           
 void toggleDetailAttributesExpanded()
           
 void toggleShowingRowAttributes()
           
 List topLevelEdgeCells()
           
 void validateFilteredList(List filteredList)
           
 void writeToTableConfig(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,
                     List columnFields,
                     List rowFields,
                     List columnAttributeFields)
Method Detail

computeDisplayedColumns

public List computeDisplayedColumns(List displayedColumns)

columnAttributes

public List columnAttributes()

_allColumnAttributes

public List _allColumnAttributes()

columnFields

public List columnFields()

rowFields

public List rowFields()

leafLevelColumnsFor

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

optionalAttributeColumns

public List optionalAttributeColumns()

collapseCheckColumnKey

public String collapseCheckColumnKey()

collapseCheckMemberCount

public int collapseCheckMemberCount()

isCurrentColumnDisplayed

public boolean isCurrentColumnDisplayed()

pivotToggleCurrentColumnVisibility

public void pivotToggleCurrentColumnVisibility()

table

public AWTDataTable table()

editableConfig

public Object[] editableConfig()

writeToTableConfig

public void writeToTableConfig(Map config)

processTableConfig

public void processTableConfig(Map config)

groupObjects

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

validateFilteredList

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

invalidate

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

objectsInGroups

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

computeSortOrderings

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

currentItemChildren

public List currentItemChildren()

currentItemHasChildren

public boolean currentItemHasChildren()

preEdgeColSpan

public int preEdgeColSpan()

columnEdgeLevels

public int columnEdgeLevels()

renderAsHeader

public boolean renderAsHeader()

nextLevel

public Object nextLevel()

currentLevelEdgeCells

public List currentLevelEdgeCells()

topLevelEdgeCells

public List topLevelEdgeCells()

setCurrentEdgeCell

public void setCurrentEdgeCell(AWTPivotState.EdgeCell cell)

leafCellHeaderClass

public String leafCellHeaderClass()

prepareForIteration

public void prepareForIteration()

showDetailAttributesExpando

public boolean showDetailAttributesExpando()

detailAttributesExpanded

public boolean detailAttributesExpanded()

setDetailAttributesExpanded

public void setDetailAttributesExpanded(Object item,
                                        boolean expanded)

getDetailAttributesExpanded

public boolean getDetailAttributesExpanded(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-2009 Ariba, Inc. All Rights Reserved.