Package org.compiere.grid.ed
Class VEditorFactory
- java.lang.Object
-
- org.compiere.grid.ed.VEditorFactory
-
public class VEditorFactory extends Object
Factory for VEditor and its Label for single Row display and multi row-editor- Version:
- $Id: VEditorFactory.java,v 1.3 2006/07/30 00:51:28 jjanke Exp $
- Author:
- Jorg Janked
- See Also:
for multi-row display
-
-
Constructor Summary
Constructors Constructor Description VEditorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VEditorgetEditor(GridField mField, boolean tableEditor)Create Editor for MField.static VEditorgetEditor(GridTab mTab, GridField mField, boolean tableEditor)Create Editor for MField.static CLabelgetLabel(GridField mField)Create Label for MField.
-
-
-
Method Detail
-
getEditor
public static VEditor getEditor(GridField mField, boolean tableEditor)
Create Editor for MField. The Name is set to the column name for dynamic display management- Parameters:
mField- MFieldtableEditor- true if table editor- Returns:
- grid editor
-
getEditor
public static VEditor getEditor(GridTab mTab, GridField mField, boolean tableEditor)
Create Editor for MField. The Name is set to the column name for dynamic display management- Parameters:
mTab- MTabmField- MFieldtableEditor- true if table editor- Returns:
- grid editor
-
-