|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.graphics.instruments.dme.DMEMarkerIndicator.MarkerDescriptor
private static final class DMEMarkerIndicator.MarkerDescriptor
Defines the indicator light for a marker.
| Field Summary | |
|---|---|
CoordinateCartesianRelative |
_anchor
the relative anchor position |
java.awt.Color |
_colorActive
the color when the light is on |
java.awt.Color |
_colorInactive
the color when the light is off |
| Constructor Summary | |
|---|---|
DMEMarkerIndicator.MarkerDescriptor(CoordinateCartesianRelative scale,
java.awt.Color activeColor,
java.awt.Color inactiveColor)
Creates a marker descriptor. |
|
| Method Summary | |
|---|---|
java.awt.Color |
getColor(boolean isActive)
Resolves the color of the indicator light depending on its state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final CoordinateCartesianRelative _anchor
public final java.awt.Color _colorActive
public final java.awt.Color _colorInactive
| Constructor Detail |
|---|
public DMEMarkerIndicator.MarkerDescriptor(CoordinateCartesianRelative scale,
java.awt.Color activeColor,
java.awt.Color inactiveColor)
scale - - the relative anchor positionactiveColor - - the color when the light is illuminatedinactiveColor - - the color when the light is not illuminated| Method Detail |
|---|
public java.awt.Color getColor(boolean isActive)
isActive - - whether it is illuminated
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||