class
NodeTextCmd
: public
Command
(Return to index)
command to set text of a node component.
Type:
Instantiable
Base Classes:
public
Command
Derived Classes
Include file:
GraphUnidraw/graphcmds.h
Public:
virtual void
Execute
()
pass to node to interpret, then mark document as modified.
virtual ClassId
GetClassId
()
TextGraphic
*
Graphic
()
virtual boolean
IsA
(ClassId)
NodeComp
*
Node
()
NodeTextCmd
(
Editor
* =nil,
NodeComp
* =nil,
TextGraphic
* =nil)
virtual boolean
Reversible
()
returns false.
int
Size
()
const char*
Text
()
virtual
~NodeTextCmd
()
Protected:
NodeComp
*
node
int
size
char*
text
TextGraphic
*
tgraphic
(more documentation)