Show / Hide Table of Contents

Namespace CADability.Actions

Classes

Action

Base class for all "Actions". An Action is an object, that receives various MouseInput events once it has been "Set" by a call to SetAction(Action). After performing the required tasks, the Action is removed from the ActionStack and the previous active action is resumed. The action on the bottom of the action stack is the SelectObjectsAction. Use the ConstructAction for typical drawing purposes, because it provides a convenient set of methods. If an action object is set by a call to SetAction(Action) the following sequence of calls to the new and the old action is executed:

  • new action: OnSetAction() (as a reaction to SetAction(Action))
  • old action: OnInactivate(Action, Boolean) (may call RemoveActiveAction() if desired)
  • new action: OnActivate(Action, Boolean) (from now on the new action may receive mouse events).
  • After the new action calls RemoveThisAction() or someone calls RemoveActiveAction() the new action will receive OnInactivate(Action, Boolean).
  • The old action (if still on the stack) will receive a call to OnActivate(Action, Boolean) and finally
  • the new action will receive a call to OnRemoveAction() as a last call.

ActionException

Exception thrown by Action or derived classes with a hopefully meaningful message

ActionFeedBack

A container for Feedback objects. These are objects that give visual feedback to the user while a Action is in progress. Currently you can add IGeoObjects or FeedBackPlanes that provide the feedback.

ConstrDefaults

All default values of the construct actions are static members of this class. So they can be stored from one construction to the other.

ConstrHatchInside

ConstructAction

Base class for construct actions.

ConstructAction.AngleInput

ConstructAction.BooleanInput

Defines an input object for an action derived from ConstructAction. This input object extpects the input of a boolen value. The boolen value is selected from a combobox. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.CurveInput

Defines an input object for an action derived from ConstructAction. This input object extpects the user to click on a curve (IGeoObject that also implements ICurve. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.DefaultAngle

A DefaultAngle object is usually used in conjunction with a ConstructAction.AngleInput object (see DefaultAngle). It specifies a default value for the input field as long as the user didn't specify that input via keybord or mouse. When the angle input is locked, the value is saved in the corresponding DefaultAngle object. DefaultAngle objects are usually static in a ConstructAction to preserve that value from one instance of the action to the next instance.

ConstructAction.DefaultBoolean

A DefaultBoolean object is usually used in conjunction with a ConstructAction.BooleanInput object (see CADability.Actions.ConstructAction.BooleanInput.defaultBoolean). It specifies a default value for the input field as long as the user didn't specify that input via keybord or mouse. When the point input is locked, the value is saved in the corresponding DefaultBoolean object. DefaultBoolean objects are usually static in a ConstructAction to preserve that value from one instance of the action to the next instance.

ConstructAction.DefaultGeoPoint

A DefaultGeoPoint object is usually used in conjunction with a ConstructAction.GeoPointInput object (see DefaultGeoPoint). It specifies a default value for the input field as long as the user didn't specify that input via keybord or mouse. When the point input is locked, the value is saved in the corresponding DefaultGeoPoint object. DefaultGeoPoint objects are usually static in a ConstructAction to preserve that value from one instance of the action to the next instance.

ConstructAction.DefaultGeoVector

A DefaultGeoVector object is usually used in conjunction with a ConstructAction.GeoVectorInput object (see DefaultGeoVector). It specifies a default value for the input field as long as the user didn't specify that input via keybord or mouse. When the point input is locked, the value is saved in the corresponding DefaultGeoVector object. DefaultGeoVector objects are usually static in a ConstructAction to preserve that value from one instance of the action to the next instance.

ConstructAction.DefaultInteger

A DefaultInteger object is usually used in conjunction with a ConstructAction.MultipleChoiceInput object (see DefaultChoice). It specifies a default value for the input field as long as the user didn't specify that input via keybord or mouse. When the point input is locked, the value is saved in the corresponding DefaultInteger object. DefaultInteger objects are usually static in a ConstructAction to preserve that value from one instance of the action to the next instance.

ConstructAction.DefaultLength

A DefaultLength object is usually used in conjunction with a ConstructAction.LengthInput object (see DefaultLength). It specifies a default value for the input field as long as the user didn't specify that input via keybord or mouse. When the length input is locked, the value is saved in the corresponding DefaultLength object. DefaultLength objects are usually static in a ConstructAction to preserve that value from one instance of the action to the next instance.

ConstructAction.DoubleInput

Defines an input object for an action derived from ConstructAction. This input object extpects the input of a double value. The value may be either entered on the keyboard or by moving the mouse. The calculation of a value from the mouse position is performed via a callback (event) method. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.EditInput

Defines an input object for an action derived from ConstructAction. This input object extpects the user to enter a string in a edit field and is connected to a Text object to provide wysiwyg editing. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.GeoObjectInput

Defines an input object for an action derived from ConstructAction. This input object extpects the user to click on a curve (IGeoObject that also implements ICurve. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.GeoPointInput

Defines an input object for an action derived from ConstructAction. This input object extpects the input of a point. This point may be either entered on the keyboard or by moving the mouse. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.GeoVectorInput

Defines an input object for an action derived from ConstructAction. This input object extpects the input of a vector. The vector may be either entered on the keyboard or by moving the mouse. The calculation of a vector from the mouse position depends on various settings. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.InputContainer

ConstructAction.InputObject

Common base class for onput objects for the ConstructAction (see SetInput(Object[])

ConstructAction.IntInput

Defines an input object for an action derived from ConstructAction. This input object extpects the user to enter a integer value in a edit field. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.LengthInput

Defines an input object for an action derived from ConstructAction. This input object extpects the input of a length or distance. The length may be either entered on the keyboard or by moving the mouse. The calculation of a length from the mouse position depends on various settings. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.MultipleChoiceInput

Defines an input object for an action derived from ConstructAction. This input object extpects the input of a integer value. The integer value is entered in a editbox and/or with an up/down control. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.MultiPointInput

Defines an input object for an action derived from ConstructAction. This input object extpects the input of a list of GeoPoints. The user can define as many points as he or she wants. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.PlaneInput

Defines an input object for an action derived from ConstructAction. This input object expects the input of a plane. The value may be either entered on the keyboard or by moving the mouse. There is always a base plane which is by default the drawing plane. The mouse input is defines a plane which is parallel to the base plane and contains the mouse point (snapping is applied) Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructAction.SeparatorInput

ConstructAction.StringInput

Defines an input object for an action derived from ConstructAction. This input object extpects the user to enter a string in a edit field. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

ConstructActionException

Exception thrown by ConstructAction.

ConstructAngleTwoPoints

Action that constructs an angle defined by two points. It uses a AngleProperty to communicate the constructed point to the outside.

ConstructDirectionOfCurve

Action that constructs a length as a distance between two points. It uses a LengthProperty to communicate the constructed length to the outside.

ConstructDirectionOfSurface

Action that constructs a length as a distance between two points. It uses a LengthProperty to communicate the constructed length to the outside.

ConstructDirectionTwoPoints

Action that constructs a length as a distance between two points. It uses a LengthProperty to communicate the constructed length to the outside.

ConstructDistanceOfCurve

Action that constructs a length as a distance between two points. It uses a LengthProperty to communicate the constructed length to the outside.

ConstructDistancePointCurve

Action that constructs a length as a distance between two points. It uses a LengthProperty to communicate the constructed length to the outside.

ConstructDistanceTwoCurves

Action that constructs a length as a distance between two points. It uses a LengthProperty to communicate the constructed length to the outside.

ConstructDistanceTwoPoints

Action that constructs a length as a distance between two points. It uses a LengthProperty to communicate the constructed length to the outside.

ConstructIntersectPoint

Action that constructs a midpoint between two points. It uses a GeoPointProperty to communicate the constructed point to the outside.

ConstructMidPoint

Action that constructs a midpoint between two points. It uses a GeoPointProperty to communicate the constructed point to the outside.

ConstructObjectPoint

Action that constructs a midpoint between two points. It uses a GeoPointProperty to communicate the constructed point to the outside.

ConstructPlane

ConstructPlane.ConstructPlaneException

ConstructPlane2PointsDrawingPlane

ConstructPlane2PointsDrawingPlane.ConstructPlaneException

ConstructPlaneOriginNormalPoint

ConstructPlaneOriginNormalPoint.ConstructPlaneException

ConstructPolarPoint

Action that constructs a length as a distance between two points. It uses a LengthProperty to communicate the constructed length to the outside.

ConstructVectorPoint

Action that constructs a length as a distance between two points. It uses a LengthProperty to communicate the constructed length to the outside.

CopyCircularObjects

CopyMatrixObjects

EditText

Aktion zum editieren von Text in der Zeichenfläche

FeedBackPlane

A translucent section of a plane for the display during an interactive action. Use this object in a call to FeedBack.

GeneralAngleAction

GeneralGeoPointAction

Simple Action to modify a GeoPoint by moving the mouse. The modification will start imediately after the action is set and will terminate when the mouse button is released or enter or escape is pressed.

GeneralGeoPointActionException

GeneralGeoVectorAction

Simple Action to modify a GeoVector. This action doesn't set up an own ControlCenter entry but assumes there is a GeoVectorProperty entry active in the ControlCenter.

GeneralLengthAction

Measure

SelectObjectsAction

The Action used to select GeoObjects of a (visible) Model. Mouseclicks in the view are used to determine which objects should be selected. The user can select a rectangular area by dragging the mouse while the left button is pushed. Dragging from left to right selects all objects completely inside the rectangle, dragging from right to left selects all objects which are touched by the ractangle. The PickMode determins on which level the selection is performed, the FilterList adds additional filtering the the selection process.

ZoomAction

Interfaces

IFeedBack

Interface, which must be implemented by objects that act as eedback objects in Actions. See ActionFeedBack and FeedBack

IIntermediateConstruction

This interface is implemented by Actions that only temporary construct some input for other actions. It is used by those actions to stay active until the IIntermediateConstruction action terminates.

Enums

ConstrHatchInside.HatchMode

A mode used when creating shapes from curves.

ConstructAction.DefaultAngle.StartValue

How should the value be initialized

ConstructAction.DefaultGeoPoint.StartValue

How should the value be initialized

ConstructAction.DefaultGeoVector.StartDirection

How should the direction be initialized

ConstructAction.DefaultGeoVector.StartLength

How should the Length be initialized

ConstructAction.DefaultLength.StartValue

How should the value be initialized

SelectObjectsAction.CursorPosition

SelectObjectsAction.MouseAction

Enumeration used in SelectObjectsAction.FilterMouseMessagesDelegate.

Delegates

ConstructAction.ActionDoneDelegate

Delegate for ActionDoneEvent.

ConstructAction.AngleInput.CalculateAngleDelegate

delegate definition for a custom method for the calculation of an angle.

ConstructAction.AngleInput.GetAngleDelegate

delegate definition for GetAngleEvent

ConstructAction.AngleInput.SetAngleDelegate

Delegate definition for the SetAngleEvent.

ConstructAction.BooleanInput.GetBooleanDelegate

Delegate definition for GetBooleanEvent

ConstructAction.BooleanInput.SetBooleanDelegate

Delegate definition for SetBooleanEvent

ConstructAction.CurveInput.CurveSelectionChangedDelegate

Delegate definition for CurveSelectionChangedEvent

ConstructAction.CurveInput.MouseOverCurvesDelegate

Delegate definition for MouseOverCurvesEvent

ConstructAction.DoubleInput.CalculateDoubleDelegate

Delegate definition for CalculateDoubleEvent

ConstructAction.DoubleInput.GetDoubleDelegate

Delegate definition for GetDoubleEvent

ConstructAction.DoubleInput.SetDoubleDelegate

Delegate definition for SetDoubleEvent

ConstructAction.GeoObjectInput.GeoObjectSelectionChangedDelegate

Delegate definition for

ConstructAction.GeoObjectInput.MouseOverGeoObjectsDelegate

Delegate definition for MouseOverGeoObjectsEvent

ConstructAction.GeoPointInput.GetGeoPointDelegate

Delegate definition for GetGeoPointEvent

ConstructAction.GeoPointInput.SetGeoPointDelegate

Delegate definition for SetGeoPointEvent

ConstructAction.GeoPointInput.SetGeoPointExDelegate

Delegate definition for SetGeoPointExEvent

ConstructAction.GeoVectorInput.CalculateGeoVectorDelegate

Delegate definition for the CalculateGeoVectorEvent.

ConstructAction.GeoVectorInput.GetGeoVectorDelegate

Delegate definitionn for GetGeoVectorEvent.

ConstructAction.GeoVectorInput.SetGeoVectorDelegate

Delegate definition for SetGeoVectorEvent

ConstructAction.IntInput.CalculateIntDelegate

Delegate definition for the CalculateIntEvent

ConstructAction.IntInput.GetIntDelegate

Delegate definition for the GetIntEvent

ConstructAction.IntInput.SetIntDelegate

Delegate definition of the SetIntEvent

ConstructAction.LengthInput.CalculateLengthDelegate

Delegate definition for CalculateLengthEvent

ConstructAction.LengthInput.GetLengthDelegate

Delegate definition for GetLengthEvent.

ConstructAction.LengthInput.SetLengthDelegate

Delegate definition for SetLengthEvent

ConstructAction.MouseClickDelegate

Delegate for mouse clickt of the Input objects

ConstructAction.MultipleChoiceInput.GetChoiceDelegate

delegate definition for the GetChoiceEvent

ConstructAction.MultipleChoiceInput.SetChoiceDelegate

Delegate definition for SetChoiceEvent

ConstructAction.PlaneInput.GetPlaneDelegate

Delegate definition for GetPlaneEvent

ConstructAction.PlaneInput.SetPlaneDelegate

Delegate definition for SetPlaneEvent

ConstructAction.StringInput.GetStringDelegate

Delegate definition for the GetStringEvent

ConstructAction.StringInput.SetStringDelegate

Delegate definition for the SetStringEvent

ConstructPlane.PlaneChangedDelegate

ConstructPlane2PointsDrawingPlane.PlaneChangedDelegate

ConstructPlaneOriginNormalPoint.PlaneChangedDelegate

FeedBackChangedDelegate

Delegate for the event indicating a change of an IFeedBack object.

GeneralAngleAction.CalculateAngleDelegate

GeneralGeoPointAction.ActionDoneDelegate

GeneralGeoPointAction.SetGeoPointDelegate

GeneralGeoVectorAction.SetGeoVectorDelegate

Type definition for SetGeoVectorEvent.

SelectObjectsAction.BeforeShowContextMenuDelegate

Method definition of the BeforeShowContextMenuEvent

SelectObjectsAction.ClickOnSelectedObjectDelegate

Method definition of the ClickOnSelectedObjectEvent

SelectObjectsAction.FilterDragListDelegate

Delegate definition for the FilterDragListEvent.

SelectObjectsAction.FilterMouseMessagesDelegate

Method declaration for the FilterMouseMessagesEvent.

SelectObjectsAction.SelectedObjectListChanged

Method definition for the SelectedObjectListChangedEvent.

In This Article
Back to top Generated by DocFX