public static class VertexImageShaperDemo.DemoVertexImageShapeFunction extends VertexIconAndShapeFunction
delegate, shapeMap
iconMap
BROKEN_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, setDelegate
getIconMap, setIconMap
public 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)
VertexIconAndShapeFunction
getShape
in interface VertexShapeFunction
getShape
in class VertexIconAndShapeFunction
public javax.swing.Icon getIcon(ArchetypeVertex v)
DefaultVertexIconFunction
Icon
associated with v
.getIcon
in interface VertexIconFunction
getIcon
in class DefaultVertexIconFunction