Package org.eclipse.zest.core.widgets
Class DefaultSubgraph.LabelSubgraphFactory
java.lang.Object
org.eclipse.zest.core.widgets.DefaultSubgraph.LabelSubgraphFactory
- All Implemented Interfaces:
SubgraphFactory
- Enclosing class:
DefaultSubgraph
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSubgraph
(NodeLayout[] nodes, LayoutContext context) void
Changes the default background color for newly created subgraphs.void
Changes the default foreground color for newly created subgraphs.
-
Constructor Details
-
LabelSubgraphFactory
public LabelSubgraphFactory()
-
-
Method Details
-
setDefualtForegroundColor
Changes the default foreground color for newly created subgraphs.- Parameters:
c
- color to use
-
setDefaultBackgroundColor
Changes the default background color for newly created subgraphs.- Parameters:
c
- color to use
-
createSubgraph
- Specified by:
createSubgraph
in interfaceSubgraphFactory
-