public class SuggestionBackfillPanel extends SuggestionEditorPanel
SuggestionEditorPanel
,
Serialized FormSuggestionEditorPanel.SuggesterCache, SuggestionEditorPanel.Validation_Exception
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
Class identification name with source code version and date.
|
alerts, APPLICATION_GROUP, ATTENTION_COLOR, catalog, configuration, database, DEFAULT_FOOTPRINT_HEIGHT, DEFAULT_FOOTPRINT_WIDTH, DEFAULT_MAXIMUM_EMISSION_ANGLE, DEFAULT_MAXIMUM_INCIDENCE_ANGLE, DEFAULT_MAXIMUM_L_SUB_S, DEFAULT_MAXIMUM_PHASE_ANGLE, DEFAULT_MINIMUM_EMISSION_ANGLE, DEFAULT_MINIMUM_INCIDENCE_ANGLE, DEFAULT_MINIMUM_L_SUB_S, DEFAULT_MINIMUM_PHASE_ANGLE, FOOTPRINT_HEIGHT, FOOTPRINT_WIDTH, initialSuggestion, KEY_ID, MAX_DESCRIPTION_LENGTH, MAXIMUM_EMISSION_ANGLE, MAXIMUM_INCIDENCE_ANGLE, MAXIMUM_L_SUB_S, MAXIMUM_PHASE_ANGLE, MINIMUM_EMISSION_ANGLE, MINIMUM_INCIDENCE_ANGLE, MINIMUM_L_SUB_S, MINIMUM_PHASE_ANGLE, mode, OUT_OF_LIMITS_COLOR, OUT_OF_LIMITS_TEXT_COLOR, STRUT_SIZE, suggesterCache, suggestion, TABLE_PEOPLE, TABLE_PEOPLE_MAP, TABLE_SCIENCE_THEMES, TABLE_SCIENCE_THEMES_MAP, TABLE_SUGGESTIONS, username, USERNAME
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
SuggestionBackfillPanel(PIRL.Configuration.Configuration configuration,
java.lang.String catalog)
Create a new Suggestion Editor panel for backfilling from Observation
records.
|
Modifier and Type | Method and Description |
---|---|
void |
enableEditorFields(boolean enabled) |
void |
enableOwnerFields(boolean enabled) |
void |
enableOwnerHitsFields(boolean enabled) |
void |
enableStlFields(boolean enabled) |
protected javax.swing.JPanel |
getConstraintsPanel()
Creates a panel for the constraints.
|
protected javax.swing.JPanel |
getNotesPanel()
Creates a panel of controls for science rationale and notes.
|
protected javax.swing.JPanel |
getSuggestionPanel()
Creates a panel for suggestion ID and so forth.
|
void |
init()
Initialize this instance plus the advanced editor instance.
|
boolean |
saveSuggestion(boolean notifyOnSave)
Saves the suggestion displayed in the panel.
|
void |
setDefaultSuggester(java.lang.String suggester)
Sets the suggestion editor's default suggester.
|
int |
showAdvancedEditorDialog(java.awt.Component parent)
Bring up a dialog with the advanced editor.
|
void |
updateObservationFields(Observation_Record observation) |
void |
validateSuggestion()
Validates the suggestion's fields in the editor.
|
actionPerformed, addActionListener, alerts, alerts, backfillSuggestion, calculateVertices, change, changedUpdate, configure, copyFrom, fireActionPerformed, getActionListeners, getBoundedConstraintsPanel, getColorPanel, getCoordinatesPanel, getCoordinationPanel, getDefaultSuggester, getID, getPhotometryPanel, getPointingPanel, getPriorityPanel, getStereoPanel, getStlBoundedConstraintsPanel, getStlMaxEmissionAngle, getStlMaxIncidenceAngle, getStlMaxLsubS, getStlMaxPhaseAngle, getStlMinEmissionAngle, getStlMinIncidenceAngle, getStlMinLsubS, getStlMinPhaseAngle, initialSuggestion, insert, insertUpdate, removeActionListener, removeUpdate, select, setEmissionAngles, setIncidenceAngles, setLsubS, setPhaseAngles, suggestion, update, updateDescription
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
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, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, 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
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, transferFocusDownCycle, validate, validateTree
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, 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, transferFocusBackward, transferFocusUpCycle
public static final java.lang.String ID
public SuggestionBackfillPanel(PIRL.Configuration.Configuration configuration, java.lang.String catalog) throws Invalid_Argument_Exception
Invalid_Argument_Exception
- if the configuration does not adequately
specify a database.protected javax.swing.JPanel getSuggestionPanel()
getSuggestionPanel
in class SuggestionEditorPanel
protected javax.swing.JPanel getConstraintsPanel()
protected javax.swing.JPanel getNotesPanel()
getNotesPanel
in class SuggestionEditorPanel
public void init() throws PIRL.Database.Database_Exception
init
in class SuggestionEditorPanel
PIRL.Database.Database_Exception
- Could not connect to databasepublic void updateObservationFields(Observation_Record observation)
updateObservationFields
in class SuggestionEditorPanel
public void setDefaultSuggester(java.lang.String suggester)
setDefaultSuggester
in class SuggestionEditorPanel
suggester
- the new suggester for the editor.public boolean saveSuggestion(boolean notifyOnSave)
notifyOnSave
- if true, the panel will alert the operator
that the suggestion has been saved.public int showAdvancedEditorDialog(java.awt.Component parent)
parent
- the dialog owner.public void enableOwnerFields(boolean enabled)
enableOwnerFields
in class SuggestionEditorPanel
public void enableOwnerHitsFields(boolean enabled)
enableOwnerHitsFields
in class SuggestionEditorPanel
public void enableStlFields(boolean enabled)
enableStlFields
in class SuggestionEditorPanel
public void enableEditorFields(boolean enabled)
enableEditorFields
in class SuggestionEditorPanel
public void validateSuggestion() throws SuggestionEditorPanel.Validation_Exception
SuggestionEditorPanel.Validation_Exception
will be thrown.
This method overrides the SuggestionEditorPanel.validateSuggestion()
method. After it makes its own checks, however, it calls the overridden
method as well, so all necessary fields will be checked.
None. All checks are performed by the superclass.
validateSuggestion
in class SuggestionEditorPanel
SuggestionEditorPanel.Validation_Exception
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona