CADability dotNET
The GeoPointProperty type exposes the following members.
Constructors
Name | Description | |
---|---|---|
GeoPointProperty(String, IFrame, Boolean) |
Constructs a GeoPointProperty object which communicates with the events SetGeoPointEvent
and GetGeoPointEvent with the owner of the GeoPoint, which is represented here.
You must provide event handlers for these two events.
| |
GeoPointProperty(Object, String, String, IFrame, Boolean) |
Constructs a ne GeoPointProperty which communicates with the owner of the GeoPoint via reflection
(and not via events). The ObjectWithPoint and PropertyName specify an object
and a property of that object to get and set the GeoPoint. PropertyName must be a public property
and provide both get and set access. The name is case sensitive. There is no need to provide methods for the events SetGeoPointEvent
and GetGeoPointEvent.
|
Methods
Name | Description | |
---|---|---|
Added |
Overrides Added(IPropertyTreeView) (Overrides IShowPropertyImpl..::..Added(IPropertyTreeView).) | |
FocusableControls |
Overrides FocusableControls()()()()
Returns the controls of this IShowProperty that can get the focus.
(Overrides IShowPropertyImpl..::..FocusableControls()()()().) | |
GetContextMenu |
Overrides GetContextMenu()()()(),
returns a context menu when ContextMenuId was set accordingly,
default value is "MenuId.Point"
(see LoadContextMenu(String, ICommandHandler))
(Overrides IShowPropertyImpl..::..GetContextMenu()()()().) | |
GetGeoPoint |
Usually you dont need this method. It gets the GeoPoint by raising the GetGeoPointEvent event
or by calling the specified property via reflection.
| |
GetValueControl |
Overrides GetValueControl(Int32, Int32),
returns the control on the right hand side of this ShowProperty
which is a edit box in this case.
(Overrides IShowPropertyImpl..::..GetValueControl(Int32, Int32).) | |
LabelChanged |
Overrides LabelChanged(String)
raises the LabelChangedEvent.
(Overrides IShowPropertyImpl..::..LabelChanged(String).) | |
OnSpecialKey | (Overrides IShowPropertyImpl..::..OnSpecialKey(IShowProperty, KeyEventArgs).) | |
Refresh |
Refreshes the display of the GeoPoint. The GeoPointProperty tries to get the new value
via reflection or event and displays the new value.
(Overrides IShowPropertyImpl..::..Refresh()()()().) | |
Removed |
Overrides Removed(IPropertyTreeView) (Overrides IShowPropertyImpl..::..Removed(IPropertyTreeView).) | |
Selected |
Overrides Selected()()()() (Overrides IShowPropertyImpl..::..Selected()()()().) | |
SetFocus |
Overrides SetFocus()()()()
Sets the focus to the edit box.
(Overrides IShowPropertyImpl..::..SetFocus()()()().) | |
SetGeoPoint |
Usually you dont need this method. It sets the GeoPoint by raising the SetGeoPointEvent event
or by calling the specified property via reflection. The display is not refreshed. If the GeoPoint is changed
by some other means than user input, call Refresh()()()() and provide the new value in the event handler of the property.
| |
UnSelected |
Overrides UnSelected()()()() (Overrides IShowPropertyImpl..::..UnSelected()()()().) |
Fields
Name | Description | |
---|---|---|
InputFromSubEntries | ||
LabelIsEditable |
Gets or sets whether the label may be edited. When set to true you should provide a
handler for the LabelChangedEvent, to be notified about when the user
entered some other label text. Use the LabelText property to set the modified text.
|
Properties
Name | Description | |
---|---|---|
ContextMenuId |
Gets or sets the id of the context menu, which is used for this GeoPointProperty.
Overrides the default context menu id of "MenuId.Point"
| |
EntryType |
Overrides EntryType,
returns GroupTitle.
(Overrides IShowPropertyImpl..::..EntryType.) | |
ForceAbsolute |
Usually the GeoPoint is presented in the local or absolute coordinate system, according to the global setting.
With this property you can force the GeoPointProperty to always use the global coordinate system.
| |
Highlight | ||
LabelText |
Gets or sets the text displayed in the label of this IShowProperty. The default label is set by the
resourceId. Use this property if you set LabelIsEditable to true.
(Overrides IShowPropertyImpl..::..LabelText.) | |
LabelType |
Overrides LabelType (Overrides IShowPropertyImpl..::..LabelType.) | |
PrependContextMenu |
Sets a additional conext menu which prepends the context menu of this GeoPointProperty.
This context menu is merged into the existing context menu of this GeoPointProperty.
| |
ReadOnly |
Sets or gets the read only setting of this object. If ReadOnly is true, the user cannot modify
the represented GeoPoint.
(Overrides IShowPropertyImpl..::..ReadOnly.) | |
SubEntries |
Overrides SubEntries,
returns the subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntries.) | |
SubEntriesCount |
Overrides SubEntriesCount,
returns the number of subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntriesCount.) | |
UserData |
Implements UserData()()()(). Returns the userdata object of this GeoPointProperty.
| |
X |
Only used internally, must be public because of reflection, do not use
| |
Y |
Only used internally, must be public because of reflection, do not use
| |
Z |
Only used internally, must be public because of reflection, do not use
|
Events
Name | Description | |
---|---|---|
FilterCommandEvent |
When a context menue is selected or about to popup this event is raised to allow a
consumer to process the command instead of this GeoPointProperty object itself.
Provide a handler here if you want to process some or all menu commands.
| |
GetGeoPointEvent |
This GeoPointProperty..::..GetGeoPointDelegate event will be raised when the display needs to know the
current value of the represented GeoPoint. To force a Refresh of the displayed value call Refresh()()()().
| |
LabelChangedEvent |
A GeoPointProperty..::..LabelChangedDelegate event the notifies about a change of the label text.
Will only be raised when LabelIsEditable is true.
| |
ModifiedByActionEvent |
This GeoPointProperty..::..ModifiedByActionDelegate event will be raised when the GeoPoint was modified by
some Action. ( The SetGeoPointEvent will also be raised or the property will be set)
| |
ModifyWithMouseEvent |
Will be called when the user wants to modify the controlled GeoPoint by mouse input
and "autoModifyWithMouse" was not set true in the constructor.
| |
SelectionChangedEvent |
This GeoPointProperty..::..SelectionChangedDelegate event will be raised when this GeoPointProperty
gets selected (the user clicks on the label or forwards the focus by pressing the tab key) or unselected.
| |
SetGeoPointEvent |
This GeoPointProperty..::..SetGeoPointDelegate event will be raised when the GeoPoint has been changed by the user
(by entering some data with the keyboard or by other interactive means) and when event communication
is set by the appropriate constructor (as opposed to communication via reflection)
|