DESY ACOP Beans Home

com.cosylab.gui.components.introspection
Class EditorsHelper

java.lang.Object
  extended by com.cosylab.gui.components.introspection.EditorsHelper

public class EditorsHelper
extends java.lang.Object

Version:
$id$
Author:
Miha Kadunc

Field Summary
static javax.swing.border.Border EMPTY_BORDER
           
static javax.swing.border.Border FOCUS_BORDER
           
 
Constructor Summary
EditorsHelper()
           
 
Method Summary
static java.lang.Object convert(java.lang.Object value, java.lang.Class type)
           
static PropertyEditor getPropertyEditorForClass(java.lang.Class theClass)
           
static javax.swing.table.TableCellEditor getTableCellEditorForClass(java.lang.Class theClass)
           
static javax.swing.table.TableCellEditor getTableCellEditorForClass(java.lang.Class theClass, int clickCountToStart)
           
static javax.swing.table.TableCellRenderer getTableCellRendererForClass(java.lang.Class theClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_BORDER

public static final javax.swing.border.Border EMPTY_BORDER

FOCUS_BORDER

public static final javax.swing.border.Border FOCUS_BORDER
Constructor Detail

EditorsHelper

public EditorsHelper()
Method Detail

getPropertyEditorForClass

public static PropertyEditor getPropertyEditorForClass(java.lang.Class theClass)
Parameters:
theClass - Class
Returns:
JTextField

getTableCellEditorForClass

public static javax.swing.table.TableCellEditor getTableCellEditorForClass(java.lang.Class theClass)
Parameters:
theClass - Class
Returns:
TableCellEditor

getTableCellEditorForClass

public static javax.swing.table.TableCellEditor getTableCellEditorForClass(java.lang.Class theClass,
                                                                           int clickCountToStart)
Parameters:
theClass - Class
Returns:
TableCellEditor

getTableCellRendererForClass

public static javax.swing.table.TableCellRenderer getTableCellRendererForClass(java.lang.Class theClass)
Parameters:
theClass - Class
Returns:
TableCellRenderer

convert

public static java.lang.Object convert(java.lang.Object value,
                                       java.lang.Class type)


Copyright © 2010. All Rights Reserved.