Cytoscape 2.8.0 API

cytoscape.util.swing
Class ColumnResizer

java.lang.Object
  extended by cytoscape.util.swing.ColumnResizer

public 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

Customized by Keiichiro Ono

Since:
Cytoscape 2.4
Version:
1.0
Author:
Joshua Marinacci, Chris Adamson, Keiichiro Ono

Constructor Summary
ColumnResizer()
           
 
Method Summary
static void adjustColumnPreferredWidths(JTable table)
          DOCUMENT ME!
static HashMap<String,Integer> getColumnPreferredWidths(JTable table)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnResizer

public ColumnResizer()
Method Detail

adjustColumnPreferredWidths

public static void adjustColumnPreferredWidths(JTable table)
DOCUMENT ME!

Parameters:
table - DOCUMENT ME!

getColumnPreferredWidths

public static HashMap<String,Integer> getColumnPreferredWidths(JTable table)
DOCUMENT ME!

Parameters:
table - DOCUMENT ME!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.