com.pentec.adapt
Class AOptions

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 com.pentec.gui.windows.AFrame
                          extended by com.pentec.gui.windows.TransientFrame
                              extended by com.pentec.adapt.AOptions
All Implemented Interfaces:
AOComponent, AdaptWindow, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class AOptions
extends TransientFrame
implements AOComponent

ADAPT options editor

Author:
Pender Technology
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
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.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private static java.lang.String $SysAdminPropertyMidsectionList
           
private static java.lang.String $SysAdminPropertyNamesPre
           
private static java.lang.String[] a$CalibrationBorderNames
           
private static java.lang.String[] a$GPSLabelNames
           
private static java.lang.String[] a$GPSPropertyNames
           
private static java.lang.String[] a$InterferometerLabelNames
           
private static java.lang.String[] a$InterferometerPropertyNames
           
private static java.lang.String[] a$LensSettingsBorderNames
           
private static java.lang.String[] a$NVLensBorderNames
           
private static java.lang.String[] a$PanTiltBorderNames
           
private static java.lang.String[] a$SpatialCalibrationBorderNames
           
private static java.lang.String[] a$SysAdminLabelNames
           
private static java.lang.String[] a$SysAdminPropertyNamesPost
           
private static java.lang.String[] a$T10LabelNames
           
private static java.lang.String[] a$T10PropertyNames
           
private static java.lang.String[] a$WeatherLabelNames
           
private static java.lang.String[] a$WeatherPropertyNames
           
private static java.lang.String[][] aa$CalibrationLabelNames
           
private static java.lang.String[][] aa$CalibrationPropertyNames
           
private static java.lang.String[][] aa$LensSettingsLabelNames
           
private static java.lang.String[][] aa$LensSettingsPropertyNames
           
private static java.lang.String[][] aa$NVLensLabelNames
           
private static java.lang.String[][] aa$NVLensPropertyNames
           
private static java.lang.String[][] aa$PanTiltLabelNames
           
private static java.lang.String[][] aa$PanTiltPropertyNames
           
private static java.lang.String[][] aa$SpatialCalibrationLabelNames
           
private static java.lang.String[][] aa$SpatialCalibrationPropertyNames
           
private static int HEIGHT
           
private  boolean isStandalone
           
private  ATabbedPane jtp
           
static AOptions options
           
private static int WIDTH
           
 
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, PROPERTIES, SOMEBITS
 
Constructor Summary
private AOptions()
           
 
Method Summary
static AOptions aoptions(AdaptWindow callingFrame)
           
static AOptions aoptions(DataFrame callingFrame)
           
static AOptions aoptions(javax.swing.JFrame callingFrame)
           
private  javax.swing.JPanel createButtonsPanel()
           
private  javax.swing.JPanel createOptionsPanel()
           
private  javax.swing.JPanel createStartupPanel()
           
 void load()
          Load component based on Adapt properties.
 void loadDefault()
          Load component based on default Adapt properties.
static void main(java.lang.String[] args)
           
 void save(boolean writeToDisk)
          Save the components data to Adapt properties in memory.
 
Methods inherited from class com.pentec.gui.windows.AFrame
addToWindowList, dispose, getShortTitle, isInWindowList, onFrameClosing, removeFromWindowList, setIconImage, setTitle, setVisible, toString
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, 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, paint, 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, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, 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, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, show, size, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.pentec.gui.windows.AdaptWindow
getBounds, getContentPane, getIconImage, getRootPane, getTitle, toFront
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

$SysAdminPropertyMidsectionList

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

$SysAdminPropertyNamesPre

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

a$CalibrationBorderNames

private static final java.lang.String[] a$CalibrationBorderNames

a$GPSLabelNames

private static final java.lang.String[] a$GPSLabelNames

a$GPSPropertyNames

private static final java.lang.String[] a$GPSPropertyNames

a$InterferometerLabelNames

private static final java.lang.String[] a$InterferometerLabelNames

a$InterferometerPropertyNames

private static final java.lang.String[] a$InterferometerPropertyNames

a$LensSettingsBorderNames

private static final java.lang.String[] a$LensSettingsBorderNames

a$NVLensBorderNames

private static final java.lang.String[] a$NVLensBorderNames

a$PanTiltBorderNames

private static final java.lang.String[] a$PanTiltBorderNames

a$SpatialCalibrationBorderNames

private static final java.lang.String[] a$SpatialCalibrationBorderNames

a$SysAdminLabelNames

private static final java.lang.String[] a$SysAdminLabelNames

a$SysAdminPropertyNamesPost

private static final java.lang.String[] a$SysAdminPropertyNamesPost

a$T10LabelNames

private static final java.lang.String[] a$T10LabelNames

a$T10PropertyNames

private static final java.lang.String[] a$T10PropertyNames

a$WeatherLabelNames

private static final java.lang.String[] a$WeatherLabelNames

a$WeatherPropertyNames

private static final java.lang.String[] a$WeatherPropertyNames

aa$CalibrationLabelNames

private static final java.lang.String[][] aa$CalibrationLabelNames

aa$CalibrationPropertyNames

private static final java.lang.String[][] aa$CalibrationPropertyNames

aa$LensSettingsLabelNames

private static final java.lang.String[][] aa$LensSettingsLabelNames

aa$LensSettingsPropertyNames

private static final java.lang.String[][] aa$LensSettingsPropertyNames

aa$NVLensLabelNames

private static final java.lang.String[][] aa$NVLensLabelNames

aa$NVLensPropertyNames

private static final java.lang.String[][] aa$NVLensPropertyNames

aa$PanTiltLabelNames

private static final java.lang.String[][] aa$PanTiltLabelNames

aa$PanTiltPropertyNames

private static final java.lang.String[][] aa$PanTiltPropertyNames

aa$SpatialCalibrationLabelNames

private static final java.lang.String[][] aa$SpatialCalibrationLabelNames

aa$SpatialCalibrationPropertyNames

private static final java.lang.String[][] aa$SpatialCalibrationPropertyNames

HEIGHT

private static final int HEIGHT
See Also:
Constant Field Values

isStandalone

private boolean isStandalone

jtp

private ATabbedPane jtp

options

public static AOptions options

WIDTH

private static final int WIDTH
See Also:
Constant Field Values
Constructor Detail

AOptions

private AOptions()
Method Detail

aoptions

public static AOptions aoptions(AdaptWindow callingFrame)

aoptions

public static AOptions aoptions(DataFrame callingFrame)

aoptions

public static AOptions aoptions(javax.swing.JFrame callingFrame)

createButtonsPanel

private javax.swing.JPanel createButtonsPanel()

createOptionsPanel

private javax.swing.JPanel createOptionsPanel()

createStartupPanel

private javax.swing.JPanel createStartupPanel()

load

public void load()
Description copied from interface: AOComponent
Load component based on Adapt properties.

Specified by:
load in interface AOComponent

loadDefault

public void loadDefault()
Description copied from interface: AOComponent
Load component based on default Adapt properties.

Specified by:
loadDefault in interface AOComponent

main

public static void main(java.lang.String[] args)

save

public void save(boolean writeToDisk)
Description copied from interface: AOComponent
Save the components data to Adapt properties in memory. If writeToDisk is true, write out to disk. Those AOComponents containing more AOComponents may save(false) on subcomponents so that one final disk write is performed instead of a disk write for each subcomponent.

Specified by:
save in interface AOComponent