public abstract class

ValueColumn

extends TableColumnExt
java.lang.Object
   ↳ javax.swing.table.TableColumn
     ↳ org.jdesktop.swingx.table.TableColumnExt
       ↳ vars.annotation.ui.table.ValueColumn
Known Direct Subclasses

Class Overview

Class used by ObservationTable model to render columns.

License

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement. This information should not be published or distributed to third parties without specific written permission from MBARI.

Copyright 2004 MBARI. MBARI Proprietary Information. All rights reserved.

Summary

[Expand]
Inherited Constants
From class javax.swing.table.TableColumn
[Expand]
Inherited Fields
From class org.jdesktop.swingx.table.TableColumnExt
From class javax.swing.table.TableColumn
Public Constructors
ValueColumn(String id)
Constructor for the ValueColumn object
ValueColumn(String id, int modelIndex)
ValueColumn(String id, int modelIndex, int width)
ValueColumn(String id, int modelIndex, int width, TableCellRenderer cellRenderer, TableCellEditor cellEditor)
Public Methods
abstract Class getColumnClass()
Gets the columnClass attribute of the ValueColumn object
abstract Object getValue(Observation observation)
Gets the value attribute of the ValueColumn object
boolean isCellEditable()
Gets the cellEditable attribute of the ValueColumn object
boolean isSortable()
Gets the sortable attribute of the ValueColumn object
void setValue(Observation observation, Object value)
Sets the value attribute of the ValueColumn object
[Expand]
Inherited Methods
From class org.jdesktop.swingx.table.TableColumnExt
From class javax.swing.table.TableColumn
From class java.lang.Object
From interface org.jdesktop.swingx.plaf.UIDependent

Public Constructors

public ValueColumn (String id)

Constructor for the ValueColumn object

public ValueColumn (String id, int modelIndex)

public ValueColumn (String id, int modelIndex, int width)

public ValueColumn (String id, int modelIndex, int width, TableCellRenderer cellRenderer, TableCellEditor cellEditor)

Public Methods

public abstract Class getColumnClass ()

Gets the columnClass attribute of the ValueColumn object

Returns
  • The columnClass value

public abstract Object getValue (Observation observation)

Gets the value attribute of the ValueColumn object

Parameters
observation Description of the Parameter
Returns
  • The value value

public boolean isCellEditable ()

Gets the cellEditable attribute of the ValueColumn object

Returns
  • The cellEditable value

public boolean isSortable ()

Gets the sortable attribute of the ValueColumn object

Returns
  • The sortable value

public void setValue (Observation observation, Object value)

Sets the value attribute of the ValueColumn object

Parameters
observation The new value value
value The new value value