faa.tg.dra.gui
Class SectorFilterPanel

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by faa.tg.util.gui.awt.DraggableJPanel
                      extended by faa.tg.dra.gui.DraPanel
                          extended by faa.tg.dra.gui.SectorFilterPanel
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible
Direct Known Subclasses:
GeoSectorFilterPanel

public class SectorFilterPanel
extends DraPanel

 SectorFilterPanel is a representation of the SectorFilter as a GUI
 component.
 
See the source: SectorFilterPanel.java

Version:
$Id: SectorFilterPanel.java,v 3.3 2008/03/13 18:20:37 danaw Exp $
Author:
Ed Jaggard, FAA/ACT-510 Mon Aug 24, 1998, Dana N. Whicker, FAA/ACT-510 Wed Aug 6, 1999
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
static java.lang.String DEFAULT_SECTOR
           
private  java.lang.String defaultSector
           
static java.lang.String ELIMINATE_PROP
           
private  javax.swing.JCheckBox elimMatchCheckBox
           
protected  javax.swing.JPanel parmsPanel
          Parameter selector panel.
private  java.lang.String passThroughString
           
private  PassThroughPanel ptPanel
           
private static java.lang.String SECTOR_IDS_PROP
           
private  javax.swing.JTextField sectorField
           
(package private) static long serialVersionUID
           
 
Fields inherited from class faa.tg.dra.gui.DraPanel
CLASSNAME_PROP, DEFAULT_PANEL_HEIGHT, DEFAULT_PANEL_WIDTH, DEFAULT_PASSTHROUGH_TRUE, FILTER_COLOR, MULTIPLEXER_COLOR, ONE_ROW_PANEL_HEIGHT, PASSTH_PROP, PLOTTER_COLOR, PRINTER_COLOR, READER_COLOR, TEXT_ONLY_PANEL_HEIGHT
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
  SectorFilterPanel()
          SectorFilterPanel constructor.
  SectorFilterPanel(java.util.Properties properties)
          SectorFilterPanel constructor that sets the panel's starting values.
protected SectorFilterPanel(java.util.Properties props, java.lang.String title, int panelHeight, java.awt.Color filterColor)
          Constructor allowing all parameters of the SectorFilterPanel to be specified, including the title (allows subclassed panel classes).
 
Method Summary
 java.util.Properties getProperties()
          Gets the properties of the GUI panel.
 java.lang.Object instantiateProcessor()
          Creates and returns the configured SectorFilter from the panel data.
 void setProperties()
          Set the characteristics of the GUI panel
 void setProperties(java.util.Properties props)
          Set the characteristics of the GUI panel using the given Properties.
 
Methods inherited from class faa.tg.dra.gui.DraPanel
drawLineOnBottom, drawLineOnTop, getTitle, processMouseEvent, reset, select, setProperty
 
Methods inherited from class faa.tg.util.gui.awt.DraggableJPanel
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SECTOR_IDS_PROP

private static final java.lang.String SECTOR_IDS_PROP
See Also:
Constant Field Values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values

ELIMINATE_PROP

public static final java.lang.String ELIMINATE_PROP
See Also:
Constant Field Values

DEFAULT_SECTOR

public static java.lang.String DEFAULT_SECTOR

parmsPanel

protected javax.swing.JPanel parmsPanel
Parameter selector panel.


ptPanel

private PassThroughPanel ptPanel

sectorField

private javax.swing.JTextField sectorField

elimMatchCheckBox

private javax.swing.JCheckBox elimMatchCheckBox

defaultSector

private java.lang.String defaultSector

passThroughString

private java.lang.String passThroughString
Constructor Detail

SectorFilterPanel

protected SectorFilterPanel(java.util.Properties props,
                            java.lang.String title,
                            int panelHeight,
                            java.awt.Color filterColor)
Constructor allowing all parameters of the SectorFilterPanel to be specified, including the title (allows subclassed panel classes).

Parameters:
props - Values for parameters stored in a Properties file.
title - Title to use for the panel.
panelHeight - Height to use for the panel.
filterColor - Color to use for this GUI panel.

SectorFilterPanel

public SectorFilterPanel(java.util.Properties properties)
SectorFilterPanel constructor that sets the panel's starting values.

Parameters:
properties - Properties for the GUI panel.

SectorFilterPanel

public SectorFilterPanel()
SectorFilterPanel constructor.

Method Detail

setProperties

public void setProperties()
Set the characteristics of the GUI panel

Overrides:
setProperties in class DraPanel

setProperties

public void setProperties(java.util.Properties props)
Set the characteristics of the GUI panel using the given Properties.

Specified by:
setProperties in class DraPanel
Parameters:
props - Properties for the GUI panel.

getProperties

public java.util.Properties getProperties()
Gets the properties of the GUI panel.

Specified by:
getProperties in class DraPanel
Returns:
Properties of the GUI panel.

instantiateProcessor

public java.lang.Object instantiateProcessor()
Creates and returns the configured SectorFilter from the panel data.

Specified by:
instantiateProcessor in class DraPanel
Returns:
Returns the configured DR&A tool as an object.