An NDoc Documented Class Library

TextEditor Members

TextEditor overview

Public Static Fields

Undo_Create 
Undo_Delete 
Undo_Font 
Undo_Paste 
Undo_Text 
Undo_Transform 
Undo_Transformation 

Public Instance Constructors

TextEditor Constructor Initializes a new instance of the TextEditor class.

Public Instance Fields

Catchenabled (inherited from Entity) If Catchenabled is false, then you cannot hit the entity, else it is a candidate to catch them with the mousepointer. Default is true; Select
Color (inherited from ActiveCtrl) Color in which the ActiveCtrl will be drawn
CopyList 
CreatedObject 
DefaultTextColor 
GenerateNames (inherited from MNComponent) If GenerateNames is true then a MNName willbe generated if the parent is set to a component with has no name. With GenerateNames is guarantized, the every member of a tree ( except the root ) has a unique name and there is a fullpath, with that the element can be identified.
GriddingOrigin (inherited from ActiveCtrl) 
HoverColor (inherited from DrawCtrl) Holds the color in which a drawelement will be drawn, if the mousepointer moves over them
Items 
MarkList 
Owner 
Priority (inherited from TaskCtrl) 
State (inherited from TaskCtrl) 
TextMarkerColor 
UpDateCount (inherited from MNComponent) 

Public Instance Properties

Base (inherited from Entity) Base is an other aspect of Transformation. She is given from Transformation by the conversion with toBase For something it is better to work with a base as a transformation. Also it is easier to imagine a base. All coordinates, used in the drawmethod of the entity are taken relative to this base.
ClickedPosCount (inherited from ActiveCtrl) 
Count (inherited from MNComponent) Returns the count of children
CurrentHit (inherited from ActiveCtrl) Gets the CurrentHit from the HitItemlist. It is null if the Hititemlist is empty or the first entry not belongs to the ActiveCtrl.
Device (inherited from DrawCtrl) The ActiveCtrl belongs to that device in the sense that one ancestor is the field Work. If you set this property the ActiveCtrl will be added to the children of Work.
EditKind 
EventServer (inherited from ActiveCtrl) 
Gridding (inherited from ActiveCtrl) 
GriddOrigin (inherited from ActiveCtrl) 
Listening (inherited from ActiveCtrl) By setting Listening to false you can turn off all mouse- and keyevents.
MarkByRect 
MNName (inherited from MNComponent) Name of the component.
PaintChildren (inherited from Entity) If PaintChildren is true then all children willbe drawn. The default value is true.
Parent (inherited from MNComponent) Sets or gets the parent of the component and looks for the correct and unique name.
See also GenerateNames, setParent
Posxy (inherited from ActiveCtrl) 
Posxyz (inherited from ActiveCtrl) 
Tag (inherited from MNComponent) 
Transformation (inherited from Entity) Every Entity has a transformation which is called in the Paint-method. This transformation is also valid for a child and a child's child and so on.
Visible (inherited from Entity) If Visible = true the the entity will be drawn. Default is true

Public Instance Methods

activateColor (inherited from DrawCtrl) Draws an active marker, how will be highlighted by the HoverColor if the mousepointer moves over it. With the parameter Tag you can set informations to identify the marker in an other context.
addChild (inherited from MNComponent) Adds an elment in the list.
addMark 
AfterUndo (inherited from TaskCtrl) 
Busy (inherited from TaskCtrl) 
ChildByName (inherited from MNComponent) Retrieves the index of child by a name.
ChildByPathName (inherited from MNComponent) You can get a MNComponent by setting a fullpath relative to the given MNComponent. Separated are the names by "/".
MNComponent root = new MNComponent();
MNComponent a = new MNComponent();
MNComponent b = new MNComponent();
MNComponent c = new MNComponent();
a.MNName = "Frank";
b.MNName = "Joe";
c.MNName = "Sam";
c.Parent = b;
b.Parent = a;
a.Parent = root;
MNComponent d = root.ChildByPathName("Frank/Joe/Sam");
// d is then the component c

ClickedPos (inherited from ActiveCtrl) 
Commit (inherited from TaskCtrl) 
Copy 
CreateTextObject 
CtrlCircle (inherited from DrawCtrl)Overloaded.  
ctrlCurve (inherited from DrawCtrl) Draws an active Curve C, how will be highlighted by the HoverColor if the mousepointer moves over it. With the parameter Tag you can set informations to identify the curve in an other context.
ctrlLine (inherited from DrawCtrl)Overloaded. Draws an active line from A to B, how will be highlighted by the HoverColor if the mousepointer moves over it. With the parameter Tag you can set informations to identify the line in an other context.
ctrlMarker (inherited from DrawCtrl)Overloaded. Draws an active marker, how will be highlighted by the HoverColor if the mousepointer moves over it. With the parameter Tag you can set informations to identify the marker in an other context.
ctrlPoly (inherited from DrawCtrl)Overloaded. Draws an active polygon a, how will be highlighted by the HoverColor if the mousepointer moves over it. With the parameter Tag you can set informations to identify the polygon in an other context.
CtrlRect (inherited from DrawCtrl) 
delete 
Dispose (inherited from MNComponent) 
Equals (inherited from Object) 
EventHandled (inherited from ActiveCtrl) 
FieldCommit 
fullPath (inherited from MNComponent) Gives the full path of the component over all ancestors until a null-parent occurs. This parent often called the root. The separator of the names is "/".
GetEnumerator (inherited from MNComponent) Returns the Enumerator of an intern ArrayList
GetHashCode (inherited from Object) 
getPath (inherited from MNComponent) 
getRoot (inherited from MNComponent) 
GetTransformItems 
GetType (inherited from Object) 
IndexOfMarklist 
InsertChild (inherited from MNComponent) 
Item 
Markrect 
MoveEventPosTo (inherited from ActiveCtrl) 
MoveTO (inherited from MNComponent) 
NewText 
Paint (inherited from Entity) This method is called by Paint. She sets the Transformation
Paste 
Refresh 
refreshTextObject 
RemoveChild (inherited from MNComponent) 
RemoveMark 
RemoveVoidText 
SelectAll 
setRoot (inherited from Entity) Sets an Entity as a Root-Element. This method sis called, if you sets an Entity as a Root-property. You havn't to call that method directly.
Terminate 
ToString (inherited from Object) 
Transform (inherited from Entity) 
UnDo 
UpDate (inherited from Entity) Overrides the UpDate- method and informs the MNDevice, that the contents are changed
UpDated (inherited from Entity) Overrides the UpDated-method and informs all devices in which the entity is visible. So a change of an entity makes changes in all devices.
UpDating (inherited from Entity) Overrides the UpDating-method and informs all devices in which the entity will be drawn by a call of their Updating-method.

Public Instance Events

OnAfterUndo (inherited from TaskCtrl) 
OnCommit (inherited from TaskCtrl) 
OnDraw (inherited from Entity) From draw a OnDraw-event is fired. You can use them. So you musnt derive a component.
OnKeyDown (inherited from ActiveCtrl) 
OnKeyPress (inherited from ActiveCtrl) 
OnKeyUp (inherited from ActiveCtrl) 
OnMouseDown (inherited from ActiveCtrl) The event is call from the method MouseDown
OnMouseMove (inherited from ActiveCtrl) The event is call from the method MouseMove
OnMouseUp (inherited from ActiveCtrl) The event is call from the method MouseUp
OnRefresh 
OnRemoveVoidText 
OnUndo (inherited from TaskCtrl) 
OnUpdate (inherited from MNComponent) 
OnUpdating (inherited from MNComponent) 

Protected Instance Methods

draw 
Finalize (inherited from Object) 
GetPosxy (inherited from ActiveCtrl) 
GetPosxyz (inherited from ActiveCtrl) 
GetTransformation (inherited from Entity) 
KeyDown (inherited from ActiveCtrl) 
KeyPress (inherited from ActiveCtrl) 
KeyUp (inherited from ActiveCtrl) 
MemberwiseClone (inherited from Object) 
MouseDown 
MouseMove 
MouseUp 
setDevice (inherited from ActiveCtrl) Setmethod of the Device-property
SetGridding 
SetGriddOrigin 
setParent (inherited from ActiveCtrl) Overrides the setParent-method and sets the Device-property to all children, which are of type ActiveCtrl.
SetTransformation (inherited from Entity) 

See Also

TextEditor Class | Minais.Drawing3d Namespace