edu.psu.geovista.app.map
Class LayerText

java.lang.Object
  extended byedu.psu.geovista.app.map.LayerShape
      extended byedu.psu.geovista.app.map.LayerText

public class LayerText
extends LayerShape

put your documentation comment here


Field Summary
 
Fields inherited from class edu.psu.geovista.app.map.LayerShape
COMMAND_SELECTION, FILL_ORDER_MAX, LAYER_TYPE_LINE, LAYER_TYPE_POINT, LAYER_TYPE_POLYGON, LAYER_TYPE_RASTER, LAYER_TYPE_SYMBOL, originalSpatialData, selectedObservations, selectedObservationsFullIndex, selectedObservationsOld, selectedObservationsOldFullIndex, spatialData
 
Constructor Summary
LayerText()
           
 
Method Summary
 void addString(java.lang.String s, java.awt.Point p)
          put your documentation comment here
 void addString(java.lang.String s, java.awt.Point p, float fontSize, java.awt.Color c)
          put your documentation comment here
 void addString(java.lang.String s, java.awt.Point p, java.awt.Font f, java.awt.Color c)
          put your documentation comment here
 int findIndication(int x, int y)
           
 void findSelection(int selectionX1, int selectionX2, int selectionY1, int selectionY2)
           
 void findSelectionShift(int selectionX1, int selectionX2, int selectionY1, int selectionY2)
           
 int[] getColorIndex()
          dummy method to fit superclass
 java.util.Vector getFonts()
          put your documentation comment here
 java.util.Vector getPoints()
          put your documentation comment here
 boolean getScaleable()
          put your documentation comment here
 java.util.Vector getStrings()
          put your documentation comment here
static void main(java.lang.String[] args)
          Main method for testing.
 void render(java.awt.Graphics2D g2)
          put your documentation comment here
 void setColorIndex(int[] polygonColors)
          dummy method to fit superclass
 void setScaleable(boolean scalable)
          put your documentation comment here
 
Methods inherited from class edu.psu.geovista.app.map.LayerShape
findCentroid, findSelection, getColorBackground, getColors, getConditionArray, getIsAuxiliary, getOriginalSpatialData, getSelectedObservations, getSpatialData, renderObservation, renderObservationNoIndication, setBoundingBoxes, setClassification, setColorBackground, setColorIndication, setColorNotInStudyArea, setColorNull, setColorOutOfFocus, setColorSelection, setConditionArray, setCurrColorColumn, setCurrOrderColumn, setData, setExtent, setFocus, setIndication, setIsAuxiliary, setObjectColors, setOriginalSpatialData, setParentSize, setSelectedObservations, setSelOriginalColorMode, setSpatialData, setVariableNames, setXform, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayerText

public LayerText()
Method Detail

findIndication

public int findIndication(int x,
                          int y)
Specified by:
findIndication in class LayerShape

setScaleable

public void setScaleable(boolean scalable)
put your documentation comment here

Parameters:
scalable -

getScaleable

public boolean getScaleable()
put your documentation comment here

Returns:

addString

public void addString(java.lang.String s,
                      java.awt.Point p,
                      java.awt.Font f,
                      java.awt.Color c)
put your documentation comment here

Parameters:
s -
p -
f -
c -

addString

public void addString(java.lang.String s,
                      java.awt.Point p,
                      float fontSize,
                      java.awt.Color c)
put your documentation comment here

Parameters:
s -
p -
fontSize -
c -

addString

public void addString(java.lang.String s,
                      java.awt.Point p)
put your documentation comment here

Parameters:
s -
p -

getStrings

public java.util.Vector getStrings()
put your documentation comment here

Returns:

getPoints

public java.util.Vector getPoints()
put your documentation comment here

Returns:

getFonts

public java.util.Vector getFonts()
put your documentation comment here

Returns:

findSelection

public void findSelection(int selectionX1,
                          int selectionX2,
                          int selectionY1,
                          int selectionY2)
Specified by:
findSelection in class LayerShape

findSelectionShift

public void findSelectionShift(int selectionX1,
                               int selectionX2,
                               int selectionY1,
                               int selectionY2)
Specified by:
findSelectionShift in class LayerShape

render

public void render(java.awt.Graphics2D g2)
put your documentation comment here

Overrides:
render in class LayerShape
Parameters:
g2 -

setColorIndex

public void setColorIndex(int[] polygonColors)
dummy method to fit superclass

Parameters:
polygonColors -

getColorIndex

public int[] getColorIndex()
dummy method to fit superclass


main

public static void main(java.lang.String[] args)
Main method for testing.



Copyright © 1996-2003 GeoVista Center. All Rights Reserved.