org.arakhne.neteditor.fig.figure.edge.symbol
public abstract class AbstractFillableEdgeSymbol extends EdgeSymbol
PROPERTY_ANCHORDESCRIPTION, PROPERTY_ANCHORX, PROPERTY_ANCHORY, PROPERTY_ANGLE, PROPERTY_ARCSIZE, PROPERTY_CLOSED, PROPERTY_CONTROLPOINTS, PROPERTY_DRAWINGMETHOD, PROPERTY_DX, PROPERTY_DY, PROPERTY_ENDSYMBOL, PROPERTY_FILENAME, PROPERTY_FILLED, PROPERTY_FILLINGCOLOR, PROPERTY_FRAMED, PROPERTY_HEIGHT, PROPERTY_ICON, PROPERTY_IMAGE, PROPERTY_INVERT, PROPERTY_ISAUTOLOCKASSOCIATEDFIGURES, PROPERTY_ISLOCKED, PROPERTY_ISSELECTABLE, PROPERTY_LENGTH, PROPERTY_LINECOLOR, PROPERTY_LOCKINGFILLINGCOLOR, PROPERTY_LOCKINGOUTLINECOLOR, PROPERTY_MAXHEIGHT, PROPERTY_MAXWIDTH, PROPERTY_MINHEIGHT, PROPERTY_MINWIDTH, PROPERTY_MODELOBJECT, PROPERTY_PDFFILE, PROPERTY_PDFPAGE, PROPERTY_RADIUS, PROPERTY_RESIZEDIRECTIONS, PROPERTY_STARTSYMBOL, PROPERTY_TEXT, PROPERTY_TYPE, PROPERTY_VIEWUUID, PROPERTY_WIDTH, PROPERTY_X, PROPERTY_YPROPERTY_ANCHORLOCATION, PROPERTY_LOCATION, PROPERTY_NAME, PROPERTY_UUID| Constructor and Description |
|---|
AbstractFillableEdgeSymbol(boolean filled)
Construct a new triangle.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getProperties()
Replies the properties of this component.
|
Map<String,Class<?>> |
getSupportedProperties()
Replies the names and the types of all the
properties that are understood by this component.
|
protected void |
paintSymbol(ViewGraphics2D g,
Shape2f shape)
Invoked to draw the property symbol.
|
void |
setProperties(Map<String,Object> properties)
Set the properties of the model object, except the UUID.
|
contains, getBounds, getEdge, getFillingColor, getLineColor, getSymbolShape, hit, paint, setEdge, setGeometrypropGet, propGetBoolean, propGetByte, propGetDouble, propGetFloat, propGetInt, propGetLong, propGetString, propGetURLpublic AbstractFillableEdgeSymbol(boolean filled)
filled - indicates how the symbol is filled.
If true the color replied by
EdgeSymbol.getFillingColor() is used.
If false the color replied by
EdgeSymbol.getLineColor() is used.protected void paintSymbol(ViewGraphics2D g, Shape2f shape)
paintSymbol in class EdgeSymbolg - is the graphics context.shape - is the symbol shape.public Map<String,Object> getProperties()
getProperties in class EdgeSymbolnull.public Map<String,Class<?>> getSupportedProperties()
getSupportedProperties in class EdgeSymbolnull.public void setProperties(Map<String,Object> properties) throws IOException
setProperties in class EdgeSymbolproperties - are the properties of this model object, except the UUID.IOExceptionCopyright © 2001-2013 NetEditor Developers. 
NetEditor API Documentation by NetEditor Developers is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at www.arakhne.org/neteditor