public static class VertexImageShaperDemo.DemoVertexImageShapeFunction extends VertexIconAndShapeFunction
delegate, shapeMapiconMapBROKEN_IMAGE| Constructor and Description |
|---|
VertexImageShaperDemo.DemoVertexImageShapeFunction(VertexShapeFunction delegate) |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.Icon |
getIcon(ArchetypeVertex v)
Returns the
Icon associated with v. |
java.awt.Shape |
getShape(Vertex v)
get the shape from the image.
|
boolean |
isFillImages() |
boolean |
isOutlineImages() |
boolean |
isShapeImages() |
void |
setFillImages(boolean fillImages) |
void |
setOutlineImages(boolean outlineImages) |
void |
setShapeImages(boolean shapeImages) |
getDelegate, setDelegategetIconMap, setIconMappublic VertexImageShaperDemo.DemoVertexImageShapeFunction(VertexShapeFunction delegate)
public boolean isFillImages()
public void setFillImages(boolean fillImages)
fillImages - The fillImages to set.public boolean isShapeImages()
public void setShapeImages(boolean shapeImages)
shapeImages - The shapeImages to set.public boolean isOutlineImages()
public void setOutlineImages(boolean outlineImages)
public java.awt.Shape getShape(Vertex v)
VertexIconAndShapeFunctiongetShape in interface VertexShapeFunctiongetShape in class VertexIconAndShapeFunctionpublic javax.swing.Icon getIcon(ArchetypeVertex v)
DefaultVertexIconFunctionIcon associated with v.getIcon in interface VertexIconFunctiongetIcon in class DefaultVertexIconFunction