org.knime.base.node.viz.plotter
Class Plotter2DScrollPaneLayout
java.lang.Object
javax.swing.ScrollPaneLayout
org.knime.base.node.viz.plotter.Plotter2DScrollPaneLayout
- All Implemented Interfaces:
- LayoutManager, Serializable, ScrollPaneConstants
public class Plotter2DScrollPaneLayout
- extends ScrollPaneLayout
ScrollPaneLyout
for the plotter. In contrast to the
default manager for scroll panes, this manager creates the column header at
the bottom of the view (as expected of a function graph). For this reason the
layout container method is overwritten.
- Author:
- Christoph Sieb, University of Konstanz
- See Also:
- Serialized Form
Fields inherited from class javax.swing.ScrollPaneLayout |
colHead, hsb, hsbPolicy, lowerLeft, lowerRight, rowHead, upperLeft, upperRight, viewport, vsb, vsbPolicy |
Fields inherited from interface javax.swing.ScrollPaneConstants |
COLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT |
Method Summary |
void |
layoutContainer(Container parent)
Overwrites the method of the parent class to arrange the header at the
bottom of the view. |
Methods inherited from class javax.swing.ScrollPaneLayout |
addLayoutComponent, addSingletonComponent, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorderBounds, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setHorizontalScrollBarPolicy, setVerticalScrollBarPolicy, syncWithScrollPane |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Plotter2DScrollPaneLayout
public Plotter2DScrollPaneLayout()
layoutContainer
public void layoutContainer(Container parent)
- Overwrites the method of the parent class to arrange the header at the
bottom of the view.
- Specified by:
layoutContainer
in interface LayoutManager
- Overrides:
layoutContainer
in class ScrollPaneLayout
- Parameters:
parent
- parent container of the component rendered by this layout
manager- See Also:
LayoutManager.layoutContainer(java.awt.Container)
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.