public class PickableVertexIconTransformer<V>
extends java.lang.Object
implements org.apache.commons.collections4.Transformer<V,javax.swing.Icon>
Icon
parameters given in the constructor, so that picked and
non-picked vertices can be made to look different.Modifier and Type | Field and Description |
---|---|
protected javax.swing.Icon |
icon |
protected PickedInfo<V> |
pi |
protected javax.swing.Icon |
picked_icon |
Constructor and Description |
---|
PickableVertexIconTransformer(PickedInfo<V> pi,
javax.swing.Icon icon,
javax.swing.Icon picked_icon) |
protected javax.swing.Icon icon
protected javax.swing.Icon picked_icon
protected PickedInfo<V> pi
public PickableVertexIconTransformer(PickedInfo<V> pi, javax.swing.Icon icon, javax.swing.Icon picked_icon)
pi
- specifies which vertices report as "picked"icon
- Icon
used to represent verticespicked_icon
- Icon
used to represent picked vertices