Package muntjac :: Package terminal :: Module error_message :: Class IErrorMessage
[hide private]
[frames] | no frames]

Class IErrorMessage

source code

         object --+        
                  |        
util.IEventListener --+    
                      |    
   paintable.IPaintable --+
                          |
                         IErrorMessage
Known Subclasses:

Interface for rendering error messages to terminal. All the visible errors shown to user must implement this interface.


Authors:
Vaadin Ltd., Richard Lincoln

Version: 1.1.2

Instance Methods [hide private]
 
getErrorLevel(self)
Gets the errors level.
source code
 
addListener(self, listener, iface=None)
Error messages are unmodifiable and thus listeners are not needed.
source code
 
addCallback(self, callback, eventType=None, *args) source code
 
removeListener(self, listener, iface=None)
Error messages are inmodifiable and thus listeners are not needed.
source code
 
removeCallback(self, callback, eventType=None) source code
 
requestRepaint(self)
Error messages are inmodifiable and thus listeners are not needed.
source code

Inherited from paintable.IPaintable: getDebugId, paint, requestRepaintRequests, setDebugId

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  SYSTEMERROR = 5000
  CRITICAL = 4000
  ERROR = 3000
  WARNING = 2000
  INFORMATION = 1000
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getErrorLevel(self)

source code 

Gets the errors level.

Returns:
the level of error as an integer.

addListener(self, listener, iface=None)

source code 

Error messages are unmodifiable and thus listeners are not needed. This method should be implemented as empty.

Parameters:
  • listener - the listener to be added.
Overrides: paintable.IPaintable.addListener

addCallback(self, callback, eventType=None, *args)

source code 
Overrides: paintable.IPaintable.addCallback

removeListener(self, listener, iface=None)

source code 

Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.

Parameters:
  • listener - the listener to be removed.
Overrides: paintable.IPaintable.removeListener

removeCallback(self, callback, eventType=None)

source code 
Overrides: paintable.IPaintable.removeCallback

requestRepaint(self)

source code 

Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.

Overrides: paintable.IPaintable.requestRepaint