Package org.eclipse.zest.core.widgets
Class CGraphNode
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Item
org.eclipse.zest.core.widgets.GraphItem
org.eclipse.zest.core.widgets.GraphNode
org.eclipse.zest.core.widgets.CGraphNode
A Custom Graph Node
- 
Field SummaryFields inherited from class org.eclipse.zest.core.widgets.GraphNodegraph, HIGHLIGHT_NONE, HIGHLIGHT_ON, highlighted, internalNode, nodeFigure, parent, sizeFields inherited from class org.eclipse.zest.core.widgets.GraphItemCONNECTION, CONTAINER, GRAPH, NODE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected IFigureGet the background colour for this node.getFont()Get the foreground colour for this nodevoidPermanently sets the background color (unhighlighted).voidprotected voidupdateFigureForModel(IFigure currentFigure) Methods inherited from class org.eclipse.zest.core.widgets.GraphNodecacheLabel, dispose, fishEye, getBorderColor, getBorderHighlightColor, getBorderWidth, getGraphModel, getHideContainerBounds, getHideNodeHelper, getHighlightColor, getItemType, getLayout, getLayoutEntity, getLocation, getModelFigure, getNodeFigure, getNodeStyle, getSize, getSourceConnections, getStyle, getTargetConnections, getTooltip, highlight, initFigure, initModel, isDisposed, isHighlighted, isSelected, isSizeFixed, isVisible, refreshLocation, setBorderColor, setBorderHighlightColor, setBorderWidth, setCacheLabel, setForegroundColor, setHideNodeHelper, setHighlightColor, setImage, setLocation, setModelFigure, setNodeStyle, setSize, setText, setTooltip, setVisible, toString, unhighlightMethods inherited from class org.eclipse.zest.core.widgets.GraphItemcheckStyleMethods inherited from class org.eclipse.swt.widgets.ItemcheckSubclass, getImage, getTextMethods inherited from class org.eclipse.swt.widgets.WidgetaddDisposeListener, addListener, addTypedListener, checkWidget, getData, getData, getDisplay, getListeners, getTypedListeners, isAutoDirection, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, removeListener, removeTypedListener, reskin, setData, setData
- 
Constructor Details- 
CGraphNode
 
- 
- 
Method Details- 
getFigure
- 
createFigureForModel- Overrides:
- createFigureForModelin class- GraphNode
 
- 
setBackgroundColorDescription copied from class:GraphNodePermanently sets the background color (unhighlighted). This color has no effect if a custom figure has been set.- Overrides:
- setBackgroundColorin class- GraphNode
- Parameters:
- c-
 
- 
setFont
- 
getBackgroundColorDescription copied from class:GraphNodeGet the background colour for this node. This is the color the node will be if it is not currently highlighted. This color is meaningless if a custom figure has been set.- Overrides:
- getBackgroundColorin class- GraphNode
 
- 
getFont
- 
getForegroundColorDescription copied from class:GraphNodeGet the foreground colour for this node- Overrides:
- getForegroundColorin class- GraphNode
 
- 
updateFigureForModel- Overrides:
- updateFigureForModelin class- GraphNode
 
 
-