org.knime.core.node.interrupt
Class LayoutHelper
java.lang.Object
org.knime.core.node.interrupt.LayoutHelper
public abstract class LayoutHelper
- extends Object
A helper class for the use of the GridBagLayout.
- Author:
- Fabian Dill, University of Konstanz
Method Summary |
static GridBagConstraints |
makegbc(int gridx,
int gridy,
int width,
int height)
Creates an instance of GridBagConstraints with the following implicit
properties: weightx and weighty = 1. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
makegbc
public static GridBagConstraints makegbc(int gridx,
int gridy,
int width,
int height)
- Creates an instance of GridBagConstraints with the following implicit
properties: weightx and weighty = 1. anchor = CENTER. fill = BOTH. The
rest is set by the passed parameters.
- Parameters:
gridx
- - the x position in the grid.gridy
- - the y position in the grid.width
- - the number of gridBags in x direction.height
- - the number of gridBags in y direction.
- Returns:
- - GridBagConstraints with the set properties.
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.