Class WarningSymbol
java.lang.Object
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.MultiShapeSymbol
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.warning.impl.WarningSymbol
- All Implemented Interfaces:
Cloneable,org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport,org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable,org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol,org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol_v2,org.gvsig.fmap.mapcontext.rendering.symbols.IWarningSymbol,org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol,org.gvsig.symbology.fmap.mapcontext.rendering.symbol.IMultiShapeSymbol,org.gvsig.symbology.fmap.mapcontext.rendering.symbol.line.ILineSymbol,org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.IMarkerSymbol,org.gvsig.tools.lang.Cloneable,org.gvsig.tools.persistence.Persistent
public class WarningSymbol
extends MultiShapeSymbol
implements org.gvsig.fmap.mapcontext.rendering.symbols.IWarningSymbol
Warning symbol
- Author:
- 2005-2008 jaume dominguez faus - jaume.dominguez@iver.es, 2009- César Ordiñana - gvSIG team
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport.CartographicContext -
Field Summary
FieldsFields inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.MultiShapeSymbol
MULTI_SHAPE_SYMBOL_PERSISTENCE_DEFINITION_NAME, SYMBOL_NAMEFields inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol
LOGGER, SYMBOL_PERSISTENCE_DEFINITION_NAMEFields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
PAPER, WORLDFields inherited from interface org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.IMarkerSymbol
CIRCLE_STYLE, CROSS_STYLE, DIAMOND_STYLE, HORIZONTAL_LINE_STYLE, SQUARE_STYLE, STAR_STYLE, TRIANGLE_STYLE, VERTICAL_LINE_STYLE, X_STYLEFields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
SELECTION_COLORFields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.IWarningSymbol
SYMBOL_NAME -
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor, only used in persistence.WarningSymbol(String message, String symbolDesc, int symbolDrawExceptionType) -
Method Summary
Modifier and TypeMethodDescriptionclone()voiddraw(Graphics2D g, AffineTransform affineTransform, org.gvsig.fmap.geom.Geometry geom, org.gvsig.tools.task.Cancellable cancel) voiddrawInsideRectangle(Graphics2D g, AffineTransform scaleInstance, Rectangle r) voidloadFromState(org.gvsig.tools.persistence.PersistentState state) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) voidsetDrawExceptionType(int symbolDrawExceptionType) voidsetMessage(String message) Methods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.MultiShapeSymbol
draw, getAlpha, getColor, getFillAlpha, getFillColor, getFillSymbol, getLineColor, getLineStyle, getLineSymbol, getLineWidth, getMarkerSymbol, getMask, getOffset, getOutline, getReferenceSystem, getRotation, getSize, getSymbolForSelection, getSymbolType, getUnit, hasFill, hasOutline, isShapeVisible, isSuitableFor, setAlpha, setColor, setFillColor, setFillSymbol, setHasFill, setHasOutline, setLineColor, setLineStyle, setLineSymbol, setLineWidth, setMarkerSymbol, setMask, setOffset, setOutline, setReferenceSystem, setRotation, setSize, setUnitMethods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol
cloneForSelection, cloneForSelection, draw, equals, getDescription, getFeature, getID, getRequiredFeatureAttributeNames, getSymbolForSelection, print, setDescription, setFeature, setID, setIsShapeVisibleMethods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
copyCartographicContext, getCartographicContext, isInPixels, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, toCartographicUnitsMethods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
copyCartographicContext, getCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, toCartographicUnitsMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable
printMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
draw, draw, getDescription, getFeature, getID, getSymbolForSelection, getSymbolForSelection, getSymbolType, isShapeVisible, setFeature, setIDMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.IWarningSymbol
setDescription
-
Field Details
-
WARNING_SYMBOL_PERSISTENCE_DEFINITION_NAME
- See Also:
-
-
Constructor Details
-
WarningSymbol
public WarningSymbol()Empty constructor, only used in persistence. -
WarningSymbol
-
-
Method Details
-
draw
public void draw(Graphics2D g, AffineTransform affineTransform, org.gvsig.fmap.geom.Geometry geom, org.gvsig.tools.task.Cancellable cancel) -
setDrawExceptionType
public void setDrawExceptionType(int symbolDrawExceptionType) - Specified by:
setDrawExceptionTypein interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.IWarningSymbol
-
setMessage
- Specified by:
setMessagein interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.IWarningSymbol
-
drawInsideRectangle
public void drawInsideRectangle(Graphics2D g, AffineTransform scaleInstance, Rectangle r) throws org.gvsig.fmap.mapcontext.rendering.symbols.SymbolDrawingException - Specified by:
drawInsideRectanglein interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.ISymbol- Overrides:
drawInsideRectanglein classorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol- Throws:
org.gvsig.fmap.mapcontext.rendering.symbols.SymbolDrawingException
-
clone
- Specified by:
clonein interfaceorg.gvsig.tools.lang.Cloneable- Overrides:
clonein classMultiShapeSymbol- Throws:
CloneNotSupportedException
-
loadFromState
public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
loadFromStatein interfaceorg.gvsig.tools.persistence.Persistent- Overrides:
loadFromStatein classMultiShapeSymbol- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
saveToState
public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
saveToStatein interfaceorg.gvsig.tools.persistence.Persistent- Overrides:
saveToStatein classMultiShapeSymbol- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-