public class CCD_Panel
extends javax.swing.JPanel
implements javax.swing.event.ListSelectionListener
WARNING: This API is under development and is not stable.
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CCD_NAME
The default CCD name.
|
static double |
DEFAULT_FROST_PEAK_THRESHOLD
The default value for the frost peak threshold.
|
static java.awt.Paint |
DEFAULT_HISTOGRAM_PAINT
The default histogram paint.
|
static double |
DEFAULT_IMAGE_MEAN_THRESHOLD
The default value for the image mean threshold.
|
static java.lang.String |
ID
Class identification name with source code version and date.
|
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
CCD_Panel(java.lang.String ccdName) |
CCD_Panel(java.lang.String ccdName,
java.util.List<java.lang.Integer> displayedBins) |
CCD_Panel(java.lang.String ccdName,
java.util.List<java.lang.Integer> displayedBins,
java.awt.Paint histogramPaint) |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener changeListener) |
protected void |
fireStateChanged() |
int |
getBin() |
java.lang.String |
getCcdName()
Gets the name of the CCD that this panel models.
|
javax.swing.event.ChangeListener[] |
getChangeListeners() |
double |
getCombinedMean() |
CCD_Data |
getData() |
CCD_Data.Data_Plane |
getDataPlane() |
double |
getdn() |
double |
getDnNoise() |
double |
getElectronCount() |
double |
getFrostMean() |
double |
getFrostPeakThreshold() |
java.awt.Paint |
getHistogramPaint()
Gets the current paint for the CCD histogram.
|
double |
getImageMeanThreshold() |
int |
getInitialBin() |
int |
getInitialTdi() |
double |
getOffset() |
double |
getSaturation()
Gets the saturation percentage of the predicted distribution.
|
double |
getSnr() |
double |
getSurfaceMean() |
int |
getTdi() |
void |
removeChangeListener(javax.swing.event.ChangeListener changeListener) |
void |
setBin(int bin) |
void |
setCdName(java.lang.String ccdName)
Sets the name of the CCD that this panel models.
|
void |
setData(CCD_Data data) |
void |
setDataPlane(CCD_Data.Data_Plane dataPlane)
Sets the data plane displayed in the data table.
|
void |
setEnabled(boolean enabled) |
void |
setFrostPeakThreshold(double frostPeakThreshold) |
void |
setHistogram(Model model) |
void |
setHistogramPaint(java.awt.Paint histogramPaint)
Sets the paint for the CCD histogram.
|
void |
setImageMeanThreshold(double imageMeanThreshold) |
void |
setTdi(int tdi) |
void |
setTdiBin(int tdi,
int bin) |
void |
updateTable(Model model) |
void |
useLogAxis(boolean useLogAxis) |
void |
valueChanged(javax.swing.event.ListSelectionEvent e) |
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, 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 static final double DEFAULT_IMAGE_MEAN_THRESHOLD
public static final double DEFAULT_FROST_PEAK_THRESHOLD
public static final java.awt.Paint DEFAULT_HISTOGRAM_PAINT
public static final java.lang.String DEFAULT_CCD_NAME
public CCD_Panel(java.lang.String ccdName, java.util.List<java.lang.Integer> displayedBins, java.awt.Paint histogramPaint)
public CCD_Panel(java.lang.String ccdName, java.util.List<java.lang.Integer> displayedBins)
public CCD_Panel(java.lang.String ccdName)
public java.lang.String getCcdName()
public void setCdName(java.lang.String ccdName)
CCD name
.ccdName
- the new CCD name.public java.awt.Paint getHistogramPaint()
public void setHistogramPaint(java.awt.Paint histogramPaint)
DEFAULT_HISTOGRAM_PAINT
will be used instead.histogramPaint
- the new paint; may be null.public CCD_Data getData()
public void setData(CCD_Data data)
public CCD_Data.Data_Plane getDataPlane()
public void setDataPlane(CCD_Data.Data_Plane dataPlane)
dataPlane
- the new data plane.TDI_Bin_Table_Model.setDataPlane(CCD_Data.Data_Plane)
public void setHistogram(Model model)
public double getImageMeanThreshold()
public void setImageMeanThreshold(double imageMeanThreshold)
public double getFrostPeakThreshold()
public void setFrostPeakThreshold(double frostPeakThreshold)
public int getInitialBin()
public int getInitialTdi()
public int getTdi()
public void setTdi(int tdi)
public int getBin()
public void setBin(int bin)
public void setTdiBin(int tdi, int bin)
public double getSurfaceMean()
public double getFrostMean()
public double getCombinedMean()
public double getSaturation()
public double getSnr()
public double getdn()
public double getElectronCount()
public double getOffset()
public double getDnNoise()
public void addChangeListener(javax.swing.event.ChangeListener changeListener)
public void removeChangeListener(javax.swing.event.ChangeListener changeListener)
public javax.swing.event.ChangeListener[] getChangeListeners()
protected void fireStateChanged()
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener
public void updateTable(Model model)
public void useLogAxis(boolean useLogAxis)
public void setEnabled(boolean enabled)
setEnabled
in class javax.swing.JComponent
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona