Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.javatools.ui.table
Interface DisplayableTable

All Known Implementing Classes:
GenericTable

public interface DisplayableTable

Interface that is used to display the table cells values in a readable text form. Clients can implement this interface for their table and return a text from convertValueToText method. That will be used by GenericTableRenderer to display the cell values and also by TableTransferHandler for copying the table data to the clipboard. For more information on this TransferHandler, see TableHelper.installTableTransferHandler method.


Method Summary
 java.lang.String convertValueToText(java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
          Called by the renderers to convert the specified value to text.

 

Method Detail

convertValueToText

java.lang.String convertValueToText(java.lang.Object value,
                                    boolean isSelected,
                                    boolean hasFocus,
                                    int row,
                                    int column)
Called by the renderers to convert the specified value to text. Return null to use the original Object value.
Parameters:
value - the Object to convert to text
isSelected - true if cell is selected
hasFocus - true if cell has focus
row - the row of the cell to render
column - the column of the cell to render
Returns:
the String representation of the node's value

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.