|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.atcview.displayobjects.IlsApproachDisplay
public class IlsApproachDisplay
This class defines a displayable ILS approach.See the source: IlsApproachDisplay.java
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface faa.tg.atcview.displayobjects.DisplayAble |
|---|
DisplayAble.DisplayObject<S extends DisplaySettings<S>> |
| Field Summary | |
|---|---|
private AirportRwyID |
aptRwyID
|
private java.awt.geom.QuadCurve2D[] |
curves
|
static java.lang.String |
CVS_VERSION_ID
CVS Version |
private ILS |
ils
|
private java.awt.geom.Line2D |
line
|
private java.awt.Rectangle |
myBounds
|
private Position |
outerMarker
|
private ColorAndNameDisplaySettings |
settings
|
private Position |
thresh
|
| Constructor Summary | |
|---|---|
IlsApproachDisplay(ILS ils,
Runway runway)
Constructor |
|
| Method Summary | |
|---|---|
void |
clearDisplayBounds()
set bounds of the display to null, this means that the next time getDisplayBounds is called the bounds will be calculated. |
boolean |
equals(java.lang.Object obj)
determine whether this display is equal to a given object required by the DisplayAble interface |
java.awt.Rectangle |
getDisplayBounds(DisplayContext displayContext)
returns the bounds of this display required by the DisplayAble interface |
private java.awt.geom.Line2D |
getLine(DisplayContext displayContext)
|
java.lang.String |
getName()
returns the unique name of this display required by the DisplayAble interface |
private java.awt.geom.QuadCurve2D[] |
getOuterMarkerShape(DisplayContext displayContext)
|
ColorAndNameDisplaySettings |
getSettings()
return current settings |
DisplayableType |
getType()
|
void |
paint(java.awt.Graphics2D graphic,
DisplayContext displayContext)
paint this display required by the DisplayAble interface |
void |
setSettings(ColorAndNameDisplaySettings settings)
set settings to use |
java.lang.String |
toString()
returns a String representation of this object required by the DisplayAble interface |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CVS_VERSION_ID
private ILS ils
private AirportRwyID aptRwyID
private Position outerMarker
private Position thresh
private java.awt.Rectangle myBounds
private java.awt.geom.Line2D line
private java.awt.geom.QuadCurve2D[] curves
private ColorAndNameDisplaySettings settings
| Constructor Detail |
|---|
public IlsApproachDisplay(ILS ils,
Runway runway)
ils - - the ILS that this display is forrunway - - the runway the ils is for| Method Detail |
|---|
public DisplayableType getType()
getType in interface DisplayAble<ColorAndNameDisplaySettings>public void clearDisplayBounds()
clearDisplayBounds in interface DisplayAble<ColorAndNameDisplaySettings>public java.awt.Rectangle getDisplayBounds(DisplayContext displayContext)
getDisplayBounds in interface DisplayAble<ColorAndNameDisplaySettings>fontMetrics - - information about the font useddisplayContext - - information about the display
public void paint(java.awt.Graphics2D graphic,
DisplayContext displayContext)
paint in interface DisplayAble<ColorAndNameDisplaySettings>graphic - - used to drawdisplayContext - - the display infoprivate java.awt.geom.Line2D getLine(DisplayContext displayContext)
private java.awt.geom.QuadCurve2D[] getOuterMarkerShape(DisplayContext displayContext)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
getName in interface DisplayAble<ColorAndNameDisplaySettings>public ColorAndNameDisplaySettings getSettings()
getSettings in interface DisplayAble<ColorAndNameDisplaySettings>public void setSettings(ColorAndNameDisplaySettings settings)
setSettings in interface DisplayAble<ColorAndNameDisplaySettings>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||