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 thePlotGenerator
interface.- Version:
- 2.10
- Author:
- Nicklas
- Last modified
- $Date: 2009-04-28 14:47:33 +0200 (ti, 28 apr 2009) $
-
-
Constructor Summary
Constructors Constructor Description PlotGeneratorBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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 interfacePlotGenerator
-
getHeight
public int getHeight()
Description copied from interface:PlotGenerator
Get the height of the generated image.- Specified by:
getHeight
in interfacePlotGenerator
-
getWidth
public int getWidth()
Description copied from interface:PlotGenerator
Get the width of the generated image.- Specified by:
getWidth
in interfacePlotGenerator
-
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 interfacePlotGenerator
-
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 interfacePlotGenerator
-
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)
-
-