Package muntjac :: Package addon :: Package codemirror :: Module code_mirror_application :: Class CodeMirrorApplication
[hide private]
[frames] | no frames]

Class CodeMirrorApplication

source code

                      object --+        
                               |        
terminal.uri_handler.IUriHandler --+    
                                   |    
                      object --+   |    
                               |   |    
     terminal.terminal.ITerminal --+    
                                   |    
                      object --+   |    
                               |   |    
terminal.terminal.IErrorListener --+    
                                   |    
             application.Application --+
                                       |
                                      CodeMirrorApplication

Instance Methods [hide private]
 
init(self)
Main initializer of the application.
source code

Inherited from application.Application: __init__, addCallback, addListener, addResource, addWindow, close, getContext, getErrorHandler, getLocale, getLogoutURL, getMainWindow, getProperty, getPropertyNames, getRelativeLocation, getTheme, getURL, getUser, getVersion, getWindow, getWindows, handleURI, isRunning, removeCallback, removeListener, removeResource, removeWindow, setErrorHandler, setLocale, setLogoutURL, setMainWindow, setTheme, setUser, start, terminalError

Inherited from terminal.terminal.ITerminal: getDefaultTheme, getScreenHeight, getScreenWidth

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

Class Methods [hide private]

Inherited from application.Application: getSystemMessages

Class Variables [hide private]
  _NL = '\n\n'
  _SAMPLE_CODE = '<xml is="fun"></xml>\n\nfunction js(isMoreFun)...
Instance Variables [hide private]

Inherited from application.Application: theme

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

init(self)

source code 

Main initializer of the application. The init method is called by the framework when the application is started, and it should perform whatever initialization operations the application needs, such as creating windows and adding components to them.

Overrides: application.Application.init
(inherited documentation)

Class Variable Details [hide private]

_SAMPLE_CODE

Value:
'''<xml is="fun"></xml>

function js(isMoreFun) {alert("Yay!");}

public void java(String isAlsoCool) {
\twith("Vaadin!");
}

...