Package Framework

Examples of Framework.ImageData


     * isInherited=FALSE
     */
    public PictureGraphic getqq_pictOne() {
        if (qq_pictOne == null) {
            qq_pictOne = GraphicFactory.newPictureGraphic("", Constants.CG_CENTER);
            qq_pictOne.setImageValue(new ImageData(new ImageIcon(SelectedStateWindow.class.getResource("SelectedStateWindow.qq_pictOne.png"))));
            qq_pictOne.setWidthPolicy(Constants.SP_NATURAL);
            qq_pictOne.setHeightPolicy(Constants.SP_NATURAL);
            qq_pictOne.setImageSizePolicy(Constants.IS_NATURAL);
            qq_pictOne.setOpaque( true );
            qq_pictOne.setSize(new Dimension(25, 10));
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(MaximizedDisabled.class.getResource("MaximizedDisabled.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

    this.setOpaque(!transparent);
  }

  private void refreshImage() {
    if ((this.imageValue == null) && (this.getIcon() != null)) {
      this.imageValue = new ImageData((ImageIcon) this.getIcon());
    }
    ImageIcon icon = new ImageIcon(imageValue.getValue());

    // TF:9/12/07:Added safety check
    if (getWidth() > 0 && getHeight() > 0) {
View Full Code Here

     * isInherited=FALSE
     */
    public PictureGraphic getqq_PictureGraphic207() {
        if (qq_PictureGraphic207 == null) {
            qq_PictureGraphic207 = GraphicFactory.newPictureGraphic("", Constants.CG_CENTER);
            qq_PictureGraphic207.setImageValue(new ImageData(new ImageIcon(One2.class.getResource("one2.qq_PictureGraphic207.png"))));
            qq_PictureGraphic207.setWidthPolicy(Constants.SP_NATURAL);
            qq_PictureGraphic207.setHeightPolicy(Constants.SP_NATURAL);
            qq_PictureGraphic207.setImageSizePolicy(Constants.IS_NATURAL);
            qq_PictureGraphic207.setOpaque( true );
            ColourChange.setBackground(qq_PictureGraphic207, Constants.C_BRIGHTRED);
View Full Code Here

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

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

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

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

    public JButton getClearCMD() {
        return this.clearCMD;
    }

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

    public ImageData getClearDisabledIcon() {
        return this.clearDisabledIcon;
    }

    public void setClearEnabledIcon(ImageData clearEnabledIcon) {
        ImageData oldValue = this.clearEnabledIcon;
        this.clearEnabledIcon = clearEnabledIcon;
        this.qq_Listeners.firePropertyChange("clearEnabledIcon", oldValue, this.clearEnabledIcon);
    }
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.