org.uispec4j
Class ModelTableCellValueConverter

java.lang.Object
  extended by org.uispec4j.ModelTableCellValueConverter
All Implemented Interfaces:
TableCellValueConverter

public class ModelTableCellValueConverter
extends java.lang.Object
implements TableCellValueConverter

Converter that returns the object managed by the underlying JTable's model. This is to be used sparingly since it can disclose the application's internals, and you probably want the tests to be as independent as possible from the implementation.


Field Summary
static TableCellValueConverter INSTANCE
           
 
Constructor Summary
ModelTableCellValueConverter()
           
 
Method Summary
 java.lang.Object getValue(int row, int column, java.awt.Component renderedComponent, java.lang.Object modelObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final TableCellValueConverter INSTANCE
Constructor Detail

ModelTableCellValueConverter

public ModelTableCellValueConverter()
Method Detail

getValue

public java.lang.Object getValue(int row,
                                 int column,
                                 java.awt.Component renderedComponent,
                                 java.lang.Object modelObject)
Specified by:
getValue in interface TableCellValueConverter


Copyright © 2004-2010. All Rights Reserved.