public class SimpleFillSymbol extends AbstractFillSymbol implements ISimpleFillSymbol, TransparencySupport
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleFillSymbol.RegisterPersistence |
static class |
SimpleFillSymbol.RegisterSymbol |
CartographicSupport.CartographicContextFILL_SYMBOL_PERSISTENCE_DEFINITION_NAMELOGGER, SYMBOL_PERSISTENCE_DEFINITION_NAMESYMBOL_NAMESELECTION_COLORPAPER, WORLD| Constructor and Description |
|---|
SimpleFillSymbol() |
| 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() |
ISymbol |
getSymbolForSelection(java.awt.Color selectionColor) |
int |
getSymbolType()
The use of this method -and its mechanism- is being valorated.
|
double |
getTransparency() |
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 |
setOutline(ILineSymbol outline)
Sets the color of the outline.
|
void |
setTransparency(double transparency)
Sets the transparency for symbol.
|
getCartographicSize, getColor, getFillAlpha, getFillColor, getOutline, getSampleGeometry, hasFill, hasOutline, isSuitableFor, setCartographicSize, setColor, setFillColor, setHasFill, setHasOutline, setUnit, toCartographicSizecloneForSelection, 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, toCartographicUnitsfinalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFillAlpha, getFillColor, getOutline, hasFill, hasOutline, isSuitableFor, setFillColor, setHasFill, setHasOutlinedraw, drawInsideRectangle, getColor, getDescription, getFeature, getID, getSymbolForSelection, isShapeVisible, setColor, setDescription, setFeature, setIDprintcloneQuietly, cloneQuietlycopyCartographicContext, copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setReferenceSystem, setUnit, toCartographicUnitspublic ISymbol getSymbolForSelection(java.awt.Color selectionColor)
getSymbolForSelection in interface ISymbolgetSymbolForSelection in class AbstractSymbolpublic void draw(java.awt.Graphics2D g,
java.awt.geom.AffineTransform affineTransform,
Geometry geom,
Feature f,
Cancellable cancel,
java.awt.Rectangle r)
public int getSymbolType()
ISymbolgetSymbolType in interface ISymbolpublic java.lang.String getClassName()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Cloneableclone in class AbstractFillSymboljava.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 AbstractFillSymbolPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentsaveToState in class AbstractFillSymbolPersistenceExceptionpublic void setTransparency(double transparency)
TransparencySupportsetTransparency in interface TransparencySupportpublic void setOutline(ILineSymbol outline)
IFillSymbolsetOutline in interface IFillSymbolsetOutline in class AbstractFillSymbolpublic double getTransparency()
getTransparency in interface TransparencySupport