faa.tg.atcview.displayobjects
Class GfcDisplay

java.lang.Object
  extended by faa.tg.atcview.displayobjects.GfcDisplay
All Implemented Interfaces:
DisplayAble

public class GfcDisplay
extends java.lang.Object
implements DisplayAble

Author:
Lonnie Souder, Engility

Nested Class Summary
 
Nested classes/interfaces inherited from interface faa.tg.atcview.displayobjects.DisplayAble
DisplayAble.DisplayObject<S extends DisplaySettings<S>>
 
Field Summary
(package private)  java.awt.Rectangle displayBounds
           
(package private)  GroundFixConnection gfc
           
(package private)  java.awt.geom.GeneralPath gp
           
 
Fields inherited from interface faa.tg.atcview.displayobjects.DisplayAble
CVS_VERSION_ID
 
Constructor Summary
GfcDisplay(GroundFixConnection gfc)
           
 
Method Summary
 void clearDisplayBounds()
           
 java.awt.Rectangle getDisplayBounds(DisplayContext displayContext)
           
 java.lang.String getName()
          returns the unique name of this display
 DisplaySettings getSettings()
          returns the current settings for a display
 DisplayableType getType()
           
 void paint(java.awt.Graphics2D graphic, DisplayContext displayContext)
          paint this display
 void setSettings(DisplaySettings settings)
          set the settings to use for a display
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gfc

GroundFixConnection gfc

displayBounds

java.awt.Rectangle displayBounds

gp

java.awt.geom.GeneralPath gp
Constructor Detail

GfcDisplay

public GfcDisplay(GroundFixConnection gfc)
Method Detail

clearDisplayBounds

public void clearDisplayBounds()
Specified by:
clearDisplayBounds in interface DisplayAble

getDisplayBounds

public java.awt.Rectangle getDisplayBounds(DisplayContext displayContext)
Specified by:
getDisplayBounds in interface DisplayAble

getName

public java.lang.String getName()
Description copied from interface: DisplayAble
returns the unique name of this display

Specified by:
getName in interface DisplayAble

getSettings

public DisplaySettings getSettings()
Description copied from interface: DisplayAble
returns the current settings for a display

Specified by:
getSettings in interface DisplayAble

getType

public DisplayableType getType()
Specified by:
getType in interface DisplayAble

paint

public void paint(java.awt.Graphics2D graphic,
                  DisplayContext displayContext)
Description copied from interface: DisplayAble
paint this display

Specified by:
paint in interface DisplayAble
displayContext - - the display info

setSettings

public void setSettings(DisplaySettings settings)
Description copied from interface: DisplayAble
set the settings to use for a display

Specified by:
setSettings in interface DisplayAble