Package com.luciad.format.s52
Interface ILcdS52Style
- All Known Implementing Classes:
TLcdS52Style
public interface ILcdS52Style
Interface containing all the methods to set and retrieve the representation
of an S-57 object according to the S-52 standard.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
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.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.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.voidsetScamin(double aScamin) Sets the minimum scale at which objects using this style should be drawn.voidsetViewingGroup(int aViewingGroup) Sets the viewing group.
-
Field Details
-
DISPLAYBASE
static final int DISPLAYBASE- See Also:
-
STANDARD
static final int STANDARD- See Also:
-
OTHER
static final int OTHER- See Also:
-
MARINERS_STANDARD
static final int MARINERS_STANDARD- See Also:
-
MARINERS_OTHER
static final int MARINERS_OTHER- See Also:
-
-
Method Details
-
isConditional
boolean isConditional()Returns whether the style is conditional, meaning that it depends on the preferences of the user. -
getConditionalProcedure
int getConditionalProcedure()Gets the code of the conditional procedure.- Returns:
- One of
ILcdS52ConditionalSymbology.CLRLIN01,...
-
getS52LineStyle
ILcdS52LineStyle getS52LineStyle()Gets the line style (for line and area objects). -
setS52LineStyle
Sets the line style (for line and area objects). -
getS52FillStyle
ILcdS52FillStyle getS52FillStyle()Gets the fill style (for area objects). -
setS52FillStyle
Sets the fill style (for area objects). -
getS52Text
ILcdS52Text getS52Text()Gets the style's text. -
setS52Text
Sets the style's text. -
getIcons
ILcdIcon[] getIcons()Gets the icons (for point objects). -
setIcons
Sets the icons (for point objects). -
getIconRotations
String[] getIconRotations()Gets the rotations of the icons. -
setIconRotations
Sets the rotations of the icons. -
getDisplayPriority
int getDisplayPriority()Gets the display priority of the object. -
setDisplayPriority
void setDisplayPriority(int aDisplayPriority) Sets the display priority of the object. -
getDisplayCategory
int getDisplayCategory()Gets the display category of the object.- Returns:
- One of
DISPLAYBASE,STANDARD,OTHER,MARINERS_STANDARD, orMARINERS_OTHER.
-
setDisplayCategory
void setDisplayCategory(int aDisplayCategory) Sets the display category of the object.- Parameters:
aDisplayCategory-DISPLAYBASE,STANDARD,OTHER,MARINERS_STANDARD, orMARINERS_OTHER.
-
isOverRadar
boolean isOverRadar()Returns whether objects with this style should be drawn on top of the radar. -
setOverRadar
void setOverRadar(boolean aOverRadar) Sets whether objects with this style should be drawn on top of the radar. -
getViewingGroup
int getViewingGroup()Gets the viewing group. -
setViewingGroup
void setViewingGroup(int aViewingGroup) Sets the viewing group. -
getScamin
double getScamin()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.- Returns:
- the minimum scale
denominatorat which objects using this style should be drawn
-
setScamin
void setScamin(double aScamin) Sets the minimum scale at which objects using this style should be drawn.- Parameters:
aScamin- the minimum scaledenominatorat which objects using this style should be drawn
-