Package net.pleso.framework.client.bl.forms.items

Examples of net.pleso.framework.client.bl.forms.items.IActionFormItem


      // interfaces checked first.

      // If item is action.
      if (items[i] instanceof IActionFormItem) {
        // Item type casting.
        IActionFormItem actionFormItem = (IActionFormItem) items[i];
        // If controls must be small.
        if (actionFormItem.getSize() == FormItemSize.Small) {
          // Creating control.
          ActionButtonControl ctrl = new ActionButtonControl(
              this.parentWindow, actionFormItem.getAction(),
              this.updateControlListenerer);
          // Binding row to control.
          ctrl.bind(dataRow, null);

          addedControl = ctrl;
        } else {
          // Creating control.
          ActionSliderControl ctrl = new ActionSliderControl(
              this.parentWindow, actionFormItem.getAction(),
              this.updateControlListenerer);
          // Binding row to control.
          ctrl.bind(dataRow, null);

          addedControl = ctrl;
View Full Code Here

TOP

Related Classes of net.pleso.framework.client.bl.forms.items.IActionFormItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.