Package ucar.unidata.gis.shapefile
Class ShapeFileBean
java.lang.Object
ucar.unidata.gis.shapefile.ShapeFileBean
- All Implemented Interfaces:
MapBean
Wraps shapefile maps into a MapBean
- Author:
- John Caron
-
Constructor Summary
ConstructorsConstructorDescriptioncontructor for letting user choose a shapefile with FileManagerShapeFileBean
(String shapefileName) contructor for a specific shapefile. -
Method Summary
Modifier and TypeMethodDescriptionvoid
this bean is a source of NewRendererEvent eventsConstruct the Action that is called when this bean's menu item/buttcon is selected.get the current renderer.void
_more_
-
Constructor Details
-
ShapeFileBean
contructor for a specific shapefile.- Parameters:
shapefileName
- the shapefile name
-
ShapeFileBean
public ShapeFileBean()contructor for letting user choose a shapefile with FileManager
-
-
Method Details
-
getRenderer
get the current renderer.- Specified by:
getRenderer
in interfaceMapBean
- Returns:
- the renderer
-
getAction
Construct the Action that is called when this bean's menu item/buttcon is selected. -
addNewRendererListener
this bean is a source of NewRendererEvent events- Specified by:
addNewRendererListener
in interfaceMapBean
- Parameters:
l
-
-
removeNewRendererListener
_more_- Specified by:
removeNewRendererListener
in interfaceMapBean
- Parameters:
l
-
-