[jboss-cvs] jboss-seam/examples/itext/src/org/jboss/seam/example/pdf ...

Norman Richards norman.richards at jboss.com
Thu Jun 28 18:27:59 EDT 2007


  User: nrichards
  Date: 07/06/28 18:27:59

  Added:       examples/itext/src/org/jboss/seam/example/pdf  
                        DynamicChart.java
  Removed:     examples/itext/src/org/jboss/seam/example/pdf   Images.java
  Log:
  use a form to change chart values
  
  Revision  Changes    Path
  1.1      date: 2007/06/28 22:27:58;  author: nrichards;  state: Exp;jboss-seam/examples/itext/src/org/jboss/seam/example/pdf/DynamicChart.java
  
  Index: DynamicChart.java
  ===================================================================
  package org.jboss.seam.example.pdf;
  
  import org.jboss.seam.annotations.*;
  import org.jboss.seam.*;
  
  @Name("chart")
  @Scope(ScopeType.SESSION)
  public class DynamicChart{
      boolean is3d = false;
      boolean legend = true;
      
      String categoryAxisLabel = "Default Category Label"; 
      String valueAxisLabel = "Default Value Label";
      String title = "Dynamic Chart";
      
      float height = 300;
      float width  = 400;    
      
      boolean borderVisible = true;
      
      public boolean getIs3d() {
          return is3d;
      }
  
      public void setIs3d(boolean is3d) {
          this.is3d = is3d;
      }
  
      public String getCategoryAxisLabel() {
          return categoryAxisLabel;
      }
  
      public void setCategoryAxisLabel(String categoryAxisLabel) {
          this.categoryAxisLabel = categoryAxisLabel;
      }
  
      public String getValueAxisLabel() {
          return valueAxisLabel;
      }
  
      public void setValueAxisLabel(String valueAxisLabel) {
          this.valueAxisLabel = valueAxisLabel;
      }
  
      public boolean isBorderVisible() {
          return borderVisible;
      }
  
      public void setBorderVisible(boolean borderVisible) {
          this.borderVisible = borderVisible;
      }
  
      public float getHeight() {
          return height;
      }
  
      public void setHeight(float height) {
          this.height = height;
      }
  
      public float getWidth() {
          return width;
      }
  
      public void setWidth(float width) {
          this.width = width;
      }
  
      public boolean isLegend() {
          return legend;
      }
  
      public void setLegend(boolean legend) {
          this.legend = legend;
      }
  
      public String getTitle() {
          return title;
      }
  
      public void setTitle(String title) {
          this.title = title;
      }
  
  
  }
  
  
  



More information about the jboss-cvs-commits mailing list