Package flumotion :: Package component :: Package base :: Module admin_gtk :: Class EatersAdminGtkNode
[show private | hide private]
[frames | no frames]

Class EatersAdminGtkNode

    Loggable --+    
               |    
BaseAdminGtkNode --+
                   |
                  EatersAdminGtkNode


Method Summary
  __init__(self, state, admin)
  addEater(self, uiState, state)
  haveWidgetTree(self)
I am called when the widget tree has been gotten from the glade file.
  select(self, watcher)
  setUIState(self, state)
Called by the BaseAdminGtk when it gets the UI state and the GUI is ready.
  _setEaterBytesReadCurrent(self, state, value)
  _setEaterConnection(self, state, value)
  _setEaterConnectionItem(self, state, key, value)
  _setEaterCountOffsetDiscont(self, state, value)
  _setEaterCountTimestampDiscont(self, state, value)
  _setEaterFD(self, state, value)
  _setEaterLastConnect(self, state, value)
  _setEaterName(self, state, value)
  _setEaterTotalConnections(self, state, value)
  _setEaterTotalOffsetDiscont(self, state, value)
  _setEaterTotalTimestampDiscont(self, state, value)
  _updateConnectionTime(self)
  _updateDisconnectionTime(self)
    Inherited from BaseAdminGtkNode
  callRemote(self, methodName, *args, **kwargs)
  createWidget(self, name)
Create a new widget instance from the glade file.
  getElementProperty(self, elementName, propertyName)
Get the value of the given property of the element with the given name.
  getWidget(self, name)
  gotUIState(self, state)
  loadGladeFile(self, gladeFile, domain)
Returns: a deferred returning the widget tree from the glade file.
  propertyChanged(self, name, value)
I am meant to be overridden.
  propertyErrback(self, failure, window)
  render(self, *args, **kwargs)
  setElementProperty(self, elementName, propertyName, value)
Set the given property on the element with the given name.
  stateAppend(self, state, key, value)
Override me
  stateDelitem(self, state, key, subkey, value)
Override me
  stateRemove(self, state, key, value)
Override me
  stateSet(self, state, key, value)
Override me
  stateSetitem(self, state, key, subkey, value)
Override me
  status_pop(self, mid)
  status_push(self, str)
    Inherited from Loggable
  debug(self, *args)
Log a debug message.
dict doLog(self, level, where, format, *args, **kwargs)
Log a message at the given level, with the possibility of going higher up in the stack.
  error(self, *args)
Log an error.
  info(self, *args)
Log an informational message.
  log(self, *args)
Log a log message.
  logFunction(self, *args)
Overridable log function.
  logObjectName(self)
Overridable object name function.
  warning(self, *args)
Log a warning.
  warningFailure(self, failure, swallow)
Log a warning about a Failure.

Instance Variable Summary
    Inherited from BaseAdminGtkNode
gtk.Widget widget: the main widget representing this node
  wtree: the widget tree representation for this node

Class Variable Summary
str glade_file = 'flumotion/component/base/eaters.glade'
    Inherited from BaseAdminGtkNode
Implements __implemented__ = <implementedBy flumotion.component.bas...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
str gettext_domain = 'flumotion'
str logCategory: Implementors can provide a category to log their messages under.
    Inherited from Loggable
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Method Details

addEater(self, uiState, state)

Parameters:
uiState - the component's uiState
state - the eater's uiState

haveWidgetTree(self)

I am called when the widget tree has been gotten from the glade file. Responsible for setting self.widget.

Override me to act on it.
Overrides:
flumotion.component.base.admin_gtk.BaseAdminGtkNode.haveWidgetTree (inherited documentation)

setUIState(self, state)

Called by the BaseAdminGtk when it gets the UI state and the GUI is ready. Chain up if you provide your own implementation.
Overrides:
flumotion.component.base.admin_gtk.BaseAdminGtkNode.setUIState (inherited documentation)

Class Variable Details

glade_file

Type:
str
Value:
'flumotion/component/base/eaters.glade'                                

Generated by Epydoc 2.1 on Fri Apr 6 10:10:25 2007 http://epydoc.sf.net