com.mizar.metadata.mapviewer
Class SimpleMapViewerAnnotation

java.lang.Object
  extended by com.mizar.metadata.mapviewer.SimpleMapViewerAnnotation
All Implemented Interfaces:
java.io.Serializable

public class SimpleMapViewerAnnotation
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SimpleMapViewerAnnotation()
           
SimpleMapViewerAnnotation(SimpleMapViewerClient mapviewer)
           
SimpleMapViewerAnnotation(SimpleMapViewerClient mapviewer, java.lang.String annotation)
           
 
Method Summary
 void addBlankStyle()
           
 void annotate()
           
 void annotate(double x, double y, int srid)
           
 void annotate(double x, double y, int srid, double orientX, double orientY)
           
 double getGlobalX()
           
 double getGlobalY()
           
 java.lang.String getLabel()
           
 java.lang.String getLabelStyle()
           
 SimpleMapViewerClient getMapviewer()
           
 double getOrientX()
           
 double getOrientY()
           
 int[] getPixelXY()
           
 double[] getPointRadius()
           
 java.lang.String getPointStyle()
           
 int getSrid()
           
 void setGlobalX(double x)
           
 void setGlobalY(double y)
           
 void setLabel(java.lang.String annotation)
           
 void setLabelStyle(java.lang.String labelStyle)
           
 void setMapviewer(SimpleMapViewerClient mapviewer)
           
 void setOrientation(double degrees)
           
 void setOrientation(double[] directionVector)
           
 void setOrientX(double orientX)
           
 void setOrientY(double orientY)
           
 void setPixelXY(int[] pixelXY)
           
 void setPointRadius(double[] pointRadius)
           
 void setPointStyle(java.lang.String pointStyle)
           
 void setSrid(int srid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMapViewerAnnotation

public SimpleMapViewerAnnotation()

SimpleMapViewerAnnotation

public SimpleMapViewerAnnotation(SimpleMapViewerClient mapviewer)

SimpleMapViewerAnnotation

public SimpleMapViewerAnnotation(SimpleMapViewerClient mapviewer,
                                 java.lang.String annotation)
Method Detail

annotate

public void annotate()

annotate

public void annotate(double x,
                     double y,
                     int srid)

annotate

public void annotate(double x,
                     double y,
                     int srid,
                     double orientX,
                     double orientY)

addBlankStyle

public void addBlankStyle()

setLabel

public void setLabel(java.lang.String annotation)

getLabel

public java.lang.String getLabel()

setMapviewer

public void setMapviewer(SimpleMapViewerClient mapviewer)

getMapviewer

public SimpleMapViewerClient getMapviewer()

setLabelStyle

public void setLabelStyle(java.lang.String labelStyle)

getLabelStyle

public java.lang.String getLabelStyle()

setPointStyle

public void setPointStyle(java.lang.String pointStyle)

getPointStyle

public java.lang.String getPointStyle()

setPointRadius

public void setPointRadius(double[] pointRadius)

getPointRadius

public double[] getPointRadius()

setSrid

public void setSrid(int srid)

getSrid

public int getSrid()

setGlobalX

public void setGlobalX(double x)

getGlobalX

public double getGlobalX()

setGlobalY

public void setGlobalY(double y)

getGlobalY

public double getGlobalY()

setOrientation

public void setOrientation(double[] directionVector)
Parameters:
directionVector -

setOrientation

public void setOrientation(double degrees)
Parameters:
degrees -

setOrientX

public void setOrientX(double orientX)
Parameters:
orientX - the x ordinate of the direction vector for label orientation

getOrientX

public double getOrientX()

setOrientY

public void setOrientY(double orientY)
Parameters:
orientY - the y ordinate of the direction vector for label orientation

getOrientY

public double getOrientY()

setPixelXY

public void setPixelXY(int[] pixelXY)
                throws SimpleMapViewerException
Parameters:
pixelXY - the pixel location to place the annotation
Throws:
SimpleMapViewerException

getPixelXY

public int[] getPixelXY()
                 throws SimpleMapViewerException
Throws:
SimpleMapViewerException