Package DisplayProject.controls

Examples of DisplayProject.controls.Rectangle


        }
        return qq_aRectangle;
    }

    public void setqq_aRectangle(Rectangle value) {
        Rectangle oldValue = qq_aRectangle;
        qq_aRectangle = value;
        this.qq_Listeners.firePropertyChange("qq_aRectangle", oldValue, value);
    }
View Full Code Here


     */
    public static Rectangle drawRectangle(JPanel form, int width, int height,
            int startX, int startY, int penColor, int fillColor, int lineStyle,
            int lineWeight, int contrastColor, int contrastPattern) {
        setForm(form);
        Rectangle rect = new Rectangle();
        rect.setVisible(true);
        if (lineStyle != -1)
            rect.setLineStyle(lineStyle);
        if (lineWeight != -127)
            rect.setLineWeight(lineWeight);
        if (penColor != 0)
            ColourChange.setForeground(rect, penColor);
        if (fillColor != 0)
            ColourChange.setBackground(rect, fillColor);
        java.awt.Point loc = location(startX, startY);
View Full Code Here

TOP

Related Classes of DisplayProject.controls.Rectangle

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.