CADability dotNET
Namespace for classes describing Actions. An Action is the concept of forwarding the mouse input to a certain class that handles it and provides user feedback.
Classes
Class | Description | |
---|---|---|
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:
| |
ActionException |
Exception Klasse für Ausnahmen bei der Aktionsverarbeitung.
Die Eigenschaft Message von System.Exception ist mit einem sinnvollen Text gesetzt.
| |
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 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(array<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
Interface | Description | |
---|---|---|
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.
|
Delegates
Enumerations
Enumeration | Description | |
---|---|---|
ConstrHatchInside..::..HatchMode | ||
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..::..MouseAction |
Enumeration used in SelectObjectsAction..::..FilterMouseMessagesDelegate.
|