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

Method getEncodings

src/org/albite/albite/AlbiteMIDlet.java:3409–3426  ·  view source on GitHub ↗

Returns an initiliazed instance of encodings component. @return the initialized component instance

()

Source from the content-addressed store, hash-verified

3407 * @return the initialized component instance
3408 */
3409 public List getEncodings() {
3410 if (encodings == null) {//GEN-END:|1026-getter|0|1026-preInit
3411 // write pre-init user code here
3412 encodings = new List("Set chapter encoding", Choice.IMPLICIT);//GEN-BEGIN:|1026-getter|1|1026-postInit
3413 encodings.addCommand(getAPPLY_COMMAND());
3414 encodings.addCommand(getBACK_COMMAND());
3415 encodings.setCommandListener(this);
3416 encodings.setSelectCommand(getAPPLY_COMMAND());//GEN-END:|1026-getter|1|1026-postInit
3417 // write post-init user code here
3418 encodings.append("Auto", null);
3419
3420 final String[] encs = Encodings.ENCODINGS;
3421 for (int i = 0; i < encs.length; i++) {
3422 encodings.append(encs[i], null);
3423 }
3424 }//GEN-BEGIN:|1026-getter|2|
3425 return encodings;
3426 }
3427 //</editor-fold>//GEN-END:|1026-getter|2|
3428
3429 //<editor-fold defaultstate="collapsed" desc=" Generated Method: encodingsAction ">//GEN-BEGIN:|1026-action|0|1026-preAction

Callers 3

menuActionMethod · 0.95
encodingsActionMethod · 0.95
executeMethod · 0.95

Calls 3

getAPPLY_COMMANDMethod · 0.95
getBACK_COMMANDMethod · 0.95
setCommandListenerMethod · 0.45

Tested by

no test coverage detected