net.sf.taverna.t2.partition.ui
Interface TableTreeNodeColumn


public interface TableTreeNodeColumn

A column used in the tree part of the table tree node renderer

Author:
Tom Oinn

Method Summary
 java.awt.Component getCellRenderer(java.lang.Object value)
          Given a node value render the appropriate property for this column
 java.awt.Color getColour()
          Get a header colour - the actual column colour will be a stripe of the result of applying the lighter operator twice and once to this colour.
 int getColumnWidth()
          Return the width in pixels for this column
 java.lang.String getDescription()
          Get a descriptive string for tooltips etc.
 java.lang.String getShortName()
          Get a string to use as the header text
 

Method Detail

getShortName

java.lang.String getShortName()
Get a string to use as the header text

Returns:

getDescription

java.lang.String getDescription()
Get a descriptive string for tooltips etc.

Returns:

getCellRenderer

java.awt.Component getCellRenderer(java.lang.Object value)
Given a node value render the appropriate property for this column

Parameters:
value -
Returns:

getColumnWidth

int getColumnWidth()
Return the width in pixels for this column

Returns:

getColour

java.awt.Color getColour()
Get a header colour - the actual column colour will be a stripe of the result of applying the lighter operator twice and once to this colour.