Style function ( ) { Rule loc0 = createRule ( LINE_COLOUR , FILL_COLOUR ) ; FeatureTypeStyle loc1 = sf . createFeatureTypeStyle ( ) ; loc1 . rules ( ) . add ( loc0 ) ; Style loc2 = sf . createStyle ( ) ; loc2 . featureTypeStyles ( ) . add ( loc1 ) ; return loc2 ; }
create a default style for feature display concode_field_sep Color LINE_COLOUR concode_elem_sep SimpleFeatureSource featureSource concode_elem_sep String geometryAttributeName concode_elem_sep float POINT_SIZE concode_elem_sep float LINE_WIDTH concode_elem_sep StyleFactory sf concode_elem_sep JMapFrame mapFrame concode_elem_sep Color SELECTED_COLOUR concode_elem_sep Color FILL_COLOUR concode_elem_sep FilterFactory2 ff concode_elem_sep float OPACITY concode_elem_sep GeomType geometryType concode_field_sep Style createSelectedStyle concode_elem_sep Rule createRule concode_elem_sep void displaySelectedFeatures concode_elem_sep void selectFeatures concode_elem_sep void displayShapefile concode_elem_sep void main concode_elem_sep void setGeometry