fr.reseaumexico.editor.factorValue
Class FactorValueEditorFactory
java.lang.Object
fr.reseaumexico.editor.factorValue.FactorValueEditorFactory
public class FactorValueEditorFactory
- extends Object
Factory used to open specific editor to input factor value
- Since:
- 0.1
- Author:
- sletellier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factorValueEditorCache
protected Map<Factor,FactorValueEditorFactory.FactorValueCellEditor<?>> factorValueEditorCache
FactorValueEditorFactory
public FactorValueEditorFactory()
getDialogEditor
public FactorValueEditor getDialogEditor(Factor factor,
Object value)
- Provide specific
JDialog editor for factor value
- Parameters:
factor - concernedvalue - value to edit
- Returns:
FactorValueEditor contain editor to open as JDialog,
null if cell editor must be used
getFactorValueCellEditor
protected FactorValueEditorFactory.FactorValueCellEditor<?> getFactorValueCellEditor(Factor factor)
setFactorValueCellEditor
protected void setFactorValueCellEditor(Factor factor,
FactorValueEditorFactory.FactorValueCellEditor<?> editor)
getCellEditor
public FactorValueEditorFactory.FactorValueCellEditor getCellEditor(Factor factor,
Object value)
- Provide specific cell editor for factor value
- Parameters:
factor - concernedvalue - value to edit
- Returns:
FactorValueCellEditor contain editor to display
getRenderedComponent
public FactorValueEditorFactory.FactorValueCellRenderer getRenderedComponent(Factor factor,
Object value)
- Provide a specific cell renderer for factor value
- Parameters:
factor - concernedvalue - value to edit
- Returns:
FactorValueEditorFactory.FactorValueCellRenderer contain renderer to display
getStringValue
protected static String getStringValue(Object value)
Copyright © 2011-2012 Code Lutin. All Rights Reserved.