public class FactorValueEditorFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
FactorValueEditorFactory.BooleanFactorValueInlineEditor |
protected static class |
FactorValueEditorFactory.DecimalFactorValueInlineEditor |
protected static class |
FactorValueEditorFactory.DefaultFactorValueInlineEditor |
static interface |
FactorValueEditorFactory.FactorValueCellEditor<B> |
static interface |
FactorValueEditorFactory.FactorValueCellRenderer |
protected static class |
FactorValueEditorFactory.IntegerFactorValueInlineEditor |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Factor,FactorValueEditorFactory.FactorValueCellEditor<?>> |
factorValueEditorCache |
| Constructor and Description |
|---|
FactorValueEditorFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
FactorValueEditorFactory.FactorValueCellEditor |
getCellEditor(Factor factor,
Object value)
Provide specific cell editor for factor value
|
FactorValueEditor |
getDialogEditor(Factor factor,
Object value)
Provide specific
JDialog editor for factor value |
protected FactorValueEditorFactory.FactorValueCellEditor<?> |
getFactorValueCellEditor(Factor factor) |
FactorValueEditorFactory.FactorValueCellRenderer |
getRenderedComponent(Factor factor,
Object value)
Provide a specific cell renderer for factor value
|
protected static String |
getStringValue(Object value) |
protected void |
setFactorValueCellEditor(Factor factor,
FactorValueEditorFactory.FactorValueCellEditor<?> editor) |
protected Map<Factor,FactorValueEditorFactory.FactorValueCellEditor<?>> factorValueEditorCache
public FactorValueEditor getDialogEditor(Factor factor, Object value)
JDialog editor for factor valuefactor - concernedvalue - value to editFactorValueEditor contain editor to open as JDialog,
null if cell editor must be usedprotected FactorValueEditorFactory.FactorValueCellEditor<?> getFactorValueCellEditor(Factor factor)
protected void setFactorValueCellEditor(Factor factor, FactorValueEditorFactory.FactorValueCellEditor<?> editor)
public FactorValueEditorFactory.FactorValueCellEditor getCellEditor(Factor factor, Object value)
factor - concernedvalue - value to editFactorValueCellEditor contain editor to displaypublic FactorValueEditorFactory.FactorValueCellRenderer getRenderedComponent(Factor factor, Object value)
factor - concernedvalue - value to editFactorValueEditorFactory.FactorValueCellRenderer contain renderer to displaypublic void clearCache()
Copyright © 2011–2013 Code Lutin. All rights reserved.