Class ConstructAction.InputObject
Common base class for onput objects for the ConstructAction (see SetInput(Object[])
Inheritance
System.Object
ConstructAction.InputObject
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability.Actions
Assembly: CADability.dll
Syntax
public abstract class InputObject
Constructors
| Improve this Doc View SourceInputObject(String)
Constructor to set the resourceId for that input field
Declaration
protected InputObject(string resourceId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | resourceId |
Fields
| Improve this Doc View SourceconstructAction
Back reference to the ConstructAction this input is used for.
Declaration
protected ConstructAction constructAction
Field Value
| Type | Description |
|---|---|
| ConstructAction |
ResourceId
The string id for several text strings: ResourceId+".Label": the Label left of the edit box. ResourceId+".ShortInfo": a short tooltip text ResourceId+"DetailedInfo": a longer tooltip text.
Declaration
public string ResourceId
Field Value
| Type | Description |
|---|---|
| System.String |
Properties
| Improve this Doc View SourceFixed
If true, there already was an input either from the keyboard or by a mouse click.
Declaration
public bool Fixed { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
HasHotspot
Internal!
Declaration
protected virtual bool HasHotspot { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
HotspotPosition
Internal!
Declaration
protected virtual GeoPoint HotspotPosition { get; }
Property Value
| Type | Description |
|---|---|
| GeoPoint |
Optional
If set to true, the user cannot modify this intput with the mouse. Default: false;
Declaration
public virtual bool Optional { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ReadOnly
If set to true, the user cannot type in a value for this input. Default: false;
Declaration
public virtual bool ReadOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ShowProperty
Declaration
public IShowProperty ShowProperty { get; }
Property Value
| Type | Description |
|---|---|
| IShowProperty |
Methods
| Improve this Doc View SourceAcceptInput(Boolean)
Internal!
Declaration
protected virtual bool AcceptInput(bool acceptOptional)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | acceptOptional |
Returns
| Type | Description |
|---|---|
| System.Boolean | Internal! |
AdjustHighlight()
Declaration
protected virtual void AdjustHighlight()
BuildShowProperty()
Internal!
Declaration
protected virtual IShowProperty BuildShowProperty()
Returns
| Type | Description |
|---|---|
| IShowProperty | Internal! |
Init(ConstructAction)
Internal!
Declaration
protected virtual void Init(ConstructAction a)
Parameters
| Type | Name | Description |
|---|---|---|
| ConstructAction | a | a |
MouseLeft()
Internal!
Declaration
protected virtual void MouseLeft()
OnActionDone()
Internal!
Declaration
protected virtual void OnActionDone()
Refresh()
Internal!
Declaration
protected virtual void Refresh()