Package Framework

Examples of Framework.ImageData


     * isInherited=FALSE
     */
    public PictureGraphic getqq_PictureGraphic12() {
        if (qq_PictureGraphic12 == null) {
            qq_PictureGraphic12 = GraphicFactory.newPictureGraphic("", Constants.CG_CENTER);
            qq_PictureGraphic12.setImageValue(new ImageData(new ImageIcon(FixedMax.class.getResource("FixedMax.qq_PictureGraphic12.png"))));
            qq_PictureGraphic12.setWidthPolicy(Constants.SP_NATURAL);
            qq_PictureGraphic12.setHeightPolicy(Constants.SP_NATURAL);
            qq_PictureGraphic12.setImageSizePolicy(Constants.IS_NATURAL);
            qq_PictureGraphic12.setOpaque( true );
            qq_PictureGraphic12.setSize(new Dimension(249, 163));
View Full Code Here


        }
        BufferedImage img = new BufferedImage(componentSize.width, componentSize.height, BufferedImage.TYPE_INT_RGB);
        Graphics2D grap = img.createGraphics();
        grap.fillRect(0, 0, img.getWidth(), img.getHeight());
        win.paint(grap);
        ImageData id = new ImageData(img);
        if (!includeFrame){
            ((JComponent)win).setBorder(oldBorder);
        }
        return id;
    }
View Full Code Here

     * isInherited=FALSE
     */
    public PictureGraphic getqq_PictureGraphic29() {
        if (qq_PictureGraphic29 == null) {
            qq_PictureGraphic29 = GraphicFactory.newPictureGraphic("", Constants.CG_CENTER);
            qq_PictureGraphic29.setImageValue(new ImageData(new ImageIcon(LogonWindow.class.getResource("LogonWindow.qq_PictureGraphic29.png"))));
            qq_PictureGraphic29.setWidthPolicy(Constants.SP_NATURAL);
            qq_PictureGraphic29.setHeightPolicy(Constants.SP_NATURAL);
            qq_PictureGraphic29.setImageSizePolicy(Constants.IS_NATURAL);
            qq_PictureGraphic29.setOpaque( true );
            qq_PictureGraphic29.setSize(new Dimension(379, 261));
View Full Code Here

        if (qq_ModeTC == null) {
            super.getqq_ModeTC();
            qq_ModeTC.setOrientation( Constants.FO_VERTICAL );
            qq_ModeTC.setWrapSize( 2 );
            Array_Of_ListElement<ListElement> aole = new Array_Of_ListElement<ListElement>();
            aole.add(new ListElement(new ImageData(new ImageIcon(ExpressFormWindow.class.getResource("ExpressFormWindow.qq_ModeTC_1.png"))),
                    1, "Edit Mode\nAllows you to view, insert, update, and delete records.", ListElement.qq_Resolver.cIMAGEVALUE_INTEGERVALUE_TEXTVALUE));
            aole.add(new ListElement(new ImageData(new ImageIcon(ExpressFormWindow.class.getResource("ExpressFormWindow.qq_ModeTC_2.png"))),
                    2, "Search Mode\nAllows you to define and perform searches.", ListElement.qq_Resolver.cIMAGEVALUE_INTEGERVALUE_TEXTVALUE));
            getBindingManager().bindComponent(qq_ModeTC, "modeTC", aole);
            // HelpTopic
            CSH.setHelpIDString(qq_ModeTC, "");
            // Help Msg catalog
View Full Code Here

        Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
        Transferable contents = clipboard.getContents(null);
        if (contents != null) {
            try {
                if (pObjectDataType == Constants.SD_IMAGE && contents.isDataFlavorSupported(DataFlavor.imageFlavor)) {
                    result = new ImageData((Image)contents.getTransferData(DataFlavor.imageFlavor));
                }
                else if (pObjectDataType == Constants.SD_TEXT && contents.isDataFlavorSupported(DataFlavor.stringFlavor)) {
                    result = new TextData((String)contents.getTransferData(DataFlavor.stringFlavor));
                }
            }
View Full Code Here

    /**
     * @param dVLargeIcon  The dVLargeIcon to set.
     * @uml.property  name="dVLargeIcon"
     */
    public void setDVLargeIcon(ImageData largeIcon) {
        ImageData oldValue = DVLargeIcon;
        DVLargeIcon = largeIcon;
        getPropertyListeners().firePropertyChange("DVLargeIcon", oldValue, largeIcon);
    }
View Full Code Here

        ImageData oldValue = DVLargeIcon;
        DVLargeIcon = largeIcon;
        getPropertyListeners().firePropertyChange("DVLargeIcon", oldValue, largeIcon);
    }
    public void setDVLargeIcon(ImageIcon smallIcon) {
        setDVLargeIcon(new ImageData(smallIcon));
    }
View Full Code Here

     * @uml.property  name="dVSelectedIcon"
     */
    public void setDVSelectedIcon(final ImageData selectedIcon) {
//        UIutils.invokeOnGuiThread(new Runnable() {
//            public void run() {
                ImageData oldValue = DVSelectedIcon;
                DVSelectedIcon = selectedIcon;
                getPropertyListeners().firePropertyChange("DVSelectedIcon", oldValue, selectedIcon);
//            }
//        });
    }
View Full Code Here

                getPropertyListeners().firePropertyChange("DVSelectedIcon", oldValue, selectedIcon);
//            }
//        });
    }
    public void setDVSelectedIcon(ImageIcon smallIcon) {
        setDVSelectedIcon(new ImageData(smallIcon));
    }
View Full Code Here

    /**
     * @param dVSmallIcon  The dVSmallIcon to set.
     * @uml.property  name="dVSmallIcon"
     */
    public void setDVSmallIcon(final ImageData smallIcon) {
        ImageData oldValue = DVSmallIcon;
        DVSmallIcon = smallIcon;
        getPropertyListeners().firePropertyChange("DVSmallIcon", oldValue, smallIcon);
    }
View Full Code Here

TOP

Related Classes of Framework.ImageData

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.