Package com.luciad.format.s52
Class TLcdS52Style
java.lang.Object
com.luciad.format.s52.TLcdS52Style
- All Implemented Interfaces:
ILcdS52Style
Implementation of ILcdS52Style.
-
Field Summary
Fields inherited from interface com.luciad.format.s52.ILcdS52Style
DISPLAYBASE, MARINERS_OTHER, MARINERS_STANDARD, OTHER, STANDARD
-
Constructor Summary
ConstructorDescriptionTLcdS52Style
(ILcdS52Style aStyle) Creates a newTLcdS52Style
which is a copy (not a deep copy) of the givenIlcdS52Style
. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the code of the conditional procedure.int
Gets the display category of the object.int
Gets the display priority of the object.String[]
Gets the rotations of the icons.ILcdIcon[]
getIcons()
Gets the icons (for point objects).Gets the fill style (for area objects).Gets the line style (for line and area objects).Gets the style's text.Returns all texts applied as part of this style.double
Returns the minimum scale at which objects using this style should be drawn.int
Gets the viewing group.boolean
Returns whether the style is conditional, meaning that it depends on the preferences of the user.boolean
Returns whether objects with this style should be drawn on top of the radar.void
setConditional
(boolean aConditional) void
setConditionalProcedure
(int aConditionalProcedure) void
setDisplayCategory
(int aDisplayCategory) Sets the display category of the object.void
setDisplayPriority
(int aDisplayPriority) Sets the display priority of the object.void
setIconRotations
(String[] aIconRotation) Sets the rotations of the icons.void
Sets the icons (for point objects).void
setOverRadar
(boolean aOverRadar) Sets whether objects with this style should be drawn on top of the radar.void
setS52FillStyle
(ILcdS52FillStyle aFillStyle) Sets the fill style (for area objects).void
setS52LineStyle
(ILcdS52LineStyle aLineStyle) Sets the line style (for line and area objects).void
setS52Text
(ILcdS52Text aText) Sets the style's text.void
setS52Texts
(ILcdS52Text[] aTexts) Sets the texts to be applied as part of this style.void
setScamin
(double aScamin) Sets the minimum scale at which objects using this style should be drawn.void
setViewingGroup
(int aViewingGroup) Sets the viewing group.
-
Constructor Details
-
TLcdS52Style
public TLcdS52Style() -
TLcdS52Style
Creates a newTLcdS52Style
which is a copy (not a deep copy) of the givenIlcdS52Style
.- Parameters:
aStyle
-
-
-
Method Details
-
isConditional
public boolean isConditional()Description copied from interface:ILcdS52Style
Returns whether the style is conditional, meaning that it depends on the preferences of the user.- Specified by:
isConditional
in interfaceILcdS52Style
-
setConditional
public void setConditional(boolean aConditional) -
getConditionalProcedure
public int getConditionalProcedure()Description copied from interface:ILcdS52Style
Gets the code of the conditional procedure.- Specified by:
getConditionalProcedure
in interfaceILcdS52Style
- Returns:
- One of
ILcdS52ConditionalSymbology.CLRLIN01
,...
-
setConditionalProcedure
public void setConditionalProcedure(int aConditionalProcedure) -
setS52LineStyle
Description copied from interface:ILcdS52Style
Sets the line style (for line and area objects).- Specified by:
setS52LineStyle
in interfaceILcdS52Style
-
getS52LineStyle
Description copied from interface:ILcdS52Style
Gets the line style (for line and area objects).- Specified by:
getS52LineStyle
in interfaceILcdS52Style
-
getS52FillStyle
Description copied from interface:ILcdS52Style
Gets the fill style (for area objects).- Specified by:
getS52FillStyle
in interfaceILcdS52Style
-
setS52FillStyle
Description copied from interface:ILcdS52Style
Sets the fill style (for area objects).- Specified by:
setS52FillStyle
in interfaceILcdS52Style
-
getS52Text
Description copied from interface:ILcdS52Style
Gets the style's text.- Specified by:
getS52Text
in interfaceILcdS52Style
-
setS52Text
Description copied from interface:ILcdS52Style
Sets the style's text.- Specified by:
setS52Text
in interfaceILcdS52Style
-
getS52Texts
Returns all texts applied as part of this style.- Returns:
- all texts applied as part of this style.
-
setS52Texts
Sets the texts to be applied as part of this style.- Parameters:
aTexts
- the texts to be applied as part of this style.
-
getIcons
Description copied from interface:ILcdS52Style
Gets the icons (for point objects).- Specified by:
getIcons
in interfaceILcdS52Style
-
setIcons
Description copied from interface:ILcdS52Style
Sets the icons (for point objects).- Specified by:
setIcons
in interfaceILcdS52Style
-
getIconRotations
Description copied from interface:ILcdS52Style
Gets the rotations of the icons.- Specified by:
getIconRotations
in interfaceILcdS52Style
-
setIconRotations
Description copied from interface:ILcdS52Style
Sets the rotations of the icons.- Specified by:
setIconRotations
in interfaceILcdS52Style
-
getDisplayPriority
public int getDisplayPriority()Description copied from interface:ILcdS52Style
Gets the display priority of the object.- Specified by:
getDisplayPriority
in interfaceILcdS52Style
-
setDisplayPriority
public void setDisplayPriority(int aDisplayPriority) Description copied from interface:ILcdS52Style
Sets the display priority of the object.- Specified by:
setDisplayPriority
in interfaceILcdS52Style
-
getDisplayCategory
public int getDisplayCategory()Description copied from interface:ILcdS52Style
Gets the display category of the object.- Specified by:
getDisplayCategory
in interfaceILcdS52Style
- Returns:
- One of
DISPLAYBASE
,STANDARD
,OTHER
,MARINERS_STANDARD
, orMARINERS_OTHER
.
-
setDisplayCategory
public void setDisplayCategory(int aDisplayCategory) Description copied from interface:ILcdS52Style
Sets the display category of the object.- Specified by:
setDisplayCategory
in interfaceILcdS52Style
- Parameters:
aDisplayCategory
-DISPLAYBASE
,STANDARD
,OTHER
,MARINERS_STANDARD
, orMARINERS_OTHER
.
-
isOverRadar
public boolean isOverRadar()Description copied from interface:ILcdS52Style
Returns whether objects with this style should be drawn on top of the radar.- Specified by:
isOverRadar
in interfaceILcdS52Style
-
setOverRadar
public void setOverRadar(boolean aOverRadar) Description copied from interface:ILcdS52Style
Sets whether objects with this style should be drawn on top of the radar.- Specified by:
setOverRadar
in interfaceILcdS52Style
-
getViewingGroup
public int getViewingGroup()Description copied from interface:ILcdS52Style
Gets the viewing group.- Specified by:
getViewingGroup
in interfaceILcdS52Style
-
setViewingGroup
public void setViewingGroup(int aViewingGroup) Description copied from interface:ILcdS52Style
Sets the viewing group.- Specified by:
setViewingGroup
in interfaceILcdS52Style
-
getScamin
public double getScamin()Description copied from interface:ILcdS52Style
Returns the minimum scale at which objects using this style should be drawn. This minimum scale has priority over the SCAMIN attribute contained in the object, except when Double.NaN is returned, in which case the value of the SCAMIN attribute should be used.- Specified by:
getScamin
in interfaceILcdS52Style
- Returns:
- the minimum scale
denominator
at which objects using this style should be drawn
-
setScamin
public void setScamin(double aScamin) Description copied from interface:ILcdS52Style
Sets the minimum scale at which objects using this style should be drawn.- Specified by:
setScamin
in interfaceILcdS52Style
- Parameters:
aScamin
- the minimum scaledenominator
at which objects using this style should be drawn
-