Package DisplayProject

Examples of DisplayProject.GridCell


  /**
   * Get the height policy of this control
   */
  public int getWidthPolicy() {
    GridCell gbc = GridField.getConstraints(this);
    return gbc.getWidthPolicy();
  }
View Full Code Here


   * must be called PRIOR to setting the size of the image.
   *
   * @param pHeightPolicy
   */
  public void setHeightPolicy(int pHeightPolicy) {
    GridCell gbc = GridField.getConstraints(this);
    gbc.setHeightPolicy(pHeightPolicy);
    if (getParent() != null) {
      getParent().invalidate();
      getParent().validate();
    }
  }
View Full Code Here

  /**
   * Get the height policy of this control
   */
  public int getHeightPolicy() {
    GridCell gbc = GridField.getConstraints(this);
    return gbc.getHeightPolicy();
  }
View Full Code Here

            (((JScrollPane)this._component).getViewport().getComponent(0) instanceof ArrayField)){
          this.arrayFieldSpecialCase(((ArrayField)((JScrollPane)this._component).getViewport().getComponent(0)));
         
        }

        GridCell gbc = GridField.getConstraints((JComponent)this._component);
        gbc.setWidthPolicy(policy);
        if (comp.getParent() != null) {
            comp.getParent().invalidate();
            comp.getParent().validate();
        }
    }
View Full Code Here

TOP

Related Classes of DisplayProject.GridCell

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.