ucar.unidata.ui.symbol
Class ShapeMap

java.lang.Object
  extended by ucar.unidata.ui.symbol.ColorMap
      extended by ucar.unidata.ui.symbol.ShapeMap

public class ShapeMap
extends ColorMap

This holds a shape type (from visad.ShapeUtility) to use for the basea classes pattern

Version:
$Revision: 1.6 $
Author:
Metapps development team

Constructor Summary
ShapeMap()
          Default ctor
ShapeMap(String pattern, String shape, Color c)
          ctor
 
Method Summary
 void applyProperties()
          Apply properties
 String getShape()
          Get the Shape property.
 JComponent getShapeWidget()
          Get widget
 void setShape(String value)
          Set the Shape property.
 
Methods inherited from class ucar.unidata.ui.symbol.ColorMap
applyProperties, getColor, getColorWidget, getNumericRange, getPattern, getPatternWidget, getSwatchComps, hasPattern, isNumericRange, match, setColor, setPattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeMap

public ShapeMap()
Default ctor


ShapeMap

public ShapeMap(String pattern,
                String shape,
                Color c)
ctor

Parameters:
pattern - pattern
shape - shape
c - color
Method Detail

getShapeWidget

public JComponent getShapeWidget()
Get widget

Returns:
widget

applyProperties

public void applyProperties()
Apply properties

Overrides:
applyProperties in class ColorMap

setShape

public void setShape(String value)
Set the Shape property.

Parameters:
value - The new value for Shape

getShape

public String getShape()
Get the Shape property.

Returns:
The Shape