Cytoscape 3.0.1 API

Class ColumnResizer

  extended by org.cytoscape.util.swing.ColumnResizer

public final class ColumnResizer
extends Object

Automatically resize column based on the objects in the cell.

From Swing Hacks by Joshua Marinacci and Chris Adamson.
2005 Oreilly & Associates Inc. ISBN: 0-596-00907-0

Joshua Marinacci, Chris Adamson, Keiichiro Ono

Cytoscape Backwards Compatibility (Static Class): This class is static and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.

Method Summary
static void adjustColumnPreferredWidths(JTable table)
          Adjust the columns in the table to their preferred widths.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static void adjustColumnPreferredWidths(JTable table)
Adjust the columns in the table to their preferred widths.

table - The table whose columns should be adjusted.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.