Package com.claymus.gwt

Examples of com.claymus.gwt.RoleSelect


  /*
   * Constructors
   */

  public RoleSelectFormField(String label, boolean required, String helpText) {
    super(label, new RoleSelect(), required, helpText);
    addStyleName("claymus-gwt-FormField-RoleSelect");
  }
View Full Code Here


   * Inherited Methods
   */

  @Override
  public void setStateAsDefault() {
    RoleSelect roleSelect = (RoleSelect) this.widget;
    this.roleData = new Object[roleSelect.getRoleCount()][3];
    for(int i = 0; i < roleSelect.getRoleCount(); i++) {
      this.roleData[i][0] = roleSelect.getRoleName(i);
      this.roleData[i][1] = roleSelect.getRoleEncoded(i);
      this.roleData[i][2] = roleSelect.isRoleSelected(i);
    }
    super.setStateAsDefault();
  }
View Full Code Here

TOP

Related Classes of com.claymus.gwt.RoleSelect

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.