public static class DefaultSubgraph.LabelSubgraphFactory extends java.lang.Object implements SubgraphFactory
| Constructor and Description |
|---|
DefaultSubgraph.LabelSubgraphFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.gef4.layout.interfaces.SubgraphLayout |
createSubgraph(org.eclipse.gef4.layout.interfaces.NodeLayout[] nodes,
org.eclipse.gef4.layout.interfaces.LayoutContext context) |
void |
setDefaultBackgroundColor(Color c)
Changes the default background color for newly created subgraphs.
|
void |
setDefualtForegroundColor(Color c)
Changes the default foreground color for newly created subgraphs.
|
public DefaultSubgraph.LabelSubgraphFactory()
public void setDefualtForegroundColor(Color c)
c - color to usepublic void setDefaultBackgroundColor(Color c)
c - color to usepublic org.eclipse.gef4.layout.interfaces.SubgraphLayout createSubgraph(org.eclipse.gef4.layout.interfaces.NodeLayout[] nodes,
org.eclipse.gef4.layout.interfaces.LayoutContext context)
createSubgraph in interface SubgraphFactoryCopyright (c) 2014 itemis AG and others. All rights reserved.