org.knime.base.node.viz.pie.impl
Class PieProperties<D extends PieVizModel>
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTabbedPane
org.knime.base.node.viz.plotter.AbstractPlotterProperties
org.knime.base.node.viz.pie.impl.PieProperties<D>
- Type Parameters:
D
- the PieVizModel
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants
- Direct Known Subclasses:
- FixedPieProperties, InteractivePieProperties
public abstract class PieProperties<D extends PieVizModel>
- extends AbstractPlotterProperties
The abstract pie properties panel which allows to change the different
view options.
- Author:
- Tobias Koetter, University of Konstanz
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Constructor Summary |
PieProperties(D vizModel)
Constructor for class PieProperties. |
Methods inherited from class javax.swing.JTabbedPane |
add, add, add, add, add, addChangeListener, addTab, addTab, addTab, createChangeListener, fireStateChanged, getAccessibleContext, getBackgroundAt, getBoundsAt, getChangeListeners, getComponentAt, getDisabledIconAt, getDisplayedMnemonicIndexAt, getForegroundAt, getIconAt, getMnemonicAt, getModel, getSelectedComponent, getSelectedIndex, getTabComponentAt, getTabCount, getTabLayoutPolicy, getTabPlacement, getTabRunCount, getTitleAt, getToolTipText, getToolTipTextAt, getUI, getUIClassID, indexAtLocation, indexOfComponent, indexOfTab, indexOfTab, indexOfTabComponent, insertTab, isEnabledAt, paramString, remove, remove, removeAll, removeChangeListener, removeTabAt, setBackgroundAt, setComponentAt, setDisabledIconAt, setDisplayedMnemonicIndexAt, setEnabledAt, setForegroundAt, setIconAt, setMnemonicAt, setModel, setSelectedComponent, setSelectedIndex, setTabComponentAt, setTabLayoutPolicy, setTabPlacement, setTitleAt, setToolTipTextAt, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
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, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, 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 |
Methods inherited from class java.awt.Container |
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, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, 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, 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, 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, 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, transferFocusUpCycle |
PIE_COLUMN_LABEL
public static final String PIE_COLUMN_LABEL
- The label of the pie column.
- See Also:
- Constant Field Values
AGGREGATION_COLUMN_LABEL
public static final String AGGREGATION_COLUMN_LABEL
- The label of the aggregation column.
- See Also:
- Constant Field Values
PieProperties
public PieProperties(D vizModel)
- Constructor for class PieProperties.
- Parameters:
vizModel
- the visualization model to initialize all swing
components
enableMissingSectionOption
protected void enableMissingSectionOption(boolean enable)
- Parameters:
enable
- true
if the show missing section check box
should be enabled or not
enableShowDetailsOption
protected void enableShowDetailsOption(boolean enable)
- Parameters:
enable
- true
if the show details check box
should be enabled or not
enableAggrMethodGroup
protected void enableAggrMethodGroup(boolean enable)
- Parameters:
enable
- true
if the aggregation method group should
be enabled
updateHTMLDetailsPanel
public void updateHTMLDetailsPanel(String html)
- Parameters:
html
- the new details view
addColumnTab
protected void addColumnTab(JComponent pieCol,
JComponent aggrCol)
- Parameters:
pieCol
- the pie column componentaggrCol
- the aggregation column component
updatePanel
public void updatePanel(D vizModel)
- Parameters:
vizModel
- the actual PieVizModel
updatePanelInternal
protected abstract void updatePanelInternal(D vizModel)
- Parameters:
vizModel
- the actual PieVizModel
getValueScale
public ValueScale getValueScale()
- Returns:
- the label display policy
getLabelDisplayPolicy
public LabelDisplayPolicy getLabelDisplayPolicy()
- Returns:
- the label display policy
onSelectAggrMethod
protected abstract void onSelectAggrMethod(AggregationMethod aggrMethod)
- Parameters:
aggrMethod
- new AggregationMethod
addLabelDisplayListener
protected void addLabelDisplayListener(ActionListener listener)
- Parameters:
listener
- the listener to listen if the label display policy has
changed
addValueScaleListener
protected void addValueScaleListener(ActionListener listener)
- Parameters:
listener
- the listener to listen if the label display policy has
changed
addShowSectionOutlineChangedListener
public void addShowSectionOutlineChangedListener(ItemListener listener)
- Parameters:
listener
- adds the listener to the show section outline check box
addPieSizeChangeListener
protected void addPieSizeChangeListener(ChangeListener listener)
- Parameters:
listener
- adds the listener to the bin width slider
addExplodeSizeChangeListener
protected void addExplodeSizeChangeListener(ChangeListener listener)
- Parameters:
listener
- adds the listener to the bin width slider
addAggrMethodListener
protected void addAggrMethodListener(ActionListener listener)
- Parameters:
listener
- adds the listener to the aggregation method button
group
addExplodeSelectedSectionListener
protected void addExplodeSelectedSectionListener(ItemListener listener)
- Parameters:
listener
- adds the listener to the show empty bins select box
addShowDetailsListener
protected void addShowDetailsListener(ItemListener listener)
- Parameters:
listener
- adds the listener to the show empty bins select box
addShowMissingValSectionListener
protected void addShowMissingValSectionListener(ItemListener listener)
- Parameters:
listener
- adds the listener to the show missing value bin
select box
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.