Package edu.uci.ics.jung.samples
Class VertexImageShaperDemo.DemoVertexIconTransformer<V>
java.lang.Object
edu.uci.ics.jung.samples.VertexImageShaperDemo.DemoVertexIconTransformer<V>
- Enclosing class:
- VertexImageShaperDemo
public static class VertexImageShaperDemo.DemoVertexIconTransformer<V>
extends Object
implements com.google.common.base.Function<V,Icon>
This class exists only to provide settings to turn on/off shapes and image fill
in this demo.
For a real application, just use Functions.forMap(iconMap)
to provide a
Function<V, Icon>
.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setFillImages
(boolean fillImages) void
setOutlineImages
(boolean outlineImages) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Constructor Details
-
DemoVertexIconTransformer
-
-
Method Details
-
isFillImages
public boolean isFillImages()- Returns:
- Returns the fillImages.
-
setFillImages
public void setFillImages(boolean fillImages) - Parameters:
fillImages
- The fillImages to set.
-
isOutlineImages
public boolean isOutlineImages() -
setOutlineImages
public void setOutlineImages(boolean outlineImages) -
apply
-