Table of Contents

Class ConstructAction.MultiPointInput

Namespace
CADability.Actions
Assembly
CADability.dll

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.

public class ConstructAction.MultiPointInput : ConstructAction.InputObject, IIndexedGeoPoint
Inheritance
ConstructAction.MultiPointInput
Implements
Inherited Members

Constructors

MultiPointInput(IIndexedGeoPoint)

Creates a MultiPointInput object that communicates with the provided IIndexedGeoPoint interface.

public MultiPointInput(IIndexedGeoPoint forwardTo)

Parameters

forwardTo IIndexedGeoPoint

interface usually implemented by the ConstructAction derived class

Methods

SetError(string)

Shows errorMessage as an error on the entry of this input in the property page, e.g. when the value entered by the user is not acceptable for the action. The default implementation does nothing; inputs with an edit field forward the message to their property entry, inputs without one ignore it.

public override void SetError(string errorMessage)

Parameters

errorMessage string

The text to display, or an empty string to clear the error

Events

InputValueChangedEvent

Event will be rasied if the Length property changed

public event ConstructAction.MultiPointInput.InputValueChangedDelegate InputValueChangedEvent

Event Type

ConstructAction.MultiPointInput.InputValueChangedDelegate

MouseClickEvent

Event that is fired when a mousclick happens and this input has the focus.

public event ConstructAction.MouseClickDelegate MouseClickEvent

Event Type

ConstructAction.MouseClickDelegate