<s> """<STR_LIT>""" <EOL> from muntjac . terminal . variable_owner import IVariableOwner <EOL> from muntjac . terminal . sizeable import ISizeable <EOL> from muntjac . terminal . paintable import IPaintable <EOL> from muntjac . util import EventObject , IEventListener <EOL> class IComponent ( IPaintable , IVariableOwner , ISizeable ) : <EOL> """<STR_LIT>""" <EOL> def getStyleName ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def setStyleName ( self , style ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def addStyleName ( self , style ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def removeStyleName ( self , style ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def isEnabled ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def setEnabled ( self , enabled ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def isVisible ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def setVisible ( self , visible ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def getParent ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def setParent ( self , parent ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def isReadOnly ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def setReadOnly ( self , readOnly ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def getCaption ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def setCaption ( self , caption ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def getIcon ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def setIcon ( self , icon ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def getWindow ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def getApplication ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def attach ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def detach ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def getLocale ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def childRequestedRepaint ( self , alreadyNotified ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def addListener ( self , listener , iface = None ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def addCallback ( self , callback , eventType = None , * args ) : <EOL> raise NotImplementedError <EOL> def removeListener ( self , listener , iface = None ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def removeCallback ( self , callback , eventType = None ) : <EOL> raise NotImplementedError <EOL> class Event ( EventObject ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , source ) : <EOL> """<STR_LIT>""" <EOL> super ( Event , self ) . __init__ ( source ) <EOL> def getComponent ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . getSource ( ) <EOL> class IListener ( IEventListener ) : <EOL> """<STR_LIT>""" <EOL> def componentEvent ( self , event ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> class ErrorEvent ( Event ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , message , component ) : <EOL> """<STR_LIT>""" <EOL> super ( ErrorEvent , self ) . __init__ ( component ) <EOL> self . _message = message <EOL> def getErrorMessage ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _message <EOL> class IErrorListener ( IEventListener ) : <EOL> """<STR_LIT>""" <EOL> def componentError ( self , event ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> class IFocusable ( IComponent ) : <EOL> """<STR_LIT>""" <EOL> def focus ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def getTabIndex ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> def setTabIndex ( self , tabIndex ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError </s>
