net.moioli.drawables
Class Logo

java.lang.Object
  extended by net.moioli.drawables.Logo
All Implemented Interfaces:
DrawableI

public class Logo
extends java.lang.Object
implements DrawableI

Draws MoioChart's logo.

Version:
2005/10/5
Author:
Silvio Moioli

Constructor Summary
Logo()
          Default constructor.
 
Method Summary
 void drawMe(GraphicsI g, Scale s, java.lang.Object c)
          Implements DrawableI drawing this object.
 double maxY(double minX, double maxX)
          Since the Logo will be drawn regardless of the scale, always return NaN.
 double minY(double minX, double maxX)
          Since the Logo will be drawn regardless of the scale, always return NaN.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logo

public Logo()
Default constructor.

Method Detail

drawMe

public void drawMe(GraphicsI g,
                   Scale s,
                   java.lang.Object c)
Implements DrawableI drawing this object.

Specified by:
drawMe in interface DrawableI
Parameters:
g - the surface where this object will be drawn
s - the DefaultChart's Scale object
c - the color to be used for drawing

maxY

public double maxY(double minX,
                   double maxX)
Since the Logo will be drawn regardless of the scale, always return NaN.

Specified by:
maxY in interface DrawableI
Parameters:
minX - the minimum x value represented in this DefaultChart
maxX - the maximum x value represented in this DefaultChart
Returns:
NaN

minY

public double minY(double minX,
                   double maxX)
Since the Logo will be drawn regardless of the scale, always return NaN.

Specified by:
minY in interface DrawableI
Parameters:
minX - the minimum x value represented in this DefaultChart
maxX - the maximum x value represented in this DefaultChart
Returns:
NaN