public class CGraphNode extends GraphNode
graph, HIGHLIGHT_NONE, HIGHLIGHT_ON, highlighted, internalNode, nodeFigure, parent, sizeCONNECTION, CONTAINER, GRAPH, NODE| Constructor and Description |
|---|
CGraphNode(IContainer graphModel,
int style,
IFigure figure) |
| Modifier and Type | Method and Description |
|---|---|
protected IFigure |
createFigureForModel() |
Color |
getBackgroundColor()
Get the background colour for this node.
|
IFigure |
getFigure() |
Font |
getFont() |
Color |
getForegroundColor()
Get the foreground colour for this node
|
void |
setBackgroundColor(Color c)
Permanently sets the background color (unhighlighted).
|
void |
setFont(Font font) |
protected void |
updateFigureForModel(IFigure currentFigure) |
cacheLabel, dispose, fishEye, getBorderColor, getBorderHighlightColor, getBorderWidth, getGraphModel, getHighlightColor, getItemType, getLayoutEntity, getLocation, getNodeFigure, getNodeStyle, getSize, getSourceConnections, getStyle, getTargetConnections, getTooltip, highlight, initFigure, initModel, isDisposed, isSelected, isSizeFixed, isVisible, refreshLocation, setBorderColor, setBorderHighlightColor, setBorderWidth, setCacheLabel, setForegroundColor, setHighlightColor, setImage, setLocation, setNodeStyle, setSize, setText, setTooltip, setVisible, toString, unhighlightcheckStylecheckSubclass, getImage, getTextaddDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setDatapublic CGraphNode(IContainer graphModel, int style, IFigure figure)
public IFigure getFigure()
protected IFigure createFigureForModel()
createFigureForModel in class GraphNodepublic void setBackgroundColor(Color c)
GraphNodesetBackgroundColor in class GraphNodepublic Color getBackgroundColor()
GraphNodegetBackgroundColor in class GraphNodepublic Color getForegroundColor()
GraphNodegetForegroundColor in class GraphNodeprotected void updateFigureForModel(IFigure currentFigure)
updateFigureForModel in class GraphNodeCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.