public class InterpolationPanel
extends javax.swing.JPanel
限定符和类型 | 类和说明 |
---|---|
static interface |
InterpolationPanel.InterpolationUpdateListener |
限定符和类型 | 字段和说明 |
---|---|
private javax.swing.JButton |
clearButton |
private javax.swing.JComboBox<java.lang.String> |
comboBox |
private static java.lang.String[] |
comboBoxValues |
private static int |
DEFAULT_SELECTED_INDEX |
private int |
index |
private Interpolation |
interpolation |
private static java.lang.String |
LABEL_ALLOW_CORNER_WEIGHT |
private static java.lang.String |
LABEL_ALLOW_EXTRAPOLATION |
private static java.lang.String |
LABEL_CORNER_WEIGHT |
private static java.lang.String |
LABEL_ENFORCED_CONSERVATION |
private static java.lang.String |
LABEL_EXTEND_SOURCE_PATCH |
private static java.lang.String |
LABEL_FILE |
private static java.lang.String |
LABEL_GAUSS_ORDER |
private static java.lang.String |
LABEL_N |
private static java.lang.String |
LABEL_NORMALISATION |
private static java.lang.String |
LABEL_PARTIAL_COVERAGE |
private static java.lang.String |
LABEL_POLYNOMIAL_ORDER |
private static java.lang.String |
LABEL_USER_VALUE |
private static java.lang.String |
LABEL_WEIGHTED |
private static java.lang.String |
LABEL_YAC_LOCATION |
private InterpolationPanel.InterpolationUpdateListener |
listener |
private static java.lang.String |
NONE_SELECTED |
private static java.lang.String |
OPTION |
private javax.swing.JLabel |
optionNumberLabel |
private java.util.Map<java.lang.String,javax.swing.JComponent> |
parameterComponents |
private javax.swing.JPanel |
parametersPanel |
private static long |
serialVersionUID |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
构造器和说明 |
---|
InterpolationPanel(InterpolationPanel.InterpolationUpdateListener listener,
int index) |
InterpolationPanel(InterpolationPanel.InterpolationUpdateListener listener,
int index,
Interpolation interpolation) |
限定符和类型 | 方法和说明 |
---|---|
private void |
collectInterpolationParameters()
get the parameter values according to the method, at the end of each case stores informations in to the member object interpolation
|
private void |
createLayout()
create layout of panel on the interpolation tab to show dynamic parameters panel
|
private javax.swing.JPanel |
createParametersPanel()
create panel depending on the current interpolation
|
Interpolation |
getInterpolation() |
void |
setNewIndex(int index)
function for updating indexes of all next panels when one before them is removed
|
private void |
showInterpolationParameters()
set the parameter values according to the method
|
protected void |
showParametersPanel(boolean showPanel)
show panel when showPanel is true, otherwise clear the panel
|
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
private static final long serialVersionUID
private static final java.lang.String NONE_SELECTED
private static final java.lang.String OPTION
private static final java.lang.String LABEL_N
private static final java.lang.String LABEL_WEIGHTED
private static final java.lang.String LABEL_ENFORCED_CONSERVATION
private static final java.lang.String LABEL_PARTIAL_COVERAGE
private static final java.lang.String LABEL_NORMALISATION
private static final java.lang.String LABEL_ALLOW_EXTRAPOLATION
private static final java.lang.String LABEL_EXTEND_SOURCE_PATCH
private static final java.lang.String LABEL_POLYNOMIAL_ORDER
private static final java.lang.String LABEL_GAUSS_ORDER
private static final java.lang.String LABEL_ALLOW_CORNER_WEIGHT
private static final java.lang.String LABEL_CORNER_WEIGHT
private static final java.lang.String LABEL_USER_VALUE
private static final java.lang.String LABEL_FILE
private static final java.lang.String LABEL_YAC_LOCATION
private static final int DEFAULT_SELECTED_INDEX
private static java.lang.String[] comboBoxValues
private int index
private Interpolation interpolation
private java.util.Map<java.lang.String,javax.swing.JComponent> parameterComponents
private javax.swing.JComboBox<java.lang.String> comboBox
private InterpolationPanel.InterpolationUpdateListener listener
private javax.swing.JPanel parametersPanel
private javax.swing.JLabel optionNumberLabel
private javax.swing.JButton clearButton
public InterpolationPanel(InterpolationPanel.InterpolationUpdateListener listener, int index)
public InterpolationPanel(InterpolationPanel.InterpolationUpdateListener listener, int index, Interpolation interpolation)
public Interpolation getInterpolation()
private void createLayout()
public void setNewIndex(int index)
index
- index of panel in the interpolation listprotected void showParametersPanel(boolean showPanel)
showPanel
- when true, panel is selected when false, panel is removedprivate javax.swing.JPanel createParametersPanel()
private void showInterpolationParameters()
private void collectInterpolationParameters()