Package DisplayProject.controls

Examples of DisplayProject.controls.Panel


     }
     return qq_FolderPanel;
   }

   public void setqq_FolderPanel(Panel value) {
     Panel oldValue = qq_FolderPanel;
     qq_FolderPanel = value;
     this.qq_Listeners.firePropertyChange("qq_FolderPanel", oldValue, value);
   }
View Full Code Here


   * Forte.
   *
   * @return A <code>Panel</code> which represents the Form
   */
  public static Panel newForm() {
    Panel gf = new Panel();
    gf.setName("Form");
    gf.setDoubleBuffered(true);
    gf.setFocusable(false);
    gf.setBackground(null);
    // TF:19/06/2008:Added the instantiation of the layout manager here
    gf.setLayout(new WindowFormLayout());

    gf.setFocusTraversalPolicyProvider(true);
    gf.setFocusTraversalPolicy(new ForteLayoutFocusTraversalPolicy()); // CraigM:01/09/2008 - Moved code into special class.

    return gf;
  }
View Full Code Here

   *            not translated at this stage
   * @return The created <code>Panel</code>
   */
  public static Panel newPanel(String name, int frameWeight, String caption,
      Color bc, int fontStyle) {
    Panel gf = newPanel(name);
    FrameWeight.set(gf, frameWeight);
    Caption.set(gf, caption);

    gf.setOpaque(true);
    gf.setBackground(null);

    return gf;
  }
View Full Code Here

   *            The Background colour.
   * @return The created <code>Panel</code>
   */
  public static Panel newPanel(String name, int frameWeight, String caption,
      Color bc) {
    Panel gf = newPanel(name);
    FrameWeight.set(gf, frameWeight);
    Caption.set(gf, caption);
    gf.setOpaque(true);
    gf.setBackground(null);
    // TF:21/8/07:When we add components to the panel we have to cater for
    // the border offsets. However,
    // because this component isn't always created on the GUI thread the
    // border may not be set prior to
    // us adding the components because it's in the pending action queue.
View Full Code Here

   * @return The created <code>Panel</code>
   */
  public static Panel newPanel() {
    // TF:9/11/07:Refactored this method to initialise the state properly
    // for coded widgets, instead of declared widgets
    Panel result = newPanel((String) null);
    WidgetState.set(result, Constants.FS_UPDATE);
    return result;
  }
View Full Code Here

   *            widget. Y is measured in mils from top to bottom.
   * @return The created <code>Panel</code>
   */
  public static Panel newPanel(int x, int y, int height, int width,
      int frameWeight, Container parent) {
    Panel jp = newPanel((String) null);
    Widget.configure(jp, x, y, width, height);
    FrameWeight.set(jp, frameWeight);
    Parent.set(jp, parent);
    jp.setBackground(null);
    return jp;
  }
View Full Code Here

   *            the <code>Panel</code> and its border relative to its parent
   *            widget. Y is measured in mils from top to bottom.
   * @return The created <code>Panel</code>
   */
  public static Panel newPanel(int frameWeight, Container parent, int x, int y) {
    Panel jp = newPanel((String) null);
    FrameWeight.set(jp, frameWeight);
    Parent.set(jp, parent);
    jp.setLocation(UIutils.milsToPixels(x), UIutils.milsToPixels(y));
    jp.setBackground(null);
    return jp;
  }
View Full Code Here

   * @param name
   *            Name of the Panel
   * @return The created <code>Panel</code>
   */
  public static Panel newPanel(String name) {
    Panel panel = new Panel();
    int size = UIutils.milsToPixels(5000);
    panel.setSize(size, size);
    // panel.setMinimumSize(panel.getSize());
    panel.setName(name);
    panel.setFocusable(false);
    panel.setOpaque(true);
    panel.setLayout(new PanelLayoutManager());
    panel.setBackground(null);
    return panel;
  }
View Full Code Here

   *            The margin parameter (int) defines a margin, in mils, between
   *            a panel�s boundaries and its child widgets as a group.
   * @return The created <code>Panel</code>
   */
  public static Panel newPanel(String name, int margin) {
    Panel gf = newPanel(name);
    int gap = UIutils.milsToPixels(margin);
    gf.getInsets().left = gap;
    gf.getInsets().right = gap;
    gf.getInsets().top = gap;
    gf.getInsets().bottom = gap;
    gf.setBackground(null);
    return gf;
  }
View Full Code Here

        }
        return qq_FolderPanel;
    }

    public void setqq_FolderPanel(Panel value) {
        Panel oldValue = qq_FolderPanel;
        qq_FolderPanel = value;
        this.qq_Listeners.firePropertyChange("qq_FolderPanel", oldValue, value);
    }
View Full Code Here

TOP

Related Classes of DisplayProject.controls.Panel

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.