Package org.jfree.chart.block

Examples of org.jfree.chart.block.BlockFrame


  /**
   * @param blockFrame the blockFrame to set
   */
  public void setBlockFrame(BlockFrame blockFrame) {
    BlockFrame old = getBlockFrame();
    this.blockFrame = blockFrame;
    getEventSupport().firePropertyChange(PROPERTY_blockFrame, old, getBlockFrame());
  }
View Full Code Here


              (Color)getDefaultValue(defaultChartPropertiesMap, ChartThemesConstants.LEGEND_BACKCOLOR) :
              getChart().getLegendBackgroundColor());
      if(legendBackcolor != null)
        legend.setBackgroundPaint(legendBackcolor);
     
      BlockFrame frame = (BlockFrame)getDefaultValue(defaultChartPropertiesMap, ChartThemesConstants.LEGEND_FRAME);
      if(frame != null)
        legend.setFrame(frame);
     
      HorizontalAlignment defaultLegendHAlignment = (HorizontalAlignment)getDefaultValue(defaultChartPropertiesMap, ChartThemesConstants.LEGEND_HORIZONTAL_ALIGNMENT);
      if(defaultLegendHAlignment != null)
View Full Code Here

        backPaint = getChart().getLegendBackgroundColor();
      }
      if (backPaint != null)
        legend.setBackgroundPaint(backPaint);

      BlockFrame blockFrame = legendSettings.getBlockFrame();
      if(blockFrame != null)
        legend.setFrame(blockFrame);
     
      HorizontalAlignment hAlign = legendSettings.getHorizontalAlignment();
      if(hAlign != null)
View Full Code Here

        target = trimMargin(target);
        if (this.backgroundPaint != null) {
            g2.setPaint(this.backgroundPaint);
            g2.fill(target);
        }
        BlockFrame border = getFrame();
        border.draw(g2, target);
        border.getInsets().trim(target);
        BlockContainer container = this.wrapper;
        if (container == null) {
            container = this.items;
        }
        target = trimPadding(target);
View Full Code Here

        target = trimMargin(target);
        if (this.backgroundPaint != null) {
            g2.setPaint(this.backgroundPaint);
            g2.fill(target);
        }
        BlockFrame border = getFrame();
        border.draw(g2, target);
        border.getInsets().trim(target);
        BlockContainer container = this.wrapper;
        if (container == null) {
            container = this.items;
        }
        target = trimPadding(target);
View Full Code Here

                return lic;
            }
        };

        // get the old legend frame
        BlockFrame tempFrame = confidenceChart.getLegend().getFrame();

        // remove the old legend
        confidenceChart.removeLegend();

        // add the new legend
View Full Code Here

        target = trimMargin(target);
        if (this.backgroundPaint != null) {
            g2.setPaint(this.backgroundPaint);
            g2.fill(target);
        }
        BlockFrame border = getFrame();
        border.draw(g2, target);
        border.getInsets().trim(target);
        BlockContainer container = this.wrapper;
        if (container == null) {
            container = this.items;
        }
        target = trimPadding(target);
View Full Code Here

        target = trimMargin(target);
        if (this.backgroundPaint != null) {
            g2.setPaint(this.backgroundPaint);
            g2.fill(target);
        }
        BlockFrame border = getFrame();
        border.draw(g2, target);
        border.getInsets().trim(target);
        BlockContainer container = this.wrapper;
        if (container == null) {
            container = this.items;
        }
        target = trimPadding(target);
View Full Code Here

        target = trimMargin(target);
        if (this.backgroundPaint != null) {
            g2.setPaint(this.backgroundPaint);
            g2.fill(target);
        }
        BlockFrame border = getFrame();
        border.draw(g2, target);
        border.getInsets().trim(target);
        BlockContainer container = this.wrapper;
        if (container == null) {
            container = this.items;
        }
        target = trimPadding(target);
View Full Code Here

TOP

Related Classes of org.jfree.chart.block.BlockFrame

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.