nl.javel.gisbeans.map
Class Image

java.lang.Object
  extended by nl.javel.gisbeans.map.Image
All Implemented Interfaces:
Serializable, ImageInterface

public class Image
extends Object
implements ImageInterface

This class defines the image as defined in the map

Since:
JDK 1.0
Version:
1.0
Author:
Paul Jacobs
See Also:
Serialized Form

Constructor Summary
Image()
          constructs a new Image
 
Method Summary
 Color getBackgroundColor()
          Getter for property backgroundColor.
 LegendInterface getLegend()
          Getter for property legend.
 ScalebarInterface getScalebar()
          Getter for property scalebar.
 Dimension getSize()
          Getter for property size.
 void setBackgroundColor(Color backgroundColor)
          Setter for property backgroundColor.
 void setLegend(LegendInterface legend)
          Setter for property legend.
 void setScalebar(ScalebarInterface scalebar)
          Setter for property scalebar.
 void setSize(Dimension size)
          Setter for property size.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Image

public Image()
constructs a new Image

Method Detail

getBackgroundColor

public Color getBackgroundColor()
Description copied from interface: ImageInterface
Getter for property backgroundColor.

Specified by:
getBackgroundColor in interface ImageInterface
Returns:
Color the value of property backgroundColor.
See Also:
ImageInterface.getBackgroundColor()

getLegend

public LegendInterface getLegend()
Description copied from interface: ImageInterface
Getter for property legend.

Specified by:
getLegend in interface ImageInterface
Returns:
LegendInterface the value of property legend.
See Also:
ImageInterface.getLegend()

getScalebar

public ScalebarInterface getScalebar()
Description copied from interface: ImageInterface
Getter for property scalebar.

Specified by:
getScalebar in interface ImageInterface
Returns:
SclaebarInterface the value of property scalebar.
See Also:
ImageInterface.getScalebar()

getSize

public Dimension getSize()
Description copied from interface: ImageInterface
Getter for property size.

Specified by:
getSize in interface ImageInterface
Returns:
Dimension the value of property size.
See Also:
ImageInterface.getSize()

setBackgroundColor

public void setBackgroundColor(Color backgroundColor)
Description copied from interface: ImageInterface
Setter for property backgroundColor.

Specified by:
setBackgroundColor in interface ImageInterface
Parameters:
backgroundColor - New value of property backgroundColor.
See Also:
ImageInterface.setBackgroundColor(java.awt.Color)

setLegend

public void setLegend(LegendInterface legend)
Description copied from interface: ImageInterface
Setter for property legend.

Specified by:
setLegend in interface ImageInterface
Parameters:
legend - New value of property legend.
See Also:
ImageInterface.setLegend(nl.javel.gisbeans.map.LegendInterface)

setScalebar

public void setScalebar(ScalebarInterface scalebar)
Description copied from interface: ImageInterface
Setter for property scalebar.

Specified by:
setScalebar in interface ImageInterface
Parameters:
scalebar - New value of property scalebar.
See Also:
ImageInterface.setScalebar(nl.javel.gisbeans.map.ScalebarInterface)

setSize

public void setSize(Dimension size)
Description copied from interface: ImageInterface
Setter for property size.

Specified by:
setSize in interface ImageInterface
Parameters:
size - New value of property size.
See Also:
ImageInterface.setSize(java.awt.Dimension)