public class TLcdDGNLevel extends Object implements Serializable
Constructor and Description |
---|
TLcdDGNLevel(int aID,
String aName,
String aDescription,
boolean aHasColorOverride,
boolean aHasWeightOverride,
boolean aHasStyleOverride,
boolean aHasFillColorOverride,
int aOverrideColor,
int aOverrideWeight,
int aOverrideStyle,
int aFillColor)
Creates a new TLcdDGNLevel with the given properties.
|
TLcdDGNLevel(int aID,
String aName,
String aDescription,
boolean aHasColorOverride,
boolean aHasWeightOverride,
boolean aHasStyleOverride,
boolean aHasFillColorOverride,
int aOverrideColor,
int aOverrideWeight,
int aOverrideStyle,
int aFillColor,
int aElementColor,
int aElementWeight,
int aElementStyle)
Creates a new TLcdDGNLevel with the given properties.
|
Modifier and Type | Method and Description |
---|---|
int |
getColor()
Returns the overriding color of the elements in this level.
|
String |
getDescription()
Returns the level description.
|
int |
getElementColor()
Deprecated.
This call does not take RGB colors into account. Use
getElementColor(TLcdDGNColorTable) instead. |
Color |
getElementColor(TLcdDGNColorTable aColorTable)
Returns the element color of the elements on this level, which is used to display the elements
that have the 'bylevel' color value.
|
int |
getElementStyle()
Returns the element style of the elements on this level, which is used to display the elements
that have the 'bylevel' style value.
|
int |
getElementWeight()
Returns the element weight of the elements on this level, which is used to display the elements
that have the 'bylevel' weight value.
|
int |
getFillColor()
Returns the overriding fill color of the elements in this level.
|
int |
getID()
Returns the level ID (level code).
|
String |
getName()
Returns the level name.
|
int |
getNumber()
Returns the level number.
|
int |
getStyle()
Returns the overriding style of the elements in this level.
|
int |
getWeight()
Returns the overriding weight of the elements in this level.
|
boolean |
hasColorOverride()
Returns whether the level overrides the colors of its elements.
|
boolean |
hasFillColorOverride()
Returns whether the level overrides the fill colors of its elements.
|
boolean |
hasStyleOverride()
Returns whether the level overrides the styles of its elements.
|
boolean |
hasWeightOverride()
Returns whether the level overrides the weights of its elements.
|
public TLcdDGNLevel(int aID, String aName, String aDescription, boolean aHasColorOverride, boolean aHasWeightOverride, boolean aHasStyleOverride, boolean aHasFillColorOverride, int aOverrideColor, int aOverrideWeight, int aOverrideStyle, int aFillColor, int aElementColor, int aElementWeight, int aElementStyle)
public TLcdDGNLevel(int aID, String aName, String aDescription, boolean aHasColorOverride, boolean aHasWeightOverride, boolean aHasStyleOverride, boolean aHasFillColorOverride, int aOverrideColor, int aOverrideWeight, int aOverrideStyle, int aFillColor)
public int getID()
public String getName()
public int getNumber()
public String getDescription()
public boolean hasColorOverride()
public boolean hasWeightOverride()
public boolean hasStyleOverride()
public boolean hasFillColorOverride()
public int getColor()
public int getWeight()
public int getStyle()
public int getFillColor()
public int getElementColor()
getElementColor(TLcdDGNColorTable)
instead.public int getElementWeight()
public int getElementStyle()
public Color getElementColor(TLcdDGNColorTable aColorTable)
aColorTable
- the color table to use