MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / initialize

Method initialize

src/org/albite/albite/AlbiteMIDlet.java:237–259  ·  view source on GitHub ↗

Initilizes the application. It is called only once when the MIDlet is started. The method is called before the startMIDlet method.

()

Source from the content-addressed store, hash-verified

235 * It is called only once when the MIDlet is started. The method is called before the <code>startMIDlet</code> method.
236 */
237 private void initialize() {//GEN-END:|0-initialize|0|0-preInitialize
238 // write pre-initialize user code here
239 bookCanvas = new BookCanvas(this);//GEN-BEGIN:|0-initialize|1|0-postInitialize
240 bookCanvas.setTitle(null);
241 bookCanvas.setFullScreenMode(true);//GEN-END:|0-initialize|1|0-postInitialize
242 // write post-initialize user code here
243
244 /* RMS */
245 openRMSAndLoadData();
246
247 //#if !(TinyMode || TinyModeExport || LightMode || LightModeExport)
248 /* Initialize Dictionary Manager */
249 dictman.reloadDictionaries(dictsFolder);
250 fillDicts();
251 //#endif
252
253 /*
254 * The BookCanvas must be initialized before usage. This is because
255 * of the fact, that it wouldn't have correct metrics, i.e.
256 * wouldn't be in fullscreenmode when looked at from the constructor
257 */
258 bookCanvas.initialize();
259 }//GEN-BEGIN:|0-initialize|2|
260 //</editor-fold>//GEN-END:|0-initialize|2|
261
262 //<editor-fold defaultstate="collapsed" desc=" Generated Method: startMIDlet ">//GEN-BEGIN:|3-startMIDlet|0|3-preAction

Callers 1

startAppMethod · 0.95

Calls 4

openRMSAndLoadDataMethod · 0.95
fillDictsMethod · 0.95
reloadDictionariesMethod · 0.80
setTitleMethod · 0.45

Tested by

no test coverage detected