public class IconMapping
extends java.lang.Object
Constructor and Description |
---|
IconMapping(java.lang.Class<? extends AbstractNodeDto> type) |
IconMapping(java.lang.Class<? extends AbstractNodeDto> type,
ImageResource icon) |
Modifier and Type | Method and Description |
---|---|
ImageResource |
getIcon(AbstractNodeDto node) |
java.lang.Class<? extends AbstractNodeDto> |
getType() |
public IconMapping(java.lang.Class<? extends AbstractNodeDto> type)
public IconMapping(java.lang.Class<? extends AbstractNodeDto> type, ImageResource icon)
public java.lang.Class<? extends AbstractNodeDto> getType()
public ImageResource getIcon(AbstractNodeDto node)