DK for Java | tatukgis.jdk.TGIS_Config | Classes | Constructors | Fields | Methods | Properties
Abstract wrapper for layer and project configuration content.
// Java public class TGIS_Config extends TGIS_ConfigAbstract { };
// Oxygene type TGIS_Config = public class( TGIS_ConfigAbstract ) end;
→ TGIS_BaseObjectDisposable → TGIS_ConfigAbstract
| Name | Visibility | Description | |
|---|---|---|---|
| TGIS_Config() | public | Creates a configuration wrapper for a layer or project file. | |
| Name | Visibility | Description | |
|---|---|---|---|
| FConfigFormat | protected | Actual config format. | |
| FConfigPath | protected | Path for config file. | |
| FMustSave | protected | True if config should be saved. | |
| FVersion | protected | Config version number. | |
| Name | Visibility | Description | |
|---|---|---|---|
| AbsolutePath | public | Computes an absolute path from a path relative to the configuration file. | |
| AddSubLayer | public | Adds a sublayer entry to the configuration. | |
| BuildProject | public | Builds project configuration content from the current viewer state. | |
| ClearActiveSection | public | Deletes elements related to the current active section. | |
| ClearGroups | public | Deletes group sections related to the selected group. | |
| ClearSave | public | Clears the | |
| ClearSections | public | Deletes sections related to the selected layer. | |
| ClearSubSections | public | Deletes subsections related to the selected layer. | |
| clearZones | protected | Clears all values stored for the named zone. | |
| GetStrings | public | Fills a string list with configuration content. | |
| Lock | public | Locks the configuration so MustSave is evaluated on Unlock. | |
| LockThread | public | Locks config operations to the current thread only. | |
| Read3DLayerType | public | Reads a 3D layer type value from the active section. | |
| ReadAlignment | public | Reads a label alignment value from the active section. | |
| ReadBasement | public | Reads a 3D basement type value from the active section. | |
| ReadBitmap | public | Reads a bitmap value from the active section. | |
| ReadBoolean | public | Reads a Boolean value from the active section. | |
| ReadChart | public | Reads a chart style value from the active section. | |
| ReadColor | public | Reads a color value from the active section. | |
| ReadColorInterpolationMode | public | Reads a color interpolation mode value from the active section. | |
| ReadColorRamp(java.lang.String, TGIS_ColorMap[]) | public | Reads a deprecated color ramp parameter by name. | |
| ReadColorRamp(java.lang.String, TGIS_GradientMap) | public | Reads a color ramp parameter by name. | |
| ReadCustomData | public | Reads values from a custom configuration section. | |
| readCustomParam | protected | Reads values from a custom configuration section. | |
| ReadDormant | public | Reads a layer dormant mode value from the active section. | |
| ReadFloat | public | Reads a floating-point value from the active section. | |
| ReadFontStyle | public | Reads a font style set from the active section. | |
| ReadGround | public | Reads a 3D ground type value from the active section. | |
| ReadHierarchyGroups | public | Reads hierarchy groups from the config. | |
| ReadInteger | public | Reads an integer value from the active section. | |
| ReadInterpretation | public | Reads a pixel interpretation value from the active section. | |
| ReadMarker | public | Reads a marker style value from the active section. | |
| ReadNormalized | public | Reads a 3D normalization type value from the active section. | |
| ReadOffsetPosition | public | Reads an offset position value from the active section. | |
| readParam | protected | Reads a configuration parameter from the active section. | |
| ReadPattern | public | Reads a brush pattern value from the active section. | |
| ReadPen | public | Reads a pen style value from the active section. | |
| ReadPosition | public | Reads a label position value from the active section. | |
| ReadSectionValues | public | Reads all values from the named section into a list. | |
| ReadString | public | Reads a string value from the active section. | |
| ReadSymbol | public | Reads a symbol value from the active section. | |
| ReadZone(java.lang.String, TGIS_PixelZoneListAbstract) | public | Reads zone values into a pixel-zone list. | |
| ReadZone(java.lang.String, TStringList) | public | Reads zone values into a string-based zone list. | |
| readZones(java.lang.String, TGIS_PixelZoneListAbstract) | protected | Reads zone values into a pixel-zone list. | |
| readZones(java.lang.String, TStringList) | protected | Reads zone values into a string-based zone list. | |
| RelativePath | public | Computes a path relative to the configuration file. | |
| Reread | public | Rereads configuration content from the underlying storage. | |
| Save | public | Saves the configuration content to the underlying storage. | |
| SetGroup | public | Selects the group whose configuration section will be used. | |
| SetGroupSection | public | Selects the active group section for subsequent operations. | |
| SetLayer | public | Selects the layer whose configuration section will be used. | |
| SetSection | public | Selects the active section for subsequent operations. | |
| SetStrings | public | Replaces configuration content with values parsed from a string list. | |
| SetSubLayer | public | Selects the sublayer whose configuration section will be used. | |
| SetSubSection | public | Selects the active subsection for subsequent operations. | |
| Unlock | public | Unlocks the configuration and evaluates the actual MustSave state. | |
| UnlockThread | public | Unlocks config operations previously locked by | |
| Write3DLayerType | public | Writes a 3D layer type value to the active section. | |
| WriteAlignment | public | Writes a label alignment value to the active section. | |
| WriteBasement | public | Writes a 3D basement type value to the active section. | |
| WriteBitmap | public | Writes a bitmap value to the active section. | |
| WriteBoolean | public | Writes a Boolean value to the active section. | |
| WriteChart | public | Writes a chart style value to the active section. | |
| WriteColor | public | Writes a color value to the active section. | |
| WriteColorInterpolationMode | public | Writes a color interpolation mode value to the active section. | |
| WriteColorRamp(java.lang.String, TGIS_ColorMap[], TGIS_ColorMap[]) | public | Writes a deprecated color ramp parameter by name. | |
| WriteColorRamp(java.lang.String, TGIS_GradientMap, TGIS_GradientMap) | public | Writes a color ramp parameter by name. | |
| WriteCustomData | public | Writes values to a custom configuration section. | |
| writeCustomParam | protected | Writes values to a custom configuration section. | |
| WriteDormant | public | Writes a layer dormant mode value to the active section. | |
| WriteFloat | public | Writes a floating-point value to the active section. | |
| WriteFontStyle | public | Writes a font style set to the active section. | |
| WriteGround | public | Writes a 3D ground type value to the active section. | |
| WriteHierarchyGroups | public | Writes hierarchy groups from the viewer to the configuration. | |
| WriteInteger | public | Writes an integer value to the active section. | |
| WriteInterpretation | public | Writes a pixel interpretation value to the active section. | |
| WriteMarker | public | Writes a marker style value to the active section. | |
| WriteNormalized | public | Writes a 3D normalization type value to the active section. | |
| WriteOffsetPosition | public | Writes an offset position parameter identified by | |
| writeParam | protected | Writes a configuration parameter to the active section. | |
| WritePattern | public | Writes a brush pattern value to the active section. | |
| WritePen | public | Writes a pen style value to the active section. | |
| WritePosition | public | Writes a label position value to the active section. | |
| WriteString | public | Writes a string value to the active section. | |
| WriteStyle | public | Writes a style value to the active section. | |
| WriteSymbol | public | Writes a symbol value to the active section. | |
| WriteZone(java.lang.String, TGIS_PixelZoneListAbstract, TGIS_PixelZoneListAbstract) | public | Writes zone values from a pixel-zone list. | |
| WriteZone(java.lang.String, TStringList, TStringList) | public | Writes zone values from a string-based zone list. | |
| writeZones(java.lang.String, TGIS_PixelZoneListAbstract, TGIS_PixelZoneListAbstract) | protected | Writes zone values from a pixel-zone list. | |
| writeZones(java.lang.String, TStringList, TStringList) | protected | Writes zone values from a string-based zone list. | |
| Name | Visibility | Description | |
|---|---|---|---|
| ConfigFormat | public | Gets the internal config format. | |
| FileName | public | Gets the configuration file name. | |
| IsProject | public | True if the config represents a project. | |
| IsShapeStyle | public | True if config is for shape style embedding. | |
| MustSave | public | True if the configuration has pending changes to save. | |
| PrjLayerConfig | public | Config file name without extension for the layer at a given index in a project file. | |
| PrjLayerName | public | Returns the name of the layer at the specified index in a project file. | |
| PrjLayerPath | public | Returns the path of the layer at the specified index in a project file. | |
| PrjLayersCount | public | Returns the number of layers defined in the project config file. | |
| Section | public | Overrides the current section used for config read and write operations. | |
| UseRelativePath | public | If True, file paths are saved relative to the config file location. | |
| Version | public | Gets the config version number. | |
| WriteFull | public | If True, all config keys are saved; otherwise only changed keys are saved. | |
PURPOSE: Provides a high-level API for reading, writing, and navigating TatukGIS configuration data for projects, layers, styles, custom sections, and zones.
BEHAVIOR: This class manages the current section context, typed parameter serialization, path conversion, change tracking, and project-building helpers. Low-level storage operations are abstract and must be implemented by descendants for a specific config format.
CONSTRAINTS: This is an abstract base class and cannot be used directly. Many typed read methods return the supplied default value when a parameter is missing or invalid.