DK11 for Delphi | FMX.GisControlLegend.TGIS_ControlLegend | Classes | Constructors | Methods | Properties | Events
Visual Legend component.
Available also on: .NET WinForms | Java | ActiveX.
// Delphi type [ComponentPlatformsAttribute(pidAllPlatforms)] TGIS_ControlLegend = class( TTreeView, IGIS_Subscribe, IGIS_PrintableControl ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_ControlLegend : public TTreeView { };
→ TTreeView
Name | Visibility | Description | |
---|---|---|---|
Create | public | Constructor, creates an instance. | |
Destroy | public | Destructor, destroys the instance. | |
Name | Visibility | Description | |
---|---|---|---|
AniMouseMove | protected | Overrides default action for the control scroll action. | |
Collapse(IGIS_HierarchyGroup) | public | Collapses a legend item corresponding to a hierarchy group. | |
Collapse(IGIS_HierarchyGroup; Boolean; Boolean) | public | Collapses a legend item corresponding to a hierarchy group. | |
Collapse(TGIS_Layer) | public | Collapses a legend item corresponding to a layer. | |
CreateCopy | public | Prepare a copy of the control for printing. (Implements IGIS_PrintableControl.CreateCopy) |
|
DrawBmp | public | Draw control on a provided bitmap. | |
Expand(IGIS_HierarchyGroup) | public | Expands of a legend item corresponding to a hierarchy group. | |
Expand(IGIS_HierarchyGroup; Boolean; Boolean) | public | Expands a legend item corresponding to a hierarchy group. | |
Expand(TGIS_Layer) | public | Expands a legend item corresponding to a layer. | |
FreeCopy | public | Release the copy of the control. (Implements IGIS_PrintableControl.FreeCopy) |
|
InvalidateItems | public | Forces invalidation of all the legend items. | |
IsExpanded(IGIS_HierarchyGroup) | public | Checks if the legend item associated with the specific hierarchy group is expanded. | |
IsExpanded(TGIS_Layer) | public | Checks if the legend item associated with the specific layer is expanded. | |
KeyDown | protected | Overrides the default KeyDown event behaviour. | |
makeSelection | protected | Node selection mechanism. | |
MouseDown | protected | Overrides the default MouseDown event behaviour. | |
MouseMove | protected | Overrides the default MouseMove event behaviour. | |
MouseUp | protected | Overrides the default MouseUp event behaviour. | |
PrintBmp | public | Print the control on the given bitmap. (Implements IGIS_PrintableControl.PrintBmp) |
|
PrintClipboard | public | Prints the current state of the legend to the clipboard as a bitmap. | |
SubscribedEvent | public | An event called automatically by the attached TGIS_ViewerWnd whenever there is a need to update the legend. (Implements IGIS_Subscribe.SubscribedEvent) |
|
TapDouble | protected | Event handler of the double tap action. | |
TapLong | protected | Event handler of the long tap action. | |
TapSingle | protected | Event handler of the single tap action. | |
Unlock | public | Unlocks the control. | |
Name | Visibility | Description | |
---|---|---|---|
CompactView | published | If True then the legend view is compacted - icons are smaller. | |
DialogOptions | published | Options defining dialogs behavior. | |
Font | published | Display font. | |
FontColor | published | Display font. | |
GIS_Group | public | Selected group. | |
GIS_Layer | public | Selected layer. | |
GIS_Viewer | published | Attached TGIS_ViewerWnd control. | |
InternalName | public | Used for internal use of TatukGIS. (Inherited from IGIS_PrintableControl) |
|
Mode | published | Mode of the legend - list of layers or grouped tree view. | |
Options | published | Options of the legend. | |
ReverseOrder | published | True if the order of legend entries in the Layer mode should be reverse, i.e. | |
StyledSettings | published | Set of styled text representation properties. | |
Name | Visibility | Description | |
---|---|---|---|
LayerActiveChangeEvent | published | Event fired when a layer is activated/deactivated. | |
LayerParamsChangeEvent | published | Event fired when a layer parameters get changed. | |
LayerSelectEvent | published | Event fired upon layer selection. | |
OpenDialogEvent | published | Event fired upon opening of the layer properties dialog box. | |
OrderChangeEvent | published | Event fired upon the change of the order of layers. | |
TapDoubleEvent | published | TapDouble event. | |
TapLongEvent | published | TapLong event. | |
TapSimpleEvent | published | TapSimple event. | |
Place this component on a form and connect GIS_Viewer to TGIS_ViewerWnd. Selected layer is available via GIS_Layer property.