public class TLcdS52Style extends Object implements ILcdS52Style
DISPLAYBASE, MARINERS_OTHER, MARINERS_STANDARD, OTHER, STANDARD
Constructor and Description |
---|
TLcdS52Style() |
TLcdS52Style(ILcdS52Style aStyle)
Creates a new
TLcdS52Style which is a copy (not a deep copy)
of the given IlcdS52Style . |
Modifier and Type | Method and Description |
---|---|
int |
getConditionalProcedure()
Gets the code of the conditional procedure.
|
int |
getDisplayCategory()
Gets the display category of the object.
|
int |
getDisplayPriority()
Gets the display priority of the object.
|
String[] |
getIconRotations()
Gets the rotations of the icons.
|
ILcdIcon[] |
getIcons()
Gets the icons (for point objects).
|
ILcdS52FillStyle |
getS52FillStyle()
Gets the fill style (for area objects).
|
ILcdS52LineStyle |
getS52LineStyle()
Gets the line style (for line and area objects).
|
ILcdS52Text |
getS52Text()
Gets the style's text.
|
ILcdS52Text[] |
getS52Texts()
Returns all texts applied as part of this style.
|
double |
getScamin()
Returns the minimum scale at which objects using this style should be drawn.
|
int |
getViewingGroup()
Gets the viewing group.
|
boolean |
isConditional()
Returns whether the style is conditional, meaning that it depends on the
preferences of the user.
|
boolean |
isOverRadar()
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 |
setIcons(ILcdIcon[] aIcon)
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.
|
public TLcdS52Style()
public TLcdS52Style(ILcdS52Style aStyle)
TLcdS52Style
which is a copy (not a deep copy)
of the given IlcdS52Style
.aStyle
- public boolean isConditional()
ILcdS52Style
isConditional
in interface ILcdS52Style
public void setConditional(boolean aConditional)
public int getConditionalProcedure()
ILcdS52Style
getConditionalProcedure
in interface ILcdS52Style
ILcdS52ConditionalSymbology.CLRLIN01
,...public void setConditionalProcedure(int aConditionalProcedure)
public void setS52LineStyle(ILcdS52LineStyle aLineStyle)
ILcdS52Style
setS52LineStyle
in interface ILcdS52Style
public ILcdS52LineStyle getS52LineStyle()
ILcdS52Style
getS52LineStyle
in interface ILcdS52Style
public ILcdS52FillStyle getS52FillStyle()
ILcdS52Style
getS52FillStyle
in interface ILcdS52Style
public void setS52FillStyle(ILcdS52FillStyle aFillStyle)
ILcdS52Style
setS52FillStyle
in interface ILcdS52Style
public ILcdS52Text getS52Text()
ILcdS52Style
getS52Text
in interface ILcdS52Style
public void setS52Text(ILcdS52Text aText)
ILcdS52Style
setS52Text
in interface ILcdS52Style
public ILcdS52Text[] getS52Texts()
public void setS52Texts(ILcdS52Text[] aTexts)
aTexts
- the texts to be applied as part of this style.public ILcdIcon[] getIcons()
ILcdS52Style
getIcons
in interface ILcdS52Style
public void setIcons(ILcdIcon[] aIcon)
ILcdS52Style
setIcons
in interface ILcdS52Style
public String[] getIconRotations()
ILcdS52Style
getIconRotations
in interface ILcdS52Style
public void setIconRotations(String[] aIconRotation)
ILcdS52Style
setIconRotations
in interface ILcdS52Style
public int getDisplayPriority()
ILcdS52Style
getDisplayPriority
in interface ILcdS52Style
public void setDisplayPriority(int aDisplayPriority)
ILcdS52Style
setDisplayPriority
in interface ILcdS52Style
public int getDisplayCategory()
ILcdS52Style
getDisplayCategory
in interface ILcdS52Style
DISPLAYBASE
, STANDARD
,
OTHER
, MARINERS_STANDARD
, or
MARINERS_OTHER
.public void setDisplayCategory(int aDisplayCategory)
ILcdS52Style
setDisplayCategory
in interface ILcdS52Style
aDisplayCategory
- DISPLAYBASE
,
STANDARD
,
OTHER
,
MARINERS_STANDARD
, or
MARINERS_OTHER
.public boolean isOverRadar()
ILcdS52Style
isOverRadar
in interface ILcdS52Style
public void setOverRadar(boolean aOverRadar)
ILcdS52Style
setOverRadar
in interface ILcdS52Style
public int getViewingGroup()
ILcdS52Style
getViewingGroup
in interface ILcdS52Style
public void setViewingGroup(int aViewingGroup)
ILcdS52Style
setViewingGroup
in interface ILcdS52Style
public double getScamin()
ILcdS52Style
getScamin
in interface ILcdS52Style
denominator
at which objects using this style should be drawnpublic void setScamin(double aScamin)
ILcdS52Style
setScamin
in interface ILcdS52Style
aScamin
- the minimum scale denominator
at which objects using this style should be drawn