nl.javel.gisbeans.map
Class Scalebar

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

public class Scalebar
extends Object
implements ScalebarInterface

This class implements the ScalebarInterface

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

Constructor Summary
Scalebar()
          contructs a new instance of ScaleBar
 
Method Summary
 Color getBackgroundColor()
          Getter for property backgroundColor.
 Color getColor()
          Getter for property color.
 Font getFont()
          Returns the font.
 Color getFontColor()
          Returns the fontColor.
 int getIntervals()
          Getter for property intervals.
 int getPosition()
          Getter for property position.
 Dimension getSize()
          Getter for property size.
 int getUnits()
          Getter for property units.
 boolean isEmbed()
          Getter for property embed.
 boolean isStatus()
          Getter for property status.
 void setBackgroundColor(Color backgroundColor)
          Setter for property backgroundColor.
 void setColor(Color color)
          Setter for property color.
 void setEmbed(boolean embed)
          Setter for property embed.
 void setFont(Font font)
          Sets the font.
 void setFontColor(Color fontColor)
          Sets the fontColor.
 void setIntervals(int intervals)
          Setter for property intervals.
 void setPosition(int position)
          Setter for property position.
 void setSize(Dimension size)
          Setter for property size.
 void setStatus(boolean status)
          Setter for property status.
 void setUnits(int units)
          Setter for property units.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scalebar

public Scalebar()
contructs a new instance of ScaleBar

Method Detail

getBackgroundColor

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

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

getColor

public Color getColor()
Description copied from interface: ScalebarInterface
Getter for property color.

Specified by:
getColor in interface ScalebarInterface
Returns:
Color the value of property color.
See Also:
ScalebarInterface.getColor()

getIntervals

public int getIntervals()
Description copied from interface: ScalebarInterface
Getter for property intervals.

Specified by:
getIntervals in interface ScalebarInterface
Returns:
int the value of property intervals.
See Also:
ScalebarInterface.getIntervals()

getPosition

public int getPosition()
Description copied from interface: ScalebarInterface
Getter for property position.

Specified by:
getPosition in interface ScalebarInterface
Returns:
int the value of property position.
See Also:
ScalebarInterface.getPosition()

getSize

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

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

getUnits

public int getUnits()
Description copied from interface: ScalebarInterface
Getter for property units.

Specified by:
getUnits in interface ScalebarInterface
Returns:
int the value of property units.
See Also:
ScalebarInterface.getUnits()

isEmbed

public boolean isEmbed()
Description copied from interface: ScalebarInterface
Getter for property embed.

Specified by:
isEmbed in interface ScalebarInterface
Returns:
boolean the value of property embed.
See Also:
ScalebarInterface.isEmbed()

isStatus

public boolean isStatus()
Description copied from interface: ScalebarInterface
Getter for property status.

Specified by:
isStatus in interface ScalebarInterface
Returns:
boolean the value of property status.
See Also:
ScalebarInterface.isStatus()

setBackgroundColor

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

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

setColor

public void setColor(Color color)
Description copied from interface: ScalebarInterface
Setter for property color.

Specified by:
setColor in interface ScalebarInterface
Parameters:
color - New value of property color.
See Also:
ScalebarInterface.setColor(Color color)

setEmbed

public void setEmbed(boolean embed)
Description copied from interface: ScalebarInterface
Setter for property embed.

Specified by:
setEmbed in interface ScalebarInterface
Parameters:
embed - New value of property embed.
See Also:
ScalebarInterface.setEmbed(boolean embed)

setIntervals

public void setIntervals(int intervals)
Description copied from interface: ScalebarInterface
Setter for property intervals.

Specified by:
setIntervals in interface ScalebarInterface
Parameters:
intervals - New value of property intervals.
See Also:
ScalebarInterface.setIntervals(int intervals)

setPosition

public void setPosition(int position)
Description copied from interface: ScalebarInterface
Setter for property position.

Specified by:
setPosition in interface ScalebarInterface
Parameters:
position - New value of property position.
See Also:
ScalebarInterface.setPosition(int position)

setSize

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

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

setStatus

public void setStatus(boolean status)
Description copied from interface: ScalebarInterface
Setter for property status.

Specified by:
setStatus in interface ScalebarInterface
Parameters:
status - New value of property status.
See Also:
ScalebarInterface.setStatus(boolean status)

setUnits

public void setUnits(int units)
Description copied from interface: ScalebarInterface
Setter for property units.

Specified by:
setUnits in interface ScalebarInterface
Parameters:
units - New value of property units.
See Also:
ScalebarInterface.setUnits(int units)

getFont

public Font getFont()
Returns the font.

Specified by:
getFont in interface ScalebarInterface
Returns:
Font

getFontColor

public Color getFontColor()
Returns the fontColor.

Specified by:
getFontColor in interface ScalebarInterface
Returns:
Color

setFont

public void setFont(Font font)
Sets the font.

Specified by:
setFont in interface ScalebarInterface
Parameters:
font - The font to set

setFontColor

public void setFontColor(Color fontColor)
Sets the fontColor.

Specified by:
setFontColor in interface ScalebarInterface
Parameters:
fontColor - The fontColor to set