public class TLcdDGNMicroStationLevelSymbology extends TLcdDGNLevelSymbology
Whether or not the table is overriding the element values at a given level
is specified by the three respective boolean properties (cfr.
hasStyle(int)
, hasWeight(int)
, and
hasColor(int)
).
If the element values are overridden, they can be requested for each level
(cfr. getStyle(int)
, getWeight(int)
,
and getColor(int)
).
COLOR_MASK, COLOR_SHIFT, STYLE_MASK, WEIGHT_MASK, WEIGHT_SHIFT
Constructor and Description |
---|
TLcdDGNMicroStationLevelSymbology(TLcdDGNLevel[] aLevels)
Deprecated.
Creates a new TLcdDGNLevelSymbology.
|
Modifier and Type | Method and Description |
---|---|
int |
getColor(int aLevelIndex)
Deprecated.
Returns the overridden (level) color.
|
String |
getDescription(int aLevelIndex)
Deprecated.
Returns the description of the specified level.
|
int |
getElementColor(int aLevelIndex)
Deprecated.
Returns the element color of the elements on the given level, which is used to display the
elements that have the 'bylevel' color value.
|
int |
getElementStyle(int aLevelIndex)
Deprecated.
Returns the element style of the elements on the given level, which is used to display the
elements that have the 'bylevel' style value.
|
int |
getElementWeight(int aLevelIndex)
Deprecated.
Returns the element weight of the elements on the given level, which is used to display the
elements that have the 'bylevel' weight value.
|
int |
getFillColor(int aLevelIndex)
Deprecated.
Returns the symbology fill color of elements at the specified level.
|
int |
getLevelCount()
Deprecated.
Returns the number of defined levels.
|
int |
getLevelID(int aLevelIndex)
Deprecated.
Returns the level ID, based on the level index.
|
int |
getLevelIndex(int aLevelID)
Deprecated.
Returns the level index, based on the level ID, which is stored with
DGN elements.
|
String |
getName(int aLevelIndex)
Deprecated.
Returns the name of the specified level.
|
int |
getStyle(int aLevelIndex)
Deprecated.
Returns the overridden (level) style.
|
int |
getWeight(int aLevelIndex)
Deprecated.
Returns the overridden (level) weight.
|
boolean |
hasColor(int aLevelIndex)
Deprecated.
Returns whether the symbology override color should be used.
|
boolean |
hasFillColor(int aLevelIndex)
Deprecated.
Returns whether the symbology override fill color should be used.
|
boolean |
hasStyle(int aLevelIndex)
Deprecated.
Returns whether the symbology override style should be used.
|
boolean |
hasWeight(int aLevelIndex)
Deprecated.
Returns whether the symbology override weight should be used.
|
getColor, getColor, getColor, getElementColor, getFillColor, getFillColor, getFillColor, getLevel, getLevelNumber, getStyle, getStyleName, getStyleName, getWeight, hasColor, hasStyle, hasWeight, isUseViewLevelSymbology, setUseViewLevelSymbology
public TLcdDGNMicroStationLevelSymbology(TLcdDGNLevel[] aLevels)
aLevels
- the level objects that make up the symbology.public int getLevelCount()
TLcdDGNLevelSymbology
getLevelCount
in class TLcdDGNLevelSymbology
public int getLevelID(int aLevelIndex)
TLcdDGNLevelSymbology
getLevelID
in class TLcdDGNLevelSymbology
aLevelIndex
- the level index.public int getLevelIndex(int aLevelID)
TLcdDGNLevelSymbology
getLevelIndex
in class TLcdDGNLevelSymbology
aLevelID
- the level ID.public String getName(int aLevelIndex)
TLcdDGNLevelSymbology
getName
in class TLcdDGNLevelSymbology
aLevelIndex
- the level index.public String getDescription(int aLevelIndex)
TLcdDGNLevelSymbology
getDescription
in class TLcdDGNLevelSymbology
aLevelIndex
- the level index.public boolean hasColor(int aLevelIndex)
TLcdDGNLevelSymbology
hasColor
in class TLcdDGNLevelSymbology
aLevelIndex
- the level index.public boolean hasWeight(int aLevelIndex)
TLcdDGNLevelSymbology
hasWeight
in class TLcdDGNLevelSymbology
aLevelIndex
- the level index.public boolean hasStyle(int aLevelIndex)
TLcdDGNLevelSymbology
hasStyle
in class TLcdDGNLevelSymbology
aLevelIndex
- the level index.public boolean hasFillColor(int aLevelIndex)
TLcdDGNLevelSymbology
hasFillColor
in class TLcdDGNLevelSymbology
aLevelIndex
- the level index.public int getColor(int aLevelIndex)
getColor
in class TLcdDGNLevelSymbology
aLevelIndex
- the level index.public int getWeight(int aLevelIndex)
getWeight
in class TLcdDGNLevelSymbology
aLevelIndex
- the level index.public int getStyle(int aLevelIndex)
getStyle
in class TLcdDGNLevelSymbology
aLevelIndex
- the level index.public int getFillColor(int aLevelIndex)
TLcdDGNLevelSymbology
getFillColor
in class TLcdDGNLevelSymbology
aLevelIndex
- the level index.public int getElementColor(int aLevelIndex)
getElementColor
in class TLcdDGNLevelSymbology
public int getElementWeight(int aLevelIndex)
getElementWeight
in class TLcdDGNLevelSymbology
public int getElementStyle(int aLevelIndex)
getElementStyle
in class TLcdDGNLevelSymbology