public class PictureLine extends PictureMarker
Moreover, PictureLine has other methods such as getSymbolClass,getName, refreshControls and getLayer.
colorExpPicker, colorLinePicker, LOGGER, MARKER_IMAGE_DEFAULT_WIDTH, rotationExpPicker, tabs, view, xoffsetExpPicker, yoffsetExpPickerfeatureStore, owner| Constructor and Description |
|---|
PictureLine(SymbolEditor owner) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canManageSymbol(ISymbol symbol) |
ISymbol |
getLayer()
Produces and returns the ISymbol according with the user settings.
|
java.lang.String |
getName()
Returns the name of the config tabs that will be shown in the selector combo box.
|
protected void |
initComponents()
Initializes the parameters that define a picturmarker.To do it, a tab is
created inside the SymbolEditor panel with default values for the
different attributes of the picture marker.
|
void |
refreshControls(ISymbol layer)
Invoked when the user selects or adds a new layer.
|
protected void |
setValues(double size,
double rotation,
double xOffset,
double yOffset,
java.net.URL picture,
java.net.URL selectedPicture,
java.lang.String sizeExpression,
java.lang.String offsetXExpression,
java.lang.String offsetYExpression,
java.awt.Color lineToOffsetColor,
java.lang.String lineToOffsetColorExpression,
java.lang.String rotationExpression,
boolean isDrawLineToOffset) |
actionPerformed, getColorLine, getEditorTools, getLineToOffsetColor, getLineToOffsetColorExpression, getPictureFile, getPictureFileName, getPictureURL, getRotation, getRotationExpression, getSelectedPictureFile, getSelectedPictureFileName, getSelectedPictureURL, getSize, getSizeExpression, getTabs, getX, getXOffsetExpression, getY, getYOffsetExpression, isSelectedDrawLineToOffset, setColorLine, setFeatureStore, setPicture, setRotation, setSelectedPicture, setSize, setValues, setX, setYfireSymbolChangedEvent, getSampleFeature, toStringpublic PictureLine(SymbolEditor owner)
protected void initComponents()
PictureMarkerinitComponents in class PictureMarkerpublic java.lang.String getName()
TypeSymbolEditor
Returns the name of the config tabs that will be shown in the selector combo box.
This is typically a human-readable (and also translatable) name for the symbol that
this TypeEditorPanel deals with, but maybe you prefer to use any other one.
The order of the entries in the combo is alphabetically-based. So you can force a position by defining a name that suits your needs.
getName in interface TypeSymbolEditorgetName in class PictureMarkerpublic void refreshControls(ISymbol layer)
TypeSymbolEditorrefreshControls in interface TypeSymbolEditorrefreshControls in class PictureMarkerprotected void setValues(double size,
double rotation,
double xOffset,
double yOffset,
java.net.URL picture,
java.net.URL selectedPicture,
java.lang.String sizeExpression,
java.lang.String offsetXExpression,
java.lang.String offsetYExpression,
java.awt.Color lineToOffsetColor,
java.lang.String lineToOffsetColorExpression,
java.lang.String rotationExpression,
boolean isDrawLineToOffset)
setValues in class PictureMarkerpublic ISymbol getLayer()
TypeSymbolEditorgetLayer in interface TypeSymbolEditorgetLayer in class PictureMarkerpublic boolean canManageSymbol(ISymbol symbol)
canManageSymbol in interface TypeSymbolEditorcanManageSymbol in class PictureMarker