Uses of Class
ca.spatial.mapview.Layer
Packages that use Layer
-
Uses of Layer in ca.spatial.mapview
Subclasses of Layer in ca.spatial.mapviewModifier and TypeClassDescriptionclass
This class encapsulates a layer in a map viewer.class
A GeoRelLayer is a geo-relational attribute store plus thematic information describing how the data should be rendered.class
This class encapsulates a layer in a map viewer.class
This class encapsulates a layer in a map viewer.Methods in ca.spatial.mapview that return LayerModifier and TypeMethodDescriptionAdd a layer to the list at a given index, and notify listenersAdd a layer to the front of the list, and notify listenersLayerList.add(GeoRelationalStore store)
Create a layer using a default theme and add it to the front of the list.LayerList.add(GeoRelationalStore store, ChoroplethTheme theme)
Deprecated.LayerList.get(int index)
Get a layer at a given index.LayerList.getElementAt(int index)
Get the layer in the list.abstract Layer
static Layer
LegendItem.getLayer()
ThemeEditor.getLayer()
LayerList.remove()
Remove the selected layer.LayerList.remove(int index)
Remove the layer at the specified index and notify listeners.Layer.setAnnotations(ArrayList<LayerAnnotation> annotations)
Set a list of annotations to be drawn upon the layerLayer.setAnnotations(Callable<ArrayList<LayerAnnotation>> callable)
Set a callable that will create a list of annotations to be drawn upon the layerLayer.setDPI(int dpi)
Set the DPI to be used for printingGeoRelLayer.setFeatureProperties(ArrayList<DBFColumnSpec> featureProperties)
Set a list of properties definitions, potentially useful in printing contexts that know what to do with them.Layer.setFeatureProperties(ArrayList<DBFColumnSpec> featureProperties)
Set a list of properties definitions, potentially useful in printing contexts that know what to do with them.Layer.setShowLegend(boolean show)
Do not show the layer name in Map Report legends.Layer.setShowLegendItems(boolean show)
Do not show the legend categories in either the Map Report or Map Viewer legends.abstract Layer
Set the theme for this layerSet the title of the map layerLayer.setVector(boolean mode)
Methods in ca.spatial.mapview with parameters of type LayerModifier and TypeMethodDescriptionAdd a layer to the list at a given index, and notify listenersAdd a layer to the front of the list, and notify listenersboolean
GeoRelLayer.addMenuItems(JPopupMenu jpm, Layer l, double x, double y)
void
ChoroplethTheme.compile(Layer layer, AttributeStore store, String fieldname)
Prepare the theme for use with this layer.void
DefaultTheme.compile(Layer layer, AttributeStore store, String fieldname)
void
DitherTheme.compile(Layer layer, AttributeStore store, String fieldname)
void
GradientTheme.compile(Layer layer, AttributeStore store, String fieldname)
void
ModulusTheme.compile(Layer layer, AttributeStore store, String fieldname)
void
NumericTheme.compile(Layer layer, AttributeStore store, String fieldname)
void
UniqueValueTheme.compile(Layer layer, AttributeStore store, String fieldname)
abstract void
ChoroplethTheme.generateSymbols(String fieldname, Window owner, int period, Layer layer)
This method causes the theme information to be recalulated on a new column.void
DefaultTheme.generateSymbols(String fieldname, Window owner, int period, Layer layer)
void
DitherTheme.generateSymbols(String prefix, Window owner, int period, Layer layer)
Generate a new dithering classification based on all fields that match the specified prefix.void
GradientTheme.generateSymbols(String fieldname, Window owner, int period, Layer layer)
This method causes the theme information to be recalulated on a new column.void
GradientTheme.generateSymbols(String fieldname, Window owner, int period, Layer layer, int method, double p1, double p2)
This method causes the theme information to be recalulated on a new column.void
ModulusTheme.generateSymbols(String fieldname, Window owner, int period, Layer layer)
void
ModulusTheme.generateSymbols(String fieldname, Window owner, int period, Layer layer, int paletteSize)
void
NumericTheme.generateSymbols(String fieldname, Window owner, int period, Layer layer)
void
NumericTheme.generateSymbols(String fieldname, Window owner, int period, Layer layer, int method, int intervals, int ndec)
This method causes the theme information to be recalulated on a new column.void
UniqueValueTheme.generateSymbols(String fieldname, Window owner, int period, Layer layer)
Update the field name and also rebuild a default theme classification appropriate for the theme type.abstract ThemeEditor
Return a ThemeEditor component appropriate for the theme type.abstract ThemeEditor
ChoroplethTheme.getSubEditor(Layer layer)
Retrive an editor object that will cusomtize the theme.DefaultTheme.getSubEditor(Layer lle)
DitherTheme.getSubEditor(Layer lle)
GradientTheme.getSubEditor(Layer lle)
ModulusTheme.getSubEditor(Layer lle)
NumericTheme.getSubEditor(Layer lle)
UniqueValueTheme.getSubEditor(Layer lle)
ChoroplethTheme.getSymbol(AttributeStore as, Layer layer, int row, double scale, int period)
Get a symbol for the given layer stateDitherTheme.getSymbol(AttributeStore as, Layer layer, int row, double scale, int period)
abstract Symbol
Get a symbol for the key valueint
Find the index of a layer.boolean
LayerList.isSelected(Layer lle)
Test if a layer is selected.void
LayerList.itemChanged(Layer lle)
Receive notification that a layer should be redrawn, possibly because the symbology has changed.static LegendItem
LegendItem.makeLegendItem(Layer lle, boolean check)
void
LayerList.setSelected(Layer lle, boolean state)
Set the selected status of a layer and notify listeners.Constructors in ca.spatial.mapview with parameters of type LayerModifierConstructorDescriptionChoroplethThemeEditor(Layer lle)
DefaultThemeEditor(DefaultTheme originalTheme, Layer lle)
DitherThemeEditor(DitherTheme originalTheme, Layer lle)
GradientThemeEditor(GradientTheme origTheme, Layer lle)
LayerEditor(Layer layer)
ModulusThemeEditor(ModulusTheme originalTheme, Layer lle)
NumericThemeEditor(NumericTheme origTheme, Layer lle)
ThemeEditor(T theme, Layer lle)
UniqueValueThemeEditor(UniqueValueTheme originalTheme, Layer lle)