HiRISE

HiRISE.HiCat.HiTList
Class HiTList

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by HiRISE.HiCat.HiTList.HiTList
All Implemented Interfaces:
ActionListener, ItemListener, WindowListener, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class HiTList
extends JFrame
implements ItemListener, ActionListener, PropertyChangeListener, WindowListener

HiTList is an application for building lists of potential HiRISE targets from the Suggested_Observations table in the HiCat database. This class is essentially a container for holding multiple SearchComponents that search for various types of targets.

Version:
1.82
Author:
Rodney Heyd UA/PIRL
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JFrame
JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
static String DEBUG_ADDED_TARGETS_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_CONFIGURATION_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_CONNECTION_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_CONSTRUCTOR_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_DATABASE_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_EVENTS_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_IO_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_MAIN_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_REFRESH_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_SETUP_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_TAB_LOADING_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_THREADS_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEBUG_UI_PROPERTY
          Debugging Properties, set these properties to "true" to enable additional debugging information.
static String DEFAULT_CONFIGURATION_FILENAME
           
static int EXIT_CONFIGURATION_ERROR
           
static int EXIT_DATABASE_ERROR
           
static int EXIT_INVALID_COMMAND_LINE_SYNTAX
           
static int EXIT_SUCCESS
           
static String ID
           
static String OLD_DEFAULT_DATABASE_CONFIGURATION_FILENAME
           
static String RESOURCES_DIRECTORY
           
static String SPLASH_IMAGE
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
HiTList(Configuration database_config, Configuration config)
          Constructs the HiTList gui application.
 
Method Summary
 void actionPerformed(ActionEvent event)
          Listens for events that cause the launch of the Add Suggestions Dialog and and tab refresh commands.
 void itemStateChanged(ItemEvent event)
          The ItemListener interface is implemented to listen for changes in selection on the Nearby Observations List checkbox and cause an instant refresh on all currently open tabs.
static void main(String[] arguments)
          Generate lists of HiRISE targets from a database.
 void propertyChange(PropertyChangeEvent event)
          Listens for state changes in the background threads in open tabs to initiate checks on the added suggestions list, and also for changes in values on the filter settings that should be propagated to all tabs.
static void Usage()
          Prints the command line usage syntax.
 void windowActivated(WindowEvent event)
           
 void windowClosed(WindowEvent event)
           
 void windowClosing(WindowEvent event)
           
 void windowDeactivated(WindowEvent event)
           
 void windowDeiconified(WindowEvent event)
           
 void windowIconified(WindowEvent event)
           
 void windowOpened(WindowEvent event)
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values

DEFAULT_CONFIGURATION_FILENAME

public static String DEFAULT_CONFIGURATION_FILENAME

OLD_DEFAULT_DATABASE_CONFIGURATION_FILENAME

public static String OLD_DEFAULT_DATABASE_CONFIGURATION_FILENAME

RESOURCES_DIRECTORY

public static final String RESOURCES_DIRECTORY
See Also:
Constant Field Values

SPLASH_IMAGE

public static final String SPLASH_IMAGE
See Also:
Constant Field Values

EXIT_SUCCESS

public static final int EXIT_SUCCESS
See Also:
Constant Field Values

EXIT_DATABASE_ERROR

public static final int EXIT_DATABASE_ERROR
See Also:
Constant Field Values

EXIT_CONFIGURATION_ERROR

public static final int EXIT_CONFIGURATION_ERROR
See Also:
Constant Field Values

EXIT_INVALID_COMMAND_LINE_SYNTAX

public static final int EXIT_INVALID_COMMAND_LINE_SYNTAX
See Also:
Constant Field Values

DEBUG_SETUP_PROPERTY

public static final String DEBUG_SETUP_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_CONSTRUCTOR_PROPERTY

public static final String DEBUG_CONSTRUCTOR_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_EVENTS_PROPERTY

public static final String DEBUG_EVENTS_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_IO_PROPERTY

public static final String DEBUG_IO_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_CONFIGURATION_PROPERTY

public static final String DEBUG_CONFIGURATION_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_UI_PROPERTY

public static final String DEBUG_UI_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_DATABASE_PROPERTY

public static final String DEBUG_DATABASE_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_CONNECTION_PROPERTY

public static final String DEBUG_CONNECTION_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_ADDED_TARGETS_PROPERTY

public static final String DEBUG_ADDED_TARGETS_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_TAB_LOADING_PROPERTY

public static final String DEBUG_TAB_LOADING_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_THREADS_PROPERTY

public static final String DEBUG_THREADS_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_REFRESH_PROPERTY

public static final String DEBUG_REFRESH_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values

DEBUG_MAIN_PROPERTY

public static final String DEBUG_MAIN_PROPERTY
Debugging Properties, set these properties to "true" to enable additional debugging information.

See Also:
Constant Field Values
Constructor Detail

HiTList

public HiTList(Configuration database_config,
               Configuration config)
        throws Database_Exception,
               Configuration_Exception
Constructs the HiTList gui application.

Throws:
Database_Exception
Configuration_Exception
Method Detail

itemStateChanged

public void itemStateChanged(ItemEvent event)
The ItemListener interface is implemented to listen for changes in selection on the Nearby Observations List checkbox and cause an instant refresh on all currently open tabs.

Specified by:
itemStateChanged in interface ItemListener

actionPerformed

public void actionPerformed(ActionEvent event)
Listens for events that cause the launch of the Add Suggestions Dialog and and tab refresh commands.

Specified by:
actionPerformed in interface ActionListener

propertyChange

public void propertyChange(PropertyChangeEvent event)
Listens for state changes in the background threads in open tabs to initiate checks on the added suggestions list, and also for changes in values on the filter settings that should be propagated to all tabs.

Specified by:
propertyChange in interface PropertyChangeListener

windowActivated

public void windowActivated(WindowEvent event)
Specified by:
windowActivated in interface WindowListener

windowClosed

public void windowClosed(WindowEvent event)
Specified by:
windowClosed in interface WindowListener

windowClosing

public void windowClosing(WindowEvent event)
Specified by:
windowClosing in interface WindowListener

windowDeactivated

public void windowDeactivated(WindowEvent event)
Specified by:
windowDeactivated in interface WindowListener

windowDeiconified

public void windowDeiconified(WindowEvent event)
Specified by:
windowDeiconified in interface WindowListener

windowIconified

public void windowIconified(WindowEvent event)
Specified by:
windowIconified in interface WindowListener

windowOpened

public void windowOpened(WindowEvent event)
Specified by:
windowOpened in interface WindowListener

main

public static void main(String[] arguments)
Generate lists of HiRISE targets from a database.

The command line syntax is described by the Usage method.

Exit Status Values:

0 - Success 1 - Database Error 2 - Configuration Error 3 - Invalid Command Line Syntax

Parameters:
arguments - Array of command line argument Strings
See Also:
Usage()

Usage

public static void Usage()
Prints the command line usage syntax.

Usage: HiTList <Options>
  Options -
    [-Configuration <filename>
      (default: HOGG.conf)
    [-Query configuration <filename>
    [-Jagged_Text]
    [-Help]
    [-Version]


HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona