public class ArrowMarkerSymbol extends AbstractMarkerSymbol implements CartographicSupport, IArrowMarkerSymbol
| Modifier and Type | Class and Description |
|---|---|
static class |
ArrowMarkerSymbol.RegisterPersistence |
| Modifier and Type | Field and Description |
|---|---|
static String |
ARROW_MARKER_SYMBOL_DYNCLASS_NAME |
MARKER_SYMBOL_PERSISTENCE_DEFINITION_NAMESYMBOL_PERSISTENCE_DEFINITION_NAMEPAPER, WORLDCIRCLE_STYLE, CROSS_STYLE, DIAMOND_STYLE, SQUARE_STYLE, STAR_STYLE, SYMBOL_NAME, TRIANGLE_STYLE, VERTICAL_LINE_STYLE, X_STYLESELECTION_COLOR| Constructor and Description |
|---|
ArrowMarkerSymbol() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a copy of the object.
|
void |
draw(Graphics2D g,
AffineTransform affineTransform,
Geometry geom,
Feature feature,
Cancellable cancel)
Used when a symbol is going to be drawn.The method to do
it will depend on the derived version of the symbol.
|
String |
getClassName() |
double |
getSharpness()
To get the sharpeness attribute.It will determine the final form of the arrow
|
ISymbol |
getSymbolForSelection()
Returns the derived version of the symbol that will be used to draw the
feature when it is selected.
|
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setSharpness(double sharpeness)
To set the sharpeness.It will determine the final form of the arrow
|
drawInsideRectangle, getCartographicSize, getColor, getMask, getOffset, getOnePointRgb, getPixExtentPlus, getRotation, getSize, getSymbolType, isSuitableFor, print, setAlpha, setCartographicSize, setColor, setMask, setOffset, setRotation, setSize, toCartographicSizecloneForSelection, equals, getDescription, getID, getReferenceSystem, getUnit, isOneDotOrPixel, isShapeVisible, setDescription, setID, setIsShapeVisible, setReferenceSystem, setUnitfinalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCartographicSize, getReferenceSystem, getUnit, setCartographicSize, setReferenceSystem, setUnit, toCartographicSizegetDescription, isOneDotOrPixel, isShapeVisible, setDescriptionpublic static final String ARROW_MARKER_SYMBOL_DYNCLASS_NAME
public ISymbol getSymbolForSelection()
ISymbolgetSymbolForSelection in interface ISymbolpublic String getClassName()
public double getSharpness()
getSharpness in interface IArrowMarkerSymbolpublic void setSharpness(double sharpeness)
setSharpness in interface IArrowMarkerSymbolsharpeness, - the value of the arrow's edge angle IN RADIANS#getSharpeness()public void draw(Graphics2D g, AffineTransform affineTransform, Geometry geom, Feature feature, Cancellable cancel)
ISymbolpublic Object clone() throws CloneNotSupportedException
Cloneableclone in class AbstractMarkerSymbolCloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so
its sure it implements it, so this exception may be used for problems
on specific object instances.Object#clone()}.public void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentloadFromState in class AbstractMarkerSymbolPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentsaveToState in class AbstractMarkerSymbolPersistenceException