2.17.2: 2011-06-17

net.sf.basedb.clients.web.extensions.plot
Class PlotGeneratorBean

java.lang.Object
  extended by 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 (Tue, 28 Apr 2009) $

Field Summary
private  int height
           
private  String id
           
private  String title
           
private  String url
           
private  int width
           
 
Constructor Summary
PlotGeneratorBean()
           
 
Method Summary
 int getHeight()
          Get the height of the generated image.
 String getId()
          Get the ID of the image.
 String getTitle()
          Get the title of the generated image.
 String getUrl()
          Get the URL to a servlet that is used to generate the image.
 int getWidth()
          Get the width of the generated image.
 void setHeight(int height)
           
 void setId(String id)
           
 void setTitle(String title)
           
 void setUrl(String url)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private String id

title

private String title

url

private String url

height

private int height

width

private int width
Constructor Detail

PlotGeneratorBean

public PlotGeneratorBean()
Method Detail

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)

2.17.2: 2011-06-17