Class LineFeatureBuilder
Object
GridFeatureBuilder
LineFeatureBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final StringDefault feature TYPE name: "linegrid"static final Stringprotected intstatic final StringName used for the integer id attribute: "id"static final Stringstatic final StringName of the Integer level attribute ("level")static final Stringstatic final Stringstatic final String"start", "mid", "end" to indicate where this line belongs in the progression of horizontal or vertical linesstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringName of the Object value attribute ("vaStringlue")static final StringFields inherited from class GridFeatureBuilder
DEFAULT_GEOMETRY_ATTRIBUTE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAttributes(GridElement el, Map<String, Object> attributes) Sets the values of attributes for a newSimpleFeaturebeing constructed from the givenGridElement.Methods inherited from class GridFeatureBuilder
getCreateFeature, getFeatureID, getType
-
Field Details
-
DEFAULT_TYPE_NAME
Default feature TYPE name: "linegrid"- See Also:
-
ID_ATTRIBUTE_NAME
Name used for the integer id attribute: "id"- See Also:
-
LEVEL_ATTRIBUTE_NAME
Name of the Integer level attribute ("level")- See Also:
-
VALUE_ATTRIBUTE_NAME
Name of the Object value attribute ("vaStringlue")- See Also:
-
VALUE_LABEL_NAME
- See Also:
-
HORIZONTAL
- See Also:
-
TOP
- See Also:
-
LEFT
- See Also:
-
ANCHOR_X
- See Also:
-
ANCHOR_Y
- See Also:
-
OFFSET_X
- See Also:
-
OFFSET_Y
- See Also:
-
SEQUENCE
"start", "mid", "end" to indicate where this line belongs in the progression of horizontal or vertical lines- See Also:
-
SEQUENCE_START
- See Also:
-
SEQUENCE_MID
- See Also:
-
SEQUENCE_END
- See Also:
-
id
protected int id
-
-
Constructor Details
-
LineFeatureBuilder
-
-
Method Details
-
setAttributes
Description copied from class:GridFeatureBuilderSets the values of attributes for a newSimpleFeaturebeing constructed from the givenGridElement.This method must be overridden by the user. It is called by the grid building classes as each new feature is constructed.
- Specified by:
setAttributesin classGridFeatureBuilder- Parameters:
el- the element from which the new feature is being constructedattributes- aMapwith attribute names as keys and attribute values as values
-