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
String |
CELL_RENDERER_PROPERTY |
|
String |
COLUMN_WIDTH_PROPERTY |
|
String |
HEADER_RENDERER_PROPERTY |
|
String |
HEADER_VALUE_PROPERTY |
|
|
[Expand]
Inherited Fields |
From class
org.jdesktop.swingx.table.TableColumnExt
protected
Hashtable<Object, Object> |
clientProperties |
|
protected
Comparator<?> |
comparator |
|
protected
CompoundHighlighter |
compoundHighlighter |
|
protected
boolean |
editable |
|
protected
Object |
prototypeValue |
|
protected
boolean |
sortable |
|
protected
boolean |
visible |
|
|
From class
javax.swing.table.TableColumn
protected
TableCellEditor |
cellEditor |
|
protected
TableCellRenderer |
cellRenderer |
|
protected
TableCellRenderer |
headerRenderer |
|
protected
Object |
headerValue |
|
protected
Object |
identifier |
|
protected
boolean |
isResizable |
|
protected
int |
maxWidth |
|
protected
int |
minWidth |
|
protected
int |
modelIndex |
|
protected
int |
resizedPostingDisableCount |
|
protected
int |
width |
|
|
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
void
|
addHighlighter(Highlighter arg0)
|
void
|
copyClientPropertiesFrom(TableColumnExt arg0)
|
void
|
copyFrom(TableColumnExt arg0)
|
ChangeListener
|
createHighlighterChangeListener()
|
void
|
firePropertyChange(String arg0, Object arg1, Object arg2)
|
Object
|
getClientProperty(Object arg0)
|
Comparator<?>
|
getComparator()
|
CompoundHighlighter
|
getCompoundHighlighter()
|
ChangeListener
|
getHighlighterChangeListener()
|
Highlighter[]
|
getHighlighters()
|
Object
|
getPrototypeValue()
|
boolean
|
getResizable()
|
String
|
getTitle()
|
String
|
getToolTipText()
|
boolean
|
isEditable()
|
boolean
|
isSortable()
|
boolean
|
isVisible()
|
void
|
putClientProperty(Object arg0, Object arg1)
|
void
|
removeHighlighter(Highlighter arg0)
|
void
|
setComparator(Comparator<?> arg0)
|
void
|
setEditable(boolean arg0)
|
void
|
setHighlighters(Highlighter... arg0)
|
void
|
setPrototypeValue(Object arg0)
|
void
|
setSortable(boolean arg0)
|
void
|
setTitle(String arg0)
|
void
|
setToolTipText(String arg0)
|
void
|
setVisible(boolean arg0)
|
void
|
updateUI()
|
|
From class
javax.swing.table.TableColumn
synchronized
void
|
addPropertyChangeListener(PropertyChangeListener arg0)
|
TableCellRenderer
|
createDefaultHeaderRenderer()
|
void
|
disableResizedPosting()
|
void
|
enableResizedPosting()
|
TableCellEditor
|
getCellEditor()
|
TableCellRenderer
|
getCellRenderer()
|
TableCellRenderer
|
getHeaderRenderer()
|
Object
|
getHeaderValue()
|
Object
|
getIdentifier()
|
int
|
getMaxWidth()
|
int
|
getMinWidth()
|
int
|
getModelIndex()
|
int
|
getPreferredWidth()
|
synchronized
PropertyChangeListener[]
|
getPropertyChangeListeners()
|
boolean
|
getResizable()
|
int
|
getWidth()
|
synchronized
void
|
removePropertyChangeListener(PropertyChangeListener arg0)
|
void
|
setCellEditor(TableCellEditor arg0)
|
void
|
setCellRenderer(TableCellRenderer arg0)
|
void
|
setHeaderRenderer(TableCellRenderer arg0)
|
void
|
setHeaderValue(Object arg0)
|
void
|
setIdentifier(Object arg0)
|
void
|
setMaxWidth(int arg0)
|
void
|
setMinWidth(int arg0)
|
void
|
setModelIndex(int arg0)
|
void
|
setPreferredWidth(int arg0)
|
void
|
setResizable(boolean arg0)
|
void
|
setWidth(int arg0)
|
void
|
sizeWidthToFit()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
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
public
abstract
Object
getValue
(Observation observation)
Gets the value attribute of the ValueColumn object
Parameters
observation
| Description of the Parameter |
public
boolean
isCellEditable
()
Gets the cellEditable attribute of the ValueColumn object
public
boolean
isSortable
()
Gets the sortable attribute of the ValueColumn object
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
|