Uses of Class
edu.cnu.mdi.mapping.shapefile.ShapeFeatureStyle
Packages that use ShapeFeatureStyle
-
Uses of ShapeFeatureStyle in edu.cnu.mdi.mapping
Methods in edu.cnu.mdi.mapping with parameters of type ShapeFeatureStyleModifier and TypeMethodDescriptionstatic List<ShapeFeature> MapView2D.loadShapefileLayer(MapView2D mapView, Path path, String name, ShapeFeatureStyle style) Convenience method that loads a shapefile from the given path, creates aShapeFeatureRendererwith the specified style, and adds it as a new layer with the given name. -
Uses of ShapeFeatureStyle in edu.cnu.mdi.mapping.shapefile
Methods in edu.cnu.mdi.mapping.shapefile that return ShapeFeatureStyleModifier and TypeMethodDescriptionShapeFeatureStyle.antialias(boolean antialias) Enables or disables antialiased rendering for this layer.static ShapeFeatureStyleShapefileMenu.defaultStyle(int shapeType) Returns a sensible defaultShapeFeatureStylebased on the given shape type.ShapeFeatureStyle.feedbackFields(String... fields) Sets the.dbffield names whose values appear in the hit-test feedback, in the order given.Sets the fill color for polygon features.ShapeFeatureRenderer.getStyle()Returns the current style; nevernull.ShapeFeatureStyle.labelColor(Color labelColor) Sets the color used to draw feature labels.ShapeFeatureStyle.labelField(String labelField) Sets the.dbffield name whose value is drawn as a label next to each feature.ShapeFeatureStyle.pointColor(Color pointColor) Sets the color of point marker dots.ShapeFeatureStyle.pointRadius(double pointRadius) Sets the radius of point marker dots in screen pixels.ShapeFeatureStyle.strokeColor(Color strokeColor) Sets the stroke color for polygon outlines and polylines.ShapeFeatureStyle.strokeWidth(float strokeWidth) Sets the stroke width in points for polygon outlines and polylines.ShapeFeatureStyle.tooltipFields(String... fields) Deprecated.Methods in edu.cnu.mdi.mapping.shapefile with parameters of type ShapeFeatureStyleModifier and TypeMethodDescriptionvoidShapeFeatureRenderer.setStyle(ShapeFeatureStyle style) Replaces the current style.Constructors in edu.cnu.mdi.mapping.shapefile with parameters of type ShapeFeatureStyleModifierConstructorDescriptionShapeFeatureRenderer(List<ShapeFeature> features, IMapProjection projection, ShapeFeatureStyle style) Creates a renderer for the given features using the supplied projection and style.ShapeFeatureStyle(ShapeFeatureStyle source) Creates a copy of another shapefile style.
feedbackFields(String...); these fields feed the map feedback and hover displays, not a Swing tooltip