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 TypeMethodDescriptionvoidthis 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:
getRendererin 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:
addNewRendererListenerin interfaceMapBean- Parameters:
l-
-
removeNewRendererListener
_more_- Specified by:
removeNewRendererListenerin interfaceMapBean- Parameters:
l-
-