CADability dotNET
Base class for construct actions.
The ConstructAction..::..LengthInput type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConstructAction..::..LengthInput(String) |
Constructs a LengthInput object.
| |
ConstructAction..::..LengthInput(String, Double) |
Constructs a LengthInput object with a start value
|
Methods
Name | Description | |
---|---|---|
AdjustHighlight | (Overrides ConstructAction..::..InputObject..::..AdjustHighlight()()()().) | |
ForceValue |
Forces the input object to the specified value. The input filed is updated accordingly.
| |
SetDistanceFromLine |
Sets the line as a basis for the calculation of the distance or length.
The calculated length is the distance of the mouseposition from this line
| |
SetDistanceFromPlane |
Sets the given plane as a basis for the calculation of the distance or length.
The calculated length is the distance of the mouseposition from this plane.
| |
SetDistanceFromPoint |
Sets the point as a basis for the calculation of the distance or length.
The calculated length is the distance of the mouseposition from this point.
|
Properties
Name | Description | |
---|---|---|
DefaultLength |
Sets a DefaultLength, which should be a static value, that carries the last
input value of this length to the next instantiation of the action.
| |
ForwardMouseInputTo |
Mouse input should be forwarded to another input object and only processed
by this input, when the other input object is fixed.
| |
ReadOnly |
true: this input field does not accept user input,
false: normal input field that requires user input
(Overrides ConstructAction..::..InputObject..::..ReadOnly.) |
Events
Name | Description | |
---|---|---|
CalculateLengthEvent |
Provide a method here, if you want to calculate the length yourself, i.e. if distance
from point, line or plane is not appropriate to your needs.
| |
GetLengthEvent |
Provide a method here, if the length not only depends from this input, but is also
modified by other means.
| |
MouseClickEvent |
Event that is fired when a mousclick happens and this input has the focus.
| |
SetLengthEvent |
Provide a method here to get the result of this input (and modify your object)
|