001: // @@
002: // @@
003: /*
004: * Wi.Ser Framework
005: *
006: * LGPL Version: 1.8.1, 20-September-2007
007: * Copyright (C) 2005-2006 Dirk von der Weiden <dvdw@imail.de>
008: *
009: * This library is free software; you can redistribute it and/or
010: * modify it under the terms of the GNU Lesser General Public
011: * License as published by the Free Software Foundation; either
012: * version 2 of the License, or (at your option) any later version.
013: *
014: * This library is distributed in the hope that it will be useful,
015: * but WITHOUT ANY WARRANTY; without even the implied warranty of
016: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
017: * Lesser General Public License for more details.
018: *
019: * You should have received a copy of the GNU Lesser General Public
020: * License along with this library located in LGPL.txt in the
021: * license directory; if not, write to the
022: * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
023: * Boston, MA 02111-1307, USA.
024: *
025: * If this agreement does not cover your requirements, please contact us
026: * via email to get detailed information about the commercial license
027: * or our service offerings!
028: *
029: */
030: // @@
031: package de.ug2t.channel.ho.server.generic;
032:
033: import java.util.*;
034:
035: import de.ug2t.channel.ho.session.*;
036: import de.ug2t.kernel.*;
037: import de.ug2t.unifiedGui.*;
038: import de.ug2t.unifiedGui.interfaces.*;
039: import de.ug2t.xmlScript.*;
040:
041: /**
042: *
043: * AHoSrvGenericContainer
044: *
045: * @author dvonderweiden
046: *
047: * Created: 13:57:58, 2003 Comment:
048: */
049: public abstract class AHoSrvGenericContainer extends
050: AHoSrvGenericComponent implements IUnContainer, IUnLayouted,
051: IUnComponent {
052: private IUnImage pem_bgImg = null;
053: private boolean pem_scroll = true;
054: protected int pdm_xScroll = 0;
055: protected int pdm_yScroll = 0;
056: private int pem_cl = IUnLayouted.LAYOUT_GRIDBAG;
057:
058: /**
059: * @param xName
060: * @param xSess
061: * @throws Exception
062: */
063: public AHoSrvGenericContainer(String xName, IHoSession xSess)
064: throws Exception {
065: super (xName, xSess);
066: }
067:
068: /**
069: * @param xName
070: * @throws Exception
071: */
072: public AHoSrvGenericContainer(String xName) throws Exception {
073: super (xName);
074: }
075:
076: /*
077: * (non-Javadoc)
078: *
079: * @see de.ug2t.channel.ho.client.swing.HOSrvGenericComponent#pcmf_buildRefObj()
080: */
081: public AHoSrvGenericComponent pcmf_buildRefObj() throws Exception {
082: return null;
083: }
084:
085: public UnComponent pcmf_setPosition(String xName, int xPos,
086: int yPos, int xWidth, int xHeigth, int xAlign) {
087: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
088: "");
089:
090: if (this .pdm_session.pcmf_isInTransaction()) {
091: ScXmlScript.pcmf_createPBody(l_remCall);
092: } else {
093: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
094: ScXmlScript.pcmf_addProc(l_remCall, null);
095: }
096: ;
097: ScXmlScript.pcmf_addCall(l_remCall, null, this
098: .pcmf_getRemName(), "pcmf_setPosition");
099: ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
100: "java.lang.String");
101: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xPos),
102: "false", "int");
103: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(yPos),
104: "false", "int");
105: ScXmlScript.pcmf_addCallPar(l_remCall,
106: Integer.toString(xWidth), "false", "int");
107: ScXmlScript.pcmf_addCallPar(l_remCall, Integer
108: .toString(xHeigth), "false", "int");
109: ScXmlScript.pcmf_addCallPar(l_remCall,
110: Integer.toString(xAlign), "false", "int");
111: ScXmlScript.pcmf_endAll(l_remCall);
112:
113: this .pdm_session.pcmf_call(l_remCall.toString(), this );
114:
115: return (this );
116: };
117:
118: public UnComponent pcmf_setPosition(UnComponent xObj, int xPos,
119: int yPos, int xWidth, int xHeigth, int xAlign) {
120: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
121: "");
122:
123: if (this .pdm_session.pcmf_isInTransaction()) {
124: ScXmlScript.pcmf_createPBody(l_remCall);
125: } else {
126: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
127: ScXmlScript.pcmf_addProc(l_remCall, null);
128: }
129: ;
130: ScXmlScript.pcmf_addCall(l_remCall, null, this
131: .pcmf_getRemName(), "pcmf_setPosition");
132: ScXmlScript.pcmf_addCallPar(l_remCall, xObj.pcmf_getRemName(),
133: "true", "de.ug2t.unifiedGui.UnComponent");
134: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xPos),
135: "false", "int");
136: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(yPos),
137: "false", "int");
138: ScXmlScript.pcmf_addCallPar(l_remCall,
139: Integer.toString(xWidth), "false", "int");
140: ScXmlScript.pcmf_addCallPar(l_remCall, Integer
141: .toString(xHeigth), "false", "int");
142: ScXmlScript.pcmf_addCallPar(l_remCall,
143: Integer.toString(xAlign), "false", "int");
144: ScXmlScript.pcmf_endAll(l_remCall);
145:
146: this .pdm_session.pcmf_call(l_remCall.toString(), this );
147:
148: return (this );
149: };
150:
151: public void pcmf_setGuiObjPosition(String xName, int xPos,
152: int yPos, int xWi, int xHi, String xAlign) {
153: try {
154: this .pcmf_setPosition(xName, xPos, yPos, xWi, xHi,
155: java.awt.GridBagConstraints.class.getDeclaredField(
156: xAlign).getInt(null));
157: } catch (Exception e) {
158: KeLog.pcmf_log("ug2t", "no valid alignment: " + xAlign,
159: this , KeLog.ERROR);
160: }
161: };
162:
163: public void pcmf_setGuiObjPosition(UnComponent xObj, int xPos,
164: int yPos, int xWi, int xHi, String xAlign) {
165: try {
166: this .pcmf_setPosition(xObj, xPos, yPos, xWi, xHi,
167: java.awt.GridBagConstraints.class.getDeclaredField(
168: xAlign).getInt(null));
169: } catch (Exception e) {
170: KeLog.pcmf_log("ug2t", "no valid alignment: " + xAlign,
171: this , KeLog.ERROR);
172: }
173: };
174:
175: public void pcmf_setCommonLayout(int xLayout) {
176: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
177: "");
178:
179: if (this .pdm_session.pcmf_isInTransaction()) {
180: ScXmlScript.pcmf_createPBody(l_remCall);
181: } else {
182: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
183: ScXmlScript.pcmf_addProc(l_remCall, null);
184: }
185: ;
186: ScXmlScript.pcmf_addCall(l_remCall, null, this
187: .pcmf_getRemName(), "pcmf_setCommonLayout");
188: ScXmlScript.pcmf_addCallPar(l_remCall, Integer
189: .toString(xLayout), "false", "int");
190: ScXmlScript.pcmf_endAll(l_remCall);
191:
192: this .pdm_session.pcmf_call(l_remCall.toString(), this );
193: this .pem_cl = xLayout;
194: }
195:
196: public int pcmf_getCommonLayout() {
197: return (this .pem_cl);
198: }
199:
200: public void pcmf_setGuiObjNoLayout(boolean xLayout) {
201: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
202: "");
203:
204: if (this .pdm_session.pcmf_isInTransaction()) {
205: ScXmlScript.pcmf_createPBody(l_remCall);
206: } else {
207: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
208: ScXmlScript.pcmf_addProc(l_remCall, null);
209: }
210: ;
211: ScXmlScript.pcmf_addCall(l_remCall, null, this
212: .pcmf_getRemName(), "pcmf_setGuiObjNoLayout");
213: ScXmlScript.pcmf_addCallPar(l_remCall, xLayout ? "true"
214: : "false", "false", "boolean");
215: ScXmlScript.pcmf_endAll(l_remCall);
216:
217: this .pdm_session.pcmf_call(l_remCall.toString(), this );
218:
219: return;
220: };
221:
222: public void pcmf_setPSize(int xWi, int xHi) {
223: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
224: "");
225:
226: if (this .pdm_session.pcmf_isInTransaction()) {
227: ScXmlScript.pcmf_createPBody(l_remCall);
228: } else {
229: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
230: ScXmlScript.pcmf_addProc(l_remCall, null);
231: }
232: ;
233: ScXmlScript.pcmf_addCall(l_remCall, null, this
234: .pcmf_getRemName(), "pcmf_setPSize");
235: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xWi),
236: "false", "int");
237: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xHi),
238: "false", "int");
239: ScXmlScript.pcmf_endAll(l_remCall);
240:
241: this .pdm_session.pcmf_call(l_remCall.toString(), this );
242:
243: return;
244: }
245:
246: public void pcmf_setBgImage(IUnImage xImg) {
247: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
248: "");
249:
250: if (this .pdm_session.pcmf_isInTransaction()) {
251: ScXmlScript.pcmf_createPBody(l_remCall);
252: } else {
253: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
254: ScXmlScript.pcmf_addProc(l_remCall, null);
255: }
256: ;
257: ScXmlScript.pcmf_addCall(l_remCall, null, this
258: .pcmf_getRemName(), "pcmf_setBgImage");
259: ScXmlScript.pcmf_addCallPar(l_remCall, xImg
260: .pcmf_getUnComponent().pcmf_getRemName(), "true",
261: "de.ug2t.unifiedGui.interfaces.IUnImage");
262: ScXmlScript.pcmf_endAll(l_remCall);
263:
264: this .pdm_session.pcmf_call(l_remCall.toString(), this );
265: this .pem_bgImg = xImg;
266:
267: return;
268: }
269:
270: public IUnImage pcmf_getBgImage() {
271: return (this .pem_bgImg);
272: };
273:
274: public void pcmf_setInsets(int xIns1, int xIns2, int xIns3,
275: int xIns4) {
276: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
277: "");
278:
279: if (this .pdm_session.pcmf_isInTransaction()) {
280: ScXmlScript.pcmf_createPBody(l_remCall);
281: } else {
282: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
283: ScXmlScript.pcmf_addProc(l_remCall, null);
284: }
285: ;
286: ScXmlScript.pcmf_addCall(l_remCall, null, this
287: .pcmf_getRemName(), "pcmf_setInsets");
288: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns1),
289: "false", "int");
290: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns2),
291: "false", "int");
292: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns3),
293: "false", "int");
294: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns4),
295: "false", "int");
296: ScXmlScript.pcmf_endAll(l_remCall);
297:
298: this .pdm_session.pcmf_call(l_remCall.toString(), this );
299:
300: return;
301: }
302:
303: public void pcmf_setInsets(String xName, int xIns1, int xIns2,
304: int xIns3, int xIns4) {
305: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
306: "");
307:
308: if (this .pdm_session.pcmf_isInTransaction()) {
309: ScXmlScript.pcmf_createPBody(l_remCall);
310: } else {
311: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
312: ScXmlScript.pcmf_addProc(l_remCall, null);
313: }
314: ;
315: ScXmlScript.pcmf_addCall(l_remCall, null, this
316: .pcmf_getRemName(), "pcmf_setInsets");
317: ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
318: "java.lang.String");
319: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns1),
320: "false", "int");
321: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns2),
322: "false", "int");
323: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns3),
324: "false", "int");
325: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns4),
326: "false", "int");
327: ScXmlScript.pcmf_endAll(l_remCall);
328:
329: this .pdm_session.pcmf_call(l_remCall.toString(), this );
330:
331: return;
332: }
333:
334: public void pcmf_setInsets(UnComponent xObj, int xIns1, int xIns2,
335: int xIns3, int xIns4) {
336: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
337: "");
338:
339: if (this .pdm_session.pcmf_isInTransaction()) {
340: ScXmlScript.pcmf_createPBody(l_remCall);
341: } else {
342: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
343: ScXmlScript.pcmf_addProc(l_remCall, null);
344: }
345: ;
346: ScXmlScript.pcmf_addCall(l_remCall, null, this
347: .pcmf_getRemName(), "pcmf_setInsets");
348: ScXmlScript.pcmf_addCallPar(l_remCall, xObj.pcmf_getRemName(),
349: "true", "de.ug2t.unifiedGui.UnComponent");
350: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns1),
351: "false", "int");
352: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns2),
353: "false", "int");
354: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns3),
355: "false", "int");
356: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xIns4),
357: "false", "int");
358: ScXmlScript.pcmf_endAll(l_remCall);
359:
360: this .pdm_session.pcmf_call(l_remCall.toString(), this );
361:
362: return;
363: }
364:
365: public void pcmf_setWeights(String xName, int xWx, int xWy) {
366: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
367: "");
368:
369: if (this .pdm_session.pcmf_isInTransaction()) {
370: ScXmlScript.pcmf_createPBody(l_remCall);
371: } else {
372: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
373: ScXmlScript.pcmf_addProc(l_remCall, null);
374: }
375: ;
376: ScXmlScript.pcmf_addCall(l_remCall, null, this
377: .pcmf_getRemName(), "pcmf_setWeights");
378: ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
379: "java.lang.String");
380: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xWx),
381: "false", "int");
382: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xWy),
383: "false", "int");
384: ScXmlScript.pcmf_endAll(l_remCall);
385:
386: this .pdm_session.pcmf_call(l_remCall.toString(), this );
387:
388: return;
389: }
390:
391: public void pcmf_setWeights(UnComponent xObj, int xWx, int xWy) {
392: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
393: "");
394:
395: if (this .pdm_session.pcmf_isInTransaction()) {
396: ScXmlScript.pcmf_createPBody(l_remCall);
397: } else {
398: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
399: ScXmlScript.pcmf_addProc(l_remCall, null);
400: }
401: ;
402: ScXmlScript.pcmf_addCall(l_remCall, null, this
403: .pcmf_getRemName(), "pcmf_setWeights");
404: ScXmlScript.pcmf_addCallPar(l_remCall, xObj.pcmf_getRemName(),
405: "true", "de.ug2t.unifiedGui.UnComponent");
406: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xWx),
407: "false", "int");
408: ScXmlScript.pcmf_addCallPar(l_remCall, Integer.toString(xWy),
409: "false", "int");
410: ScXmlScript.pcmf_endAll(l_remCall);
411:
412: this .pdm_session.pcmf_call(l_remCall.toString(), this );
413:
414: return;
415: }
416:
417: public void pcmf_setFill(String xName, boolean xH, boolean xV) {
418: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
419: "");
420:
421: if (this .pdm_session.pcmf_isInTransaction()) {
422: ScXmlScript.pcmf_createPBody(l_remCall);
423: } else {
424: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
425: ScXmlScript.pcmf_addProc(l_remCall, null);
426: }
427: ;
428: ScXmlScript.pcmf_addCall(l_remCall, null, this
429: .pcmf_getRemName(), "pcmf_setFill");
430: ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
431: "java.lang.String");
432: ScXmlScript.pcmf_addCallPar(l_remCall, Boolean.toString(xH),
433: "false", "boolean");
434: ScXmlScript.pcmf_addCallPar(l_remCall, Boolean.toString(xV),
435: "false", "boolean");
436: ScXmlScript.pcmf_endAll(l_remCall);
437:
438: this .pdm_session.pcmf_call(l_remCall.toString(), this );
439:
440: return;
441: }
442:
443: public void pcmf_setFill(UnComponent xObj, boolean xH, boolean xV) {
444: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
445: "");
446:
447: if (this .pdm_session.pcmf_isInTransaction()) {
448: ScXmlScript.pcmf_createPBody(l_remCall);
449: } else {
450: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
451: ScXmlScript.pcmf_addProc(l_remCall, null);
452: }
453: ;
454: ScXmlScript.pcmf_addCall(l_remCall, null, this
455: .pcmf_getRemName(), "pcmf_setFill");
456: ScXmlScript.pcmf_addCallPar(l_remCall, xObj.pcmf_getRemName(),
457: "true", "de.ug2t.unifiedGui.UnComponent");
458: ScXmlScript.pcmf_addCallPar(l_remCall, Boolean.toString(xH),
459: "false", "boolean");
460: ScXmlScript.pcmf_addCallPar(l_remCall, Boolean.toString(xV),
461: "false", "boolean");
462: ScXmlScript.pcmf_endAll(l_remCall);
463:
464: this .pdm_session.pcmf_call(l_remCall.toString(), this );
465:
466: return;
467: }
468:
469: public void pcmf_setWeights(boolean xWgt) {
470: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
471: "");
472:
473: if (this .pdm_session.pcmf_isInTransaction()) {
474: ScXmlScript.pcmf_createPBody(l_remCall);
475: } else {
476: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
477: ScXmlScript.pcmf_addProc(l_remCall, null);
478: }
479: ;
480: ScXmlScript.pcmf_addCall(l_remCall, null, this
481: .pcmf_getRemName(), "pcmf_setWeights");
482: ScXmlScript.pcmf_addCallPar(l_remCall, Boolean.toString(xWgt),
483: "false", "boolean");
484: ScXmlScript.pcmf_endAll(l_remCall);
485:
486: this .pdm_session.pcmf_call(l_remCall.toString(), this );
487:
488: return;
489: }
490:
491: public void pcmf_setScroll(boolean xScroll) {
492: KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
493: "");
494:
495: if (this .pdm_session.pcmf_isInTransaction()) {
496: ScXmlScript.pcmf_createPBody(l_remCall);
497: } else {
498: ScXmlScript.pcmf_createxScriptString(l_remCall, null);
499: ScXmlScript.pcmf_addProc(l_remCall, null);
500: }
501: ;
502: ScXmlScript.pcmf_addCall(l_remCall, null, this
503: .pcmf_getRemName(), "pcmf_setScroll");
504: ScXmlScript.pcmf_addCallPar(l_remCall, Boolean
505: .toString(xScroll), "false", "boolean");
506: ScXmlScript.pcmf_endAll(l_remCall);
507:
508: this .pdm_session.pcmf_call(l_remCall.toString(), this );
509:
510: this .pem_scroll = xScroll;
511:
512: return;
513: }
514:
515: public boolean pcmf_getScroll() {
516: return (this .pem_scroll);
517: };
518:
519: public void pcmf_addWidget(String xName, UnComponent xObj) {
520: this .pcmf_addNode(xName, xObj);
521: };
522:
523: public UnComponent pcmf_removeWidget(String xName) {
524: return ((UnComponent) this .pcmf_removeNode(xName));
525: };
526:
527: public UnComponent pcmf_removeWidget(UnComponent xObj) {
528: return ((UnComponent) this .pcmf_removeNode(xObj));
529: };
530:
531: public UnComponent pcmf_getWidget(String xName) {
532: return ((UnComponent) this .pcmf_getSubNode(xName));
533: };
534:
535: public boolean pcmf_contains(UnComponent xObj) {
536: return (super .pcmf_contains(xObj));
537: };
538:
539: // New methods (delegates only) due to interface harmonisation
540: public void pcmf_addWidget(String xName, IUnComponent xObj) {
541: this .pcmf_addWidget(xName, (UnComponent) xObj);
542: }
543:
544: public boolean pcmf_contains(IUnComponent xObj) {
545: return (this .pcmf_contains((UnComponent) xObj));
546: }
547:
548: public IUnComponent pcmf_getWidgetbyName(String xName) {
549: return ((IUnComponent) this .pcmf_getWidget(xName));
550: }
551:
552: public IUnComponent pcmf_removeWidget(IUnComponent xObj) {
553: return ((IUnComponent) this
554: .pcmf_removeWidget((UnComponent) xObj));
555: }
556:
557: public void pcmf_setGuiObjPosition(IUnComponent xObj, int xPos,
558: int yPos, int xWi, int xHi, String xAlign) {
559: this .pcmf_setGuiObjPosition((UnComponent) xObj, xPos, yPos,
560: xWi, xHi, xAlign);
561: }
562:
563: public void pcmf_setScrollInfo(int xX, int xY) {
564: if (xX != this .pdm_xScroll || xY != this .pdm_yScroll) {
565: this .pdm_xScroll = xX;
566: this .pdm_yScroll = xY;
567:
568: Iterator l_it = this .pcmf_getSubIterator();
569: while (l_it.hasNext()) {
570: Object l_obj = l_it.next();
571: if (l_obj instanceof IUnEventChannel) {
572: if (((IUnEventChannel) l_obj).pcmf_getType() == IUnEventChannel.EVENT_SCROLL) {
573: IUnEventChannel l_ch = (IUnEventChannel) l_obj;
574: l_ch
575: .pcmf_getUnComponent()
576: .pcmf_setValue(
577: IUnEventChannel.EVENTs[IUnEventChannel.EVENT_SCROLL]
578: + ":" + xX + "," + xY);
579: l_ch.pcmf_getUnComponent().pcmf_setRefresh();
580:
581: if (l_ch.pcmf_isRefreshParent())
582: ((UnComponent) l_ch.pcmf_getUnComponent()
583: .pcmf_getParentNode())
584: .pcmf_setRefresh();
585:
586: try {
587: if (l_ch.pcmf_getUnComponent()
588: .pcmf_isSubmit())
589: l_ch.pcmf_getUnComponent()
590: .pcmf_dispatchEvent();
591: } catch (Exception e) {
592: KeLog.pcmf_logException("ug2t", this , e);
593: KeLog.pcmf_log("ug2t",
594: "error dispatch scroll event",
595: this, KeLog.ERROR);
596: }
597: }
598: break;
599: }
600: }
601: }
602: }
603: }
|