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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
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.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
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
setScamin
(double aScamin) Sets the minimum scale at which objects using this style should be drawn.void
setViewingGroup
(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
denominator
at 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 scaledenominator
at which objects using this style should be drawn
-