class
NodeView
: public
OverlayView
(Return to index)
graphical view of
NodeComp
.
Type:
Instantiable
Base Classes:
public
OverlayView
Derived Classes
Include file:
GraphUnidraw/nodecomp.h
Public:
virtual
Manipulator
*
CreateManipulator
(
Viewer
*,
Event
&,
Transformer
*,
Tool
*)
create tool-specific manipulator for creating, moving, or reshaping the node.
virtual ClassId
GetClassId
()
SF_Ellipse
*
GetEllipse
()
return pointer to view's ellipse graphic.
SF_Ellipse
*
GetEllipse2
()
return pointer to view's second ellipse graphic, the one for indicating an internal graph.
virtual
Graphic
*
GetGraphic
()
return pointer to graphic used for this view.
TextGraphic
*
GetText
()
return pointer to view's text graphic.
virtual
Graphic
*
HighlightGraphic
()
default highlighting -- solid brush of width 2, pattern #4 from catalog.
virtual void
Interpret
(
Command
*)
pass to
GraphicView
::Interpret.
virtual
Command
*
InterpretManipulator
(
Manipulator
*)
interpret tool-specific manipulator for creating, moving, or reshaping the node.
virtual boolean
IsA
(ClassId)
NodeView
(
NodeComp
* = nil)
int
SubEdgeIndex
(
ArrowLine
*)
return index of
ArrowLine
graphic relative to edges on internal graph.
virtual void
Uninterpret
(
Command
*)
pass to
GraphicView
::Uninterpret.
virtual void
Update
()
update view based on any changes to component.
virtual
~NodeView
()
Protected:
static
FullGraphic
*
_nv_gs
(more documentation)