Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.grinvin.gui.icons.DefaultGraphIconFactory
org.grinvin.gui.icons.AnnotatedIconFactory
public class AnnotatedIconFactory
extends DefaultGraphIconFactory
SmallGraphIcon
with an AnnotatedRenderer
for small graphs.
Constructor Summary | |
|
Method Summary | |
GraphIcon |
|
protected GraphIcon |
|
protected GraphIcon |
|
protected Icon |
|
static GraphIconFactory |
|
protected int |
Methods inherited from class org.grinvin.gui.icons.DefaultGraphIconFactory | |
createIcon , createIconForLargeGraph , createIconForMissingGraph , createIconForSmallGraph , getBackgroundIcon , getInstance , getVertexLimitFactor , isHugeGraph , isSmallGraph |
protected AnnotatedIconFactory()
Default constructor. Can be overridden, but should not be called directly.
- See Also:
getInstance()
public GraphIcon createIcon(GraphBundleView bundle, int size)
- Specified by:
- createIcon in interface GraphIconFactory
- Overrides:
- createIcon in interface DefaultGraphIconFactory
protected GraphIcon createIconForMediumGraph(GraphBundleView bundle, int size)
protected GraphIcon createIconForSmallGraph(GraphBundleView bundle, int size)
- Overrides:
- createIconForSmallGraph in interface DefaultGraphIconFactory
protected Icon getBackgroundIcon(int size)
Return the background icon for the large graph icon.
- Overrides:
- getBackgroundIcon in interface DefaultGraphIconFactory
public static GraphIconFactory getInstance()
Return the sole instance of this class.
- Overrides:
- getInstance in interface DefaultGraphIconFactory
protected int getVertexLimitFactor()
- Overrides:
- getVertexLimitFactor in interface DefaultGraphIconFactory