Package Framework

Examples of Framework.ImageData


     * isInherited=FALSE
     */
    public PictureGraphic getqq_aPicture() {
        if (qq_aPicture == null) {
            qq_aPicture = GraphicFactory.newPictureGraphic("", Constants.CG_CENTER);
            qq_aPicture.setImageValue(new ImageData(new ImageIcon(Main.class.getResource("main.qq_aPicture.png"))));
            qq_aPicture.setWidthPolicy(Constants.SP_NATURAL);
            qq_aPicture.setHeightPolicy(Constants.SP_NATURAL);
            qq_aPicture.setImageSizePolicy(Constants.IS_NATURAL);
            qq_aPicture.setOpaque( true );
            qq_aPicture.setSize(new Dimension(31, 12));
View Full Code Here


     * isInherited=FALSE
     */
    public PictureGraphic getqq_InheritedColourR() {
        if (qq_InheritedColourR == null) {
            qq_InheritedColourR = GraphicFactory.newPictureGraphic("", Constants.CG_CENTER);
            qq_InheritedColourR.setImageValue(new ImageData(new ImageIcon(Main.class.getResource("main.qq_InheritedColourR.png"))));
            qq_InheritedColourR.setWidthPolicy(Constants.SP_NATURAL);
            qq_InheritedColourR.setHeightPolicy(Constants.SP_NATURAL);
            qq_InheritedColourR.setImageSizePolicy(Constants.IS_NATURAL);
            qq_InheritedColourR.setOpaque( true );
            qq_InheritedColourR.setSize(new Dimension(14, 17));
View Full Code Here

        Component result = super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);

        if (result != null && value != null && result instanceof JLabel && value instanceof DisplayNode) {
            DisplayNode aNode = (DisplayNode)value;
            JLabel aLabel = (JLabel)result;
            ImageData image = selected ? aNode.getDVSelectedIcon() : aNode.getDVSmallIcon();

            if (image == null) image = !selected ? aNode.getDVSelectedIcon() : aNode.getDVSmallIcon();

            if (image == null){
                aLabel.setIcon(null);
            } else {
                ImageIcon icon = new ImageIcon(image.getValue().getScaledInstance(16, 16, Image.SCALE_DEFAULT));
                aLabel.setIcon(icon);
            }
            if ((aNode.getDVNodeText() == null)||(aNode.getDVNodeText().length()==0))//PM:7 oct. 2008:performance
                aLabel.setText(aNode.toString());
            else
View Full Code Here

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

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

    public String getAFillinField() {
        return this.aFillinField;
    }

    public void setAPictureField(ImageData aPictureField) {
        ImageData oldValue = this.aPictureField;
        this.aPictureField = aPictureField;
        this.qq_Listeners.firePropertyChange("APictureField", oldValue, this.aPictureField);
    }
View Full Code Here

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

     * isInherited=FALSE
     */
    public PictureGraphic getqq_PictureGraphic12() {
        if (qq_PictureGraphic12 == null) {
            qq_PictureGraphic12 = GraphicFactory.newPictureGraphic("", Constants.CG_CENTER);
            qq_PictureGraphic12.setImageValue(new ImageData(new ImageIcon(IconizableDisabled.class.getResource("IconizableDisabled.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(261, 117));
View Full Code Here

     * isInherited=FALSE
     */
    public PictureGraphic getqq_PictureGraphic12() {
        if (qq_PictureGraphic12 == null) {
            qq_PictureGraphic12 = GraphicFactory.newPictureGraphic("", Constants.CG_CENTER);
            qq_PictureGraphic12.setImageValue(new ImageData(new ImageIcon(CloseDisabled.class.getResource("CloseDisabled.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(261, 117));
View Full Code Here

     * isInherited=FALSE
     */
    public PictureGraphic getqq_PictureGraphic12() {
        if (qq_PictureGraphic12 == null) {
            qq_PictureGraphic12 = GraphicFactory.newPictureGraphic("", Constants.CG_CENTER);
            qq_PictureGraphic12.setImageValue(new ImageData(new ImageIcon(NonResizableCloseButton.class.getResource("NonResizableCloseButton.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(261, 103));
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.