Package flumotion :: Package component :: Package misc :: Package httpserver :: Module admin_gtk :: Class StatisticsAdminGtkNode
[hide private]

Class StatisticsAdminGtkNode

source code

        extern.log.log.Loggable --+    
                                  |    
base.baseadminnode.BaseAdminGtkNode --+
                                      |
                                     StatisticsAdminGtkNode

Instance Methods [hide private]
 
__init__(self, *args, **kwargs) source code
 
haveWidgetTree(self)
I am called when the widget tree has been gotten from the glade file.
source code
 
setStats(self, state)
Update the state containing all information used by this interface
source code
 
_initWidgets(self, wtree) source code
 
_onStateSet(self, state) source code
 
_defaultStats(self) source code
 
_refreshStats(self, state) source code
 
_regReqStat(self, name, converter=str, formatString="%s", default=0) source code
 
_refreshStatistics(self, state) source code
 
_updateStatistic(self, name, value) source code

Inherited from base.baseadminnode.BaseAdminGtkNode: addMessage, callRemote, cleanup, createWidget, getWidget, gotUIState, loadGladeFile, render, setDebugEnabled, setUIState, stateAppend, stateDelitem, stateRemove, stateSet, stateSetitem, status_pop, status_push

Inherited from extern.log.log.Loggable: __providedBy__, __provides__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]

Inherited from base.baseadminnode.BaseAdminGtkNode: gettextDomain, gladeFile, logCategory

Inherited from extern.log.log.Loggable: __implemented__

Instance Variables [hide private]

Inherited from base.baseadminnode.BaseAdminGtkNode: widget, wtree

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 
Parameters:
  • state - state of component this is a UI node for
  • admin - the admin model that interfaces with the manager for us
  • title - the (translated) title to show this node with
Overrides: base.baseadminnode.BaseAdminGtkNode.__init__
(inherited documentation)

haveWidgetTree(self)

source code 

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: base.baseadminnode.BaseAdminGtkNode.haveWidgetTree
(inherited documentation)

setStats(self, state)

source code 

Update the state containing all information used by this interface

Parameters:
  • state (AdminComponentUIState)