gui.panels
public class AxisDisplaySettingsPanel extends javax.swing.JPanel
Axis
of the ParallelCoordinatesChart
.TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
AxisDisplaySettingsPanel(Main mainWindow,
ParallelCoordinatesDisplaySettingsDialog dialog)
Instantiates a new axis display settings panel that is used to modify the user preferences.
|
AxisDisplaySettingsPanel(Main mainWindow,
ParallelCoordinatesDisplaySettingsDialog dialog,
ChartFrame chartFrame)
Instantiates a new axis display settings panel that is used to modify the settings of a particular chart.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoFitAxisSelection()
Gets the auto fit axis selection.
|
javax.swing.JComboBox |
getAxisChoiceCombo()
Gets the axis choice combo.
|
ColorChoiceButton |
getAxisColorButton()
Gets the axis color button.
|
AxisDisplaySettingsActionListener |
getAxisDisplaySettingsActionListener()
Gets the axis display settings action listener.
|
ColorChoiceButton |
getAxisLabelColorButton()
Gets the axis label color button.
|
javax.swing.JSpinner |
getAxisLabelFontSizeSpinner()
Gets the axis label font size spinner.
|
double |
getAxisMax()
Gets the axis max.
|
double |
getAxisMin()
Gets the axis min.
|
javax.swing.JSpinner |
getAxisWidthSpinner()
Gets the axis width spinner.
|
ChartFrame |
getChartFrame()
Gets the chart frame.
|
boolean |
getInvertAxisSelection()
Gets the invert axis selection.
|
boolean |
getInvertFilterSelection()
Gets the invert filter selection.
|
javax.swing.JSpinner |
getTicCountSpinner()
Gets the tic count spinner.
|
ColorChoiceButton |
getTicLabelColorButton()
Gets the tic label color button.
|
javax.swing.JSpinner |
getTicLabelFontSizeSpinner()
Gets the tic label font size spinner.
|
javax.swing.JSpinner |
getTicSizeSpinner()
Gets the tic size spinner.
|
void |
setActionListener(AxisDisplaySettingsActionListener cmd)
Sets the action listeners to the controls.
|
void |
setAutoFitAxisSelection(boolean autoFitAxisSelection)
Sets the auto fit axis selection.
|
void |
setAxisRangeFieldsEnabled(boolean fieldsEnabled)
When autofitting is switched off, this method is used to enable the fields
where the ranges can be entered.
|
void |
setInvertAxisSelection(boolean invertAxisSelection)
Sets the invert axis selection.
|
void |
setInvertFilterSelection(boolean invertFilterSelection)
Sets the invert filter selection.
|
void |
setOkCancelButtonTargetChart(ParallelCoordinatesChart chart)
Tells the panel that the settings should be applied to the a specific chart
|
void |
setOkCancelButtonTargetDefaultSettings()
Tells the panel that the settings should be applied to the user preferences
|
void |
setStates(Axis axis)
Sets the initial states of all controls.
|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, 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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, 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, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, 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, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, 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, hide, 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, 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 AxisDisplaySettingsPanel(Main mainWindow, ParallelCoordinatesDisplaySettingsDialog dialog)
mainWindow
- the main windowdialog
- the dialog on which the panel is locatedpublic AxisDisplaySettingsPanel(Main mainWindow, ParallelCoordinatesDisplaySettingsDialog dialog, ChartFrame chartFrame)
mainWindow
- the main windowdialog
- the dialog on which the panel is locatedchartFrame
- the chart frame to which the settings apply.public void setStates(Axis axis)
axis
- the new statespublic void setActionListener(AxisDisplaySettingsActionListener cmd)
cmd
- the new action listenerpublic void setOkCancelButtonTargetDefaultSettings()
public void setOkCancelButtonTargetChart(ParallelCoordinatesChart chart)
chart
- chart to which the settings should be appliedpublic AxisDisplaySettingsActionListener getAxisDisplaySettingsActionListener()
public void setInvertFilterSelection(boolean invertFilterSelection)
invertFilterSelection
- the new invert filter selectionpublic boolean getInvertFilterSelection()
public void setInvertAxisSelection(boolean invertAxisSelection)
invertAxisSelection
- the new invert axis selectionpublic boolean getInvertAxisSelection()
public void setAutoFitAxisSelection(boolean autoFitAxisSelection)
autoFitAxisSelection
- the new auto fit axis selectionpublic boolean getAutoFitAxisSelection()
public javax.swing.JSpinner getAxisLabelFontSizeSpinner()
public javax.swing.JSpinner getTicCountSpinner()
public javax.swing.JSpinner getTicLabelFontSizeSpinner()
public javax.swing.JSpinner getTicSizeSpinner()
public javax.swing.JSpinner getAxisWidthSpinner()
public ColorChoiceButton getAxisColorButton()
public ColorChoiceButton getAxisLabelColorButton()
public ColorChoiceButton getTicLabelColorButton()
public javax.swing.JComboBox getAxisChoiceCombo()
public ChartFrame getChartFrame()
public double getAxisMax()
public double getAxisMin()
public void setAxisRangeFieldsEnabled(boolean fieldsEnabled)
fieldsEnabled
- specifies whether the axis range fields are enabled