Java Reference
In-Depth Information
/** This method returns instance for settingForm component and should
be called instead of accessing settingForm field directly.
//GEN-BEGIN:MVDGetBegin10
* @return Instance for settingForm component
*/
public Form get_settingForm() {
if (settingForm == null) {//GEN-END:MVDGetBegin10
// Insert pre-init code here
settingForm = new Form(null, new Item[] {//GEN-BEGIN:MVDGetInit10
get_stringItem1(),
get_spacer2(),
get_stringItem2()
});
settingForm.addCommand(get_backCommand());
settingForm.setCommandListener(this);//GEN-END:MVDGetInit10
// Insert post-init code here
}//GEN-BEGIN:MVDGetEnd10
return settingForm;
}//GEN-END:MVDGetEnd10
/** This method returns instance for okCommand component and should be
called instead of accessing okCommand field directly.
//GEN-BEGIN:MVDGetBegin11
* @return Instance for okCommand component
*/
public Command get_okCommand() {
if (okCommand == null) {//GEN-END:MVDGetBegin11
// Insert pre-init code here
okCommand = new Command("Settings", Command.OK, 1);
//GEN-LINE:MVDGetInit11
// Insert post-init code here
}//GEN-BEGIN:MVDGetEnd11
return okCommand;
}//GEN-END:MVDGetEnd11
/** This method returns instance for backCommand component and should
be called instead of accessing backCommand field directly.
//GEN-BEGIN:MVDGetBegin13
* @return Instance for backCommand component
*/
public Command get_backCommand() {
if (backCommand == null) {//GEN-END:MVDGetBegin13
 
Search WWH ::




Custom Search