org.uispec4j
Class DefaultListBoxCellValueConverter

java.lang.Object
  extended by org.uispec4j.DefaultListBoxCellValueConverter
All Implemented Interfaces:
ListBoxCellValueConverter

public class DefaultListBoxCellValueConverter
extends java.lang.Object
implements ListBoxCellValueConverter

Default implementation for the ListBoxCellValueConverter interface. Returns the text displayed by the renderer, only in the case of JLabel renderers - this method will return an empty String if the renderer is not a JLabel.


Constructor Summary
DefaultListBoxCellValueConverter()
           
 
Method Summary
 java.lang.String getValue(int index, 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
 

Constructor Detail

DefaultListBoxCellValueConverter

public DefaultListBoxCellValueConverter()
Method Detail

getValue

public java.lang.String getValue(int index,
                                 java.awt.Component renderedComponent,
                                 java.lang.Object modelObject)
Specified by:
getValue in interface ListBoxCellValueConverter


Copyright © 2004-2010. All Rights Reserved.