1 17 18 package helloworld.listeners; 19 20 import Jmc.baseGui.base_guiListener; 21 import Jmc.baseGui.base_guiObj; 22 import Jmc.baseTools.base_registredObject; 23 import Jmc.commonGui.base_guiPage_if; 24 25 public class HelloWorldReshape_li implements base_guiListener 26 { 27 public void pcmf_execListener(base_guiObj xParam) throws Exception 28 { 29 base_guiObj l_pos = (base_guiObj)base_registredObject.pcmf_getObjByName("wpos"); 31 base_guiObj l_size = (base_guiObj)base_registredObject.pcmf_getObjByName("wsize"); 32 33 if (xParam.pcmf_getValue().toString().startsWith(base_guiPage_if.PAGE_MOVED)) 35 l_pos.pcmf_setValue(xParam.pcmf_getValue()); 36 else 37 if (xParam.pcmf_getValue().toString().startsWith(base_guiPage_if.PAGE_RESIZED)) 38 l_size.pcmf_setValue(xParam.pcmf_getValue()); 39 40 return; 41 } 42 43 } 44 | Popular Tags |