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, yoffsetExpPicker
featureStore, 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, setY
fireSymbolChangedEvent, getSampleFeature, toString
public PictureLine(SymbolEditor owner)
protected void initComponents()
PictureMarker
initComponents
in class PictureMarker
public 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 TypeSymbolEditor
getName
in class PictureMarker
public void refreshControls(ISymbol layer)
TypeSymbolEditor
refreshControls
in interface TypeSymbolEditor
refreshControls
in class PictureMarker
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)
setValues
in class PictureMarker
public ISymbol getLayer()
TypeSymbolEditor
getLayer
in interface TypeSymbolEditor
getLayer
in class PictureMarker
public boolean canManageSymbol(ISymbol symbol)
canManageSymbol
in interface TypeSymbolEditor
canManageSymbol
in class PictureMarker