コード例 #1
0
 public void addTextListener(XTextListener _xTextListener) {
   for (int i = 0; i < super.ControlGroupVector.size(); i++) {
     ControlRow curControlRow = (ControlRow) ControlGroupVector.get(i);
     XTextComponent xTextBox = curControlRow.xTextComponent;
     if ((xTextBox != null) && (_xTextListener != null)) {
       xTextBox.addTextListener(_xTextListener);
     }
   }
 }
コード例 #2
0
 protected void insertControlGroup(int i, int ypos) {
   iLabelPosX = iCompPosX + iRelLabelPosXDist;
   ControlRow oControlRow = new ControlRow(i, ypos);
   ControlGroupVector.add(oControlRow);
 }