Package org.opennms.netmgt.rrd
Class DefaultRrdGraphDetails
- java.lang.Object
-
- org.opennms.netmgt.rrd.DefaultRrdGraphDetails
-
- All Implemented Interfaces:
RrdGraphDetails
public class DefaultRrdGraphDetails extends java.lang.Object implements RrdGraphDetails
Simple RrdGraphDetails implementation.- Version:
- $Id: $
- Author:
- DJ Gregor
-
-
Constructor Summary
Constructors Constructor Description DefaultRrdGraphDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
getHeightjava.io.InputStream
getInputStream()
getInputStreamjava.lang.String[]
getPrintLines()
getPrintLinesint
getWidth()
getWidthvoid
setHeight(int height)
setHeightvoid
setInputStream(java.io.InputStream inputStream)
setInputStreamvoid
setPrintLines(java.lang.String[] printLines)
setPrintLinesvoid
setWidth(int width)
setWidth
-
-
-
Method Detail
-
getHeight
public int getHeight()
getHeight
- Specified by:
getHeight
in interfaceRrdGraphDetails
- Returns:
- a int.
-
setHeight
public void setHeight(int height)
setHeight
- Parameters:
height
- a int.
-
getInputStream
public java.io.InputStream getInputStream()
getInputStream
- Specified by:
getInputStream
in interfaceRrdGraphDetails
- Returns:
- a
InputStream
object.
-
setInputStream
public void setInputStream(java.io.InputStream inputStream)
setInputStream
- Parameters:
inputStream
- aInputStream
object.
-
getPrintLines
public java.lang.String[] getPrintLines()
getPrintLines
- Specified by:
getPrintLines
in interfaceRrdGraphDetails
- Returns:
- an array of
String
objects.
-
setPrintLines
public void setPrintLines(java.lang.String[] printLines)
setPrintLines
- Parameters:
printLines
- an array ofString
objects.
-
getWidth
public int getWidth()
getWidth
- Specified by:
getWidth
in interfaceRrdGraphDetails
- Returns:
- a int.
-
setWidth
public void setWidth(int width)
setWidth
- Parameters:
width
- a int.
-
-