Class PlotGeneratorBean
java.lang.Object
net.sf.basedb.clients.web.extensions.plot.PlotGeneratorBean
- All Implemented Interfaces:
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the height of the generated image.getId()
Get the ID of the image.getTitle()
Get the title of the generated image.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
void
void
void
setWidth
(int width)
-
Field Details
-
id
-
title
-
url
-
height
private int height -
width
private int width
-
-
Constructor Details
-
PlotGeneratorBean
public PlotGeneratorBean()
-
-
Method Details
-
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
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
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
-
setTitle
-
setUrl
-
setHeight
public void setHeight(int height) -
setWidth
public void setWidth(int width)
-