Package ZenWidgets :: Module ZenTableState :: Class ZenTableState
[show private | hide private]
[frames | no frames]

Class ZenTableState


Method Summary
  __init__(self, request, tableName, defaultBatchSize, **keys)
  addFilterField(self, fieldName)
make sure we only add non-dup filterfields
  buildPageNavigation(self, objects)
  getPageNavigation(self)
  setTableState(self, attname, value, default, reset)
  setTableStateFromKeys(self, keys)
  updateFromRequest(self, request)
update table state based on request
  _buildTextLabel(self, item)
  _pageLabel(self, objects, index)
make label for page navigation if field isn't sorted use page #

Class Variable Summary
tuple __ac_permissions__ = ()
int __allow_access_to_unprotected_subobjects__ = 1                                                                     
list changesThatResetStart = ['batchSize', 'filter', 'sortedH...
list requestAtts = ['batchSize', 'filter', 'filterFields', 's...

Method Details

addFilterField(self, fieldName)

make sure we only add non-dup filterfields

updateFromRequest(self, request)

update table state based on request

_pageLabel(self, objects, index)

make label for page navigation if field isn't sorted use page #

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
()                                                                     

__allow_access_to_unprotected_subobjects__

Type:
int
Value:
1                                                                     

changesThatResetStart

Type:
list
Value:
['batchSize', 'filter', 'sortedHeader', 'sortedSence', 'onlyMonitored'\
]                                                                      

requestAtts

Type:
list
Value:
['batchSize',
 'filter',
 'filterFields',
 'sortedHeader',
 'sortedSence',
 'sortRule',
 'start',
 'URL',
...                                                                    

Generated by Epydoc 2.1 on Thu Aug 16 09:55:15 2007 http://epydoc.sf.net