-
public interface IconProvider
Provides icons (i.e. squareNode
s) for a given key object.- Author:
- claudio.rosati@esss.se
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Node
iconFor(Object key, int size)
Return an icon (i.e.
-
-
-
Method Detail
-
iconFor
Node iconFor(Object key, int size)
Return an icon (i.e. a squareNode
for the givenkey
object.- Parameters:
key
- The object for which a graphical representation is needed.size
- The size of the squareNode
to be returned.- Returns:
- An icon as a
Node
instance, ornull
ifkey
isnull
,size <= 0
, or no suitable representation can be found.
-
-