Package com.luciad.format.vpf
Class TLcdVPFGeoSymProvider
java.lang.Object
com.luciad.format.vpf.TLcdVPFGeoSymProvider
- All Implemented Interfaces:
com.luciad.internal.format.vpf.ILcdVPFStyleProvider
public class TLcdVPFGeoSymProvider
extends Object
implements com.luciad.internal.format.vpf.ILcdVPFStyleProvider
Used internally to retrieve a set of rules on how to represent VPF data using the GeoSym
symbology. In order for your application to find the necessary files needed for this, you can
either place them in the classpath (see manual) or set absolute or relative paths to them with
static methods defined in this class.
-
Method Summary
Modifier and TypeMethodDescriptiongetAreaFillIcon
(ILcdVPFFACCFeature aFeature) Returns aTLcdVectorIcon
; itsgetDefaultLineColor()
method returns the GeoSym color that is used to represent the filled area of this feature.String[]
getAreaFillSymbolIds
(ILcdVPFFACCFeature aFeature) Returns an array containing the fill symbol id's for all GeoSym rules that match the given area feature.getAreaLineIcon
(ILcdVPFFACCFeature aFeature) Returns aTLcdVectorIcon
; itsgetDefaultLineColor()
method returns the GeoSym color that is used to represent the outline of this feature.String[]
getAreaLineSymbolIds
(ILcdVPFFACCFeature aFeature) Returns an array containing the line symbol id's for all GeoSym rules that match the given area feature.getAreaPointIcon
(ILcdVPFFACCFeature aFeature) String[]
getAreaPointSymbolIds
(ILcdVPFFACCFeature aFeature) Returns an array containing the point symbol id's for all GeoSym rules that match the given area feature.static TLcdVPFGeoSymProvider
getInstance
(String aGeoSymProductId) Returns aTLcdVPFGeoSymProvider
instance, initialized with the given GeoSym style for the given product type.getLineIcon
(ILcdVPFFACCFeature aFeature) Returns aTLcdVectorIcon
; itsgetDefaultLineColor()
method returns the GeoSym color that is used to represent this feature.String[]
getLineSymbolIds
(ILcdVPFFACCFeature aFeature) Returns an array containing the symbol id's for all GeoSym rules that match the given line feature.getPointIcon
(ILcdVPFFACCFeature aFeature) Returns the GeoSym icon that is used to represent the given FACC feature.String[]
getPointSymbolIds
(ILcdVPFFACCFeature aFeature) Returns an array containing the symbol id's for all GeoSym rules that match the given point feature.static void
setAttexpPath
(String aAttexpPath) Sets the location of the ATTEXP.TXT file.static void
setClassTrace
(boolean aClassTrace) Enables logging on all instances of this class.static void
setCodePath
(String aCodePath) Sets the location of the CODE.TXT file.static void
setColorPath
(String aColorPath) Sets the location of the COLOR.TXT file.static void
setFullSymPath
(String aFullSymPath) Sets the location of the FULLSYM.TXT file.static void
setIconPath
(String aIconPath) Sets the location of the IMS icons (the directory in which all icons are found).static void
setTextPath
(String aTextPath) Sets the location of the TEXT.TXT file.
-
Method Details
-
setClassTrace
public static void setClassTrace(boolean aClassTrace) Enables logging on all instances of this class.- Parameters:
aClassTrace
- boolean indicating whether logging should be enabled for instances of this class.
-
setFullSymPath
Sets the location of the FULLSYM.TXT file. This location is ignored when using a Geosym version other than 1.4.- Parameters:
aFullSymPath
- The location of the FULLSYM.TXT file.
-
setAttexpPath
Sets the location of the ATTEXP.TXT file.- Parameters:
aAttexpPath
- The location of the ATTEXP.TXT file.
-
setCodePath
Sets the location of the CODE.TXT file.- Parameters:
aCodePath
- The location of the CODE.TXT file.
-
setTextPath
Sets the location of the TEXT.TXT file.- Parameters:
aTextPath
- The location of the TEXT.TXT file.
-
setColorPath
Sets the location of the COLOR.TXT file.- Parameters:
aColorPath
- The location of the COLOR.TXT file.
-
setIconPath
Sets the location of the IMS icons (the directory in which all icons are found).- Parameters:
aIconPath
- The location of the IMS icons, terminated by a separator character (for example '/').
-
getInstance
Returns aTLcdVPFGeoSymProvider
instance, initialized with the given GeoSym style for the given product type.- Parameters:
aGeoSymProductId
- the GeoSym product type for which to return a GeoSym provider.- Returns:
- a
TLcdVPFGeoSymProvider
instance, initialized with the given GeoSym style for the given product type.
-
getPointIcon
Returns the GeoSym icon that is used to represent the given FACC feature.- Specified by:
getPointIcon
in interfacecom.luciad.internal.format.vpf.ILcdVPFStyleProvider
- Parameters:
aFeature
- the VPF feature for which to return a style- Returns:
- an icon representing the given feature, or
null
if no icon is available for the given feature.
-
getLineIcon
Returns aTLcdVectorIcon
; itsgetDefaultLineColor()
method returns the GeoSym color that is used to represent this feature.- Specified by:
getLineIcon
in interfacecom.luciad.internal.format.vpf.ILcdVPFStyleProvider
- Parameters:
aFeature
- the VPF feature for which to return a style- Returns:
- an icon representing the given feature, or
null
if no icon is available for the given feature.
-
getAreaPointIcon
- Specified by:
getAreaPointIcon
in interfacecom.luciad.internal.format.vpf.ILcdVPFStyleProvider
-
getAreaLineIcon
Returns aTLcdVectorIcon
; itsgetDefaultLineColor()
method returns the GeoSym color that is used to represent the outline of this feature.- Specified by:
getAreaLineIcon
in interfacecom.luciad.internal.format.vpf.ILcdVPFStyleProvider
- Parameters:
aFeature
- the VPF feature for which to return a style- Returns:
- an icon representing the given feature, or
null
if no icon is available for the given feature.
-
getAreaFillIcon
Returns aTLcdVectorIcon
; itsgetDefaultLineColor()
method returns the GeoSym color that is used to represent the filled area of this feature.- Specified by:
getAreaFillIcon
in interfacecom.luciad.internal.format.vpf.ILcdVPFStyleProvider
- Parameters:
aFeature
- the VPF feature for which to return a style- Returns:
- an icon representing the given feature, or
null
if no icon is available for the given feature.
-
getPointSymbolIds
Returns an array containing the symbol id's for all GeoSym rules that match the given point feature.- Parameters:
aFeature
- a point feature for which to retrieve symbols id's.- Returns:
- an array with all GeoSym symbol id's for the given point feature, or
null
if none were found.
-
getLineSymbolIds
Returns an array containing the symbol id's for all GeoSym rules that match the given line feature.- Parameters:
aFeature
- a line feature for which to retrieve symbols id's.- Returns:
- an array with all GeoSym symbol id's for the given line feature, or
null
if none were found.
-
getAreaPointSymbolIds
Returns an array containing the point symbol id's for all GeoSym rules that match the given area feature.- Parameters:
aFeature
- a area feature for which to retrieve point symbols id's.- Returns:
- an array with all GeoSym point symbol id's for the given area feature, or
null
if none were found.
-
getAreaLineSymbolIds
Returns an array containing the line symbol id's for all GeoSym rules that match the given area feature.- Parameters:
aFeature
- a area feature for which to retrieve line symbols id's.- Returns:
- an array with all GeoSym line symbol id's for the given area feature, or
null
if none were found.
-
getAreaFillSymbolIds
Returns an array containing the fill symbol id's for all GeoSym rules that match the given area feature.- Parameters:
aFeature
- a area feature for which to retrieve fill symbols id's.- Returns:
- an array with all GeoSym fill symbol id's for the given area feature, or
null
if none were found.
-