1 17 18 package helloworld.listeners; 19 20 import Jmc.baseGui.base_guiListener; 21 import Jmc.commonGui.*; 22 import Jmc.commonGui.loader.*; 23 import Jmc.baseTools.*; 24 import Jmc.baseGui.*; 25 26 35 public class HelloWorldTableChange_li implements base_guiListener 36 { 37 46 public void pcmf_execListener(base_guiObj xParam) throws Exception 47 { 48 base_table_if l_table=(base_table_if) base_registredObject.pcmf_getObjByName("atable"); 50 base_tableLoader l_load = (base_tableLoader)base_registredObject.pcmf_getObjByName("tableLoader"); 51 base_inputField_if l_inp = (base_inputField_if)base_registredObject.pcmf_getObjByName("myTableValueInput"); 52 base_inputField_if l_inpR = (base_inputField_if)base_registredObject.pcmf_getObjByName("myTableRowInput"); 53 base_inputField_if l_inpC = (base_inputField_if)base_registredObject.pcmf_getObjByName("myTableColInput"); 54 55 l_load.pcmf_getModel().setValueAt(l_inp.pcmf_getValue(), Integer.parseInt(l_inpR.pcmf_getValue().toString()), Integer.parseInt(l_inpC.pcmf_getValue().toString())); 57 l_table.pcmf_repaint(); 58 59 return; 60 } 61 } 62 | Popular Tags |