DK11 for Java | tatukgis.jdk.TGIS_ControlScale | Classes | Constructors | Methods | Properties | Events
Visual control for displaying map scale.
Available also on: Delphi FMX | .NET WinForms | ActiveX | Python.
// Java public class TGIS_ControlScale extends JComponent implements IGIS_Subscribe, IGIS_PrintableControl { };
// Oxygene type TGIS_ControlScale = public class( JComponent, IGIS_Subscribe, IGIS_PrintableControl ) end;
→ JComponent
Name | Visibility | Description | |
---|---|---|---|
TGIS_ControlScale() | public | Create the control. | |
Name | Visibility | Description | |
---|---|---|---|
CreateCopy | public | Prepare a copy of the control for printing. (Implements IGIS_PrintableControl.CreateCopy) |
|
doCreate | protected | Create form. | |
Draw | public | Draw scale. | |
DrawBmp | public | Draw control on a provided bitmap. | |
FreeCopy | public | Release the copy of the control. (Implements IGIS_PrintableControl.FreeCopy) |
|
paintComponent | protected | ||
PrintBmp | public | Print the control on the given bitmap. (Implements IGIS_PrintableControl.PrintBmp) |
|
PrintClipboard | public | Print control on the clipboard. | |
SubscribedEvent | public | Subscriber notification event. (Implements IGIS_Subscribe.SubscribedEvent) |
|
update | public | Update the control. | |
Name | Visibility | Description | |
---|---|---|---|
Bitmap | public | Bitmap. Valid only if control was created by Create with a parameter. | |
DividerColor1 | public | Color of the first divider. | |
DividerColor2 | public | Color of the second divider. | |
Dividers | public | Number of dividers. | |
GIS_Viewer | public | Attached viewer. | |
Glow | public | Draw "glowing" shadow around scale. | |
InternalName | public | Used for internal use of TatukGIS. (Implements IGIS_PrintableControl.InternalName) |
|
Transparent | public | If True then control will be drawn as transparent. | |
Units | public | Units used for scale output. | |
UnitsEPSG | public | Units EPSG code for scale output. | |
Visible | public | Turn control on/off. | |
Name | Visibility | Description | |
---|---|---|---|
PrepareEvent | public | Event fired before calculating scale. | |
Place this component on a form and connect GIS_Viewer to TGIS_ViewerWnd.
Based on TGIS_Viewer.CS units settings the component will try to compute the scale.