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
ConstructorsConstructorDescriptionTLcdS52Style(ILcdS52Style aStyle) Creates a newTLcdS52Stylewhich is a copy (not a deep copy) of the givenIlcdS52Style. -
Method Summary
Modifier and TypeMethodDescriptionintGets the code of the conditional procedure.intGets the display category of the object.intGets 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.doubleReturns the minimum scale at which objects using this style should be drawn.intGets the viewing group.booleanReturns whether the style is conditional, meaning that it depends on the preferences of the user.booleanReturns whether objects with this style should be drawn on top of the radar.voidsetConditional(boolean aConditional) voidsetConditionalProcedure(int aConditionalProcedure) voidsetDisplayCategory(int aDisplayCategory) Sets the display category of the object.voidsetDisplayPriority(int aDisplayPriority) Sets the display priority of the object.voidsetIconRotations(String[] aIconRotation) Sets the rotations of the icons.voidSets the icons (for point objects).voidsetOverRadar(boolean aOverRadar) Sets whether objects with this style should be drawn on top of the radar.voidsetS52FillStyle(ILcdS52FillStyle aFillStyle) Sets the fill style (for area objects).voidsetS52LineStyle(ILcdS52LineStyle aLineStyle) Sets the line style (for line and area objects).voidsetS52Text(ILcdS52Text aText) Sets the style's text.voidsetS52Texts(ILcdS52Text[] aTexts) Sets the texts to be applied as part of this style.voidsetScamin(double aScamin) Sets the minimum scale at which objects using this style should be drawn.voidsetViewingGroup(int aViewingGroup) Sets the viewing group.
-
Constructor Details
-
TLcdS52Style
public TLcdS52Style() -
TLcdS52Style
Creates a newTLcdS52Stylewhich is a copy (not a deep copy) of the givenIlcdS52Style.- Parameters:
aStyle-
-
-
Method Details
-
isConditional
public boolean isConditional()Description copied from interface:ILcdS52StyleReturns whether the style is conditional, meaning that it depends on the preferences of the user.- Specified by:
isConditionalin interfaceILcdS52Style
-
setConditional
public void setConditional(boolean aConditional) -
getConditionalProcedure
public int getConditionalProcedure()Description copied from interface:ILcdS52StyleGets the code of the conditional procedure.- Specified by:
getConditionalProcedurein interfaceILcdS52Style- Returns:
- One of
ILcdS52ConditionalSymbology.CLRLIN01,...
-
setConditionalProcedure
public void setConditionalProcedure(int aConditionalProcedure) -
setS52LineStyle
Description copied from interface:ILcdS52StyleSets the line style (for line and area objects).- Specified by:
setS52LineStylein interfaceILcdS52Style
-
getS52LineStyle
Description copied from interface:ILcdS52StyleGets the line style (for line and area objects).- Specified by:
getS52LineStylein interfaceILcdS52Style
-
getS52FillStyle
Description copied from interface:ILcdS52StyleGets the fill style (for area objects).- Specified by:
getS52FillStylein interfaceILcdS52Style
-
setS52FillStyle
Description copied from interface:ILcdS52StyleSets the fill style (for area objects).- Specified by:
setS52FillStylein interfaceILcdS52Style
-
getS52Text
Description copied from interface:ILcdS52StyleGets the style's text.- Specified by:
getS52Textin interfaceILcdS52Style
-
setS52Text
Description copied from interface:ILcdS52StyleSets the style's text.- Specified by:
setS52Textin 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:ILcdS52StyleGets the icons (for point objects).- Specified by:
getIconsin interfaceILcdS52Style
-
setIcons
Description copied from interface:ILcdS52StyleSets the icons (for point objects).- Specified by:
setIconsin interfaceILcdS52Style
-
getIconRotations
Description copied from interface:ILcdS52StyleGets the rotations of the icons.- Specified by:
getIconRotationsin interfaceILcdS52Style
-
setIconRotations
Description copied from interface:ILcdS52StyleSets the rotations of the icons.- Specified by:
setIconRotationsin interfaceILcdS52Style
-
getDisplayPriority
public int getDisplayPriority()Description copied from interface:ILcdS52StyleGets the display priority of the object.- Specified by:
getDisplayPriorityin interfaceILcdS52Style
-
setDisplayPriority
public void setDisplayPriority(int aDisplayPriority) Description copied from interface:ILcdS52StyleSets the display priority of the object.- Specified by:
setDisplayPriorityin interfaceILcdS52Style
-
getDisplayCategory
public int getDisplayCategory()Description copied from interface:ILcdS52StyleGets the display category of the object.- Specified by:
getDisplayCategoryin interfaceILcdS52Style- Returns:
- One of
DISPLAYBASE,STANDARD,OTHER,MARINERS_STANDARD, orMARINERS_OTHER.
-
setDisplayCategory
public void setDisplayCategory(int aDisplayCategory) Description copied from interface:ILcdS52StyleSets the display category of the object.- Specified by:
setDisplayCategoryin interfaceILcdS52Style- Parameters:
aDisplayCategory-DISPLAYBASE,STANDARD,OTHER,MARINERS_STANDARD, orMARINERS_OTHER.
-
isOverRadar
public boolean isOverRadar()Description copied from interface:ILcdS52StyleReturns whether objects with this style should be drawn on top of the radar.- Specified by:
isOverRadarin interfaceILcdS52Style
-
setOverRadar
public void setOverRadar(boolean aOverRadar) Description copied from interface:ILcdS52StyleSets whether objects with this style should be drawn on top of the radar.- Specified by:
setOverRadarin interfaceILcdS52Style
-
getViewingGroup
public int getViewingGroup()Description copied from interface:ILcdS52StyleGets the viewing group.- Specified by:
getViewingGroupin interfaceILcdS52Style
-
setViewingGroup
public void setViewingGroup(int aViewingGroup) Description copied from interface:ILcdS52StyleSets the viewing group.- Specified by:
setViewingGroupin interfaceILcdS52Style
-
getScamin
public double getScamin()Description copied from interface:ILcdS52StyleReturns 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:
getScaminin interfaceILcdS52Style- Returns:
- the minimum scale
denominatorat which objects using this style should be drawn
-
setScamin
public void setScamin(double aScamin) Description copied from interface:ILcdS52StyleSets the minimum scale at which objects using this style should be drawn.- Specified by:
setScaminin interfaceILcdS52Style- Parameters:
aScamin- the minimum scaledenominatorat which objects using this style should be drawn
-