| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.grinvin.gui.icons.DefaultGraphIconFactoryorg.grinvin.gui.icons.ChemicalIconFactorypublic class ChemicalIconFactoryextends DefaultGraphIconFactoryChemicalIcon for graphs with
a small number of vertices.
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 ChemicalIconFactory()
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