public class ArrowMarkerSymbol extends AbstractMarkerSymbol implements CartographicSupport, IArrowMarkerSymbol
| Modifier and Type | Class and Description |
|---|---|
static class |
ArrowMarkerSymbol.RegisterPersistence |
CartographicSupport.CartographicContext| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ARROW_MARKER_SYMBOL_DYNCLASS_NAME |
MARKER_SYMBOL_PERSISTENCE_DEFINITION_NAMELOGGER, SYMBOL_PERSISTENCE_DEFINITION_NAMEPAPER, WORLDCIRCLE_STYLE, CROSS_STYLE, DIAMOND_STYLE, HORIZONTAL_LINE_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 |
|---|---|
java.lang.Object |
clone()
Creates a copy of the object.
|
void |
draw(java.awt.Graphics2D g,
java.awt.geom.AffineTransform affineTransform,
Geometry geom,
Feature f,
Cancellable cancel,
java.awt.Rectangle r) |
java.lang.String |
getClassName() |
double |
getSharpness()
To get the sharpeness attribute.It will determine the final form of the arrow
|
ISymbol |
getSymbolForSelection(java.awt.Color selectionColor) |
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
|
getAdjustedSize, getCartographicSize, getColor, getEfectiveLineToOffsetColor, getEfectiveOffset, getEfectiveRotationInDegres, getEfectiveRotationInRadians, getEfectiveSize, getLineToOffsetColor, getLineToOffsetColorExpression, getMask, getOffset, getOffsetXExpression, getOffsetYExpression, getPoint, getRotation, getRotationExpression, getRotationInDegrees, getRotationInRadians, getSampleGeometry, getSize, getSizeExpression, getSymbolTable, getSymbolType, isDrawLineToOffset, isSuitableFor, setAlpha, setColor, setDrawLineToOffset, setLineToOffsetColor, setLineToOffsetColorExpression, setMask, setOffset, setOffsetXExpression, setOffsetYExpression, setRotation, setRotationExpression, setRotationInDegrees, setRotationInRadians, setSize, setSizeExpressioncloneForSelection, cloneForSelection, draw, drawInsideRectangle, equals, getDescription, getFeature, getID, getRequiredFeatureAttributeNames, getSymbolForSelection, isShapeVisible, print, setDescription, setFeature, setID, setIsShapeVisiblecopyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, isInPixels, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setReferenceSystem, setUnit, toCartographicUnitsfinalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyCartographicContext, copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setReferenceSystem, setUnit, toCartographicUnitsdraw, drawInsideRectangle, getDescription, getFeature, getID, getSymbolForSelection, isShapeVisible, setDescription, setFeature, setIDprintcloneQuietly, cloneQuietlypublic static final java.lang.String ARROW_MARKER_SYMBOL_DYNCLASS_NAME
public ISymbol getSymbolForSelection(java.awt.Color selectionColor)
getSymbolForSelection in interface ISymbolgetSymbolForSelection in class AbstractSymbolpublic java.lang.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(java.awt.Graphics2D g,
java.awt.geom.AffineTransform affineTransform,
Geometry geom,
Feature f,
Cancellable cancel,
java.awt.Rectangle r)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Cloneableclone in class AbstractMarkerSymboljava.lang.CloneNotSupportedException - 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