Class PlotGeneratorBean

java.lang.Object
net.sf.basedb.clients.web.extensions.plot.PlotGeneratorBean
All Implemented Interfaces:
PlotGenerator

public class PlotGeneratorBean extends Object implements PlotGenerator
A simple bean-like implementation of the PlotGenerator interface.
Version:
2.10
Author:
Nicklas
Last modified
$Date: 2009-04-28 14:47:33 +0200 (ti, 28 apr 2009) $
  • Field Details

    • id

      private String id
    • title

      private String title
    • url

      private String url
    • height

      private int height
    • width

      private int width
  • Constructor Details

    • PlotGeneratorBean

      public PlotGeneratorBean()
  • Method Details

    • getId

      public String getId()
      Description copied from interface: PlotGenerator
      Get the ID of the image. It must be unique among the images generated for a single action. This ID is combined with the ID of the action and extension to generate an application-wide unique ID.
      Specified by:
      getId in interface PlotGenerator
    • getHeight

      public int getHeight()
      Description copied from interface: PlotGenerator
      Get the height of the generated image.
      Specified by:
      getHeight in interface PlotGenerator
    • getWidth

      public int getWidth()
      Description copied from interface: PlotGenerator
      Get the width of the generated image.
      Specified by:
      getWidth in interface PlotGenerator
    • getTitle

      public String getTitle()
      Description copied from interface: PlotGenerator
      Get the title of the generated image. This information goes into the "title" attribute.
      Specified by:
      getTitle in interface PlotGenerator
    • getUrl

      public String getUrl()
      Description copied from interface: PlotGenerator
      Get the URL to a servlet that is used to generate the image. This information goes into the "src" attribute.
      Specified by:
      getUrl in interface PlotGenerator
    • setId

      public void setId(String id)
    • setTitle

      public void setTitle(String title)
    • setUrl

      public void setUrl(String url)
    • setHeight

      public void setHeight(int height)
    • setWidth

      public void setWidth(int width)