Adempiere 3.5.2a

org.compiere.grid.ed
Class VEditorFactory

java.lang.Object
  extended by 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
VEditorFactory()
           
 
Method Summary
static VEditor getEditor(GridField mField, boolean tableEditor)
          Create Editor for MField.
static VEditor getEditor(GridTab mTab, GridField mField, boolean tableEditor)
          Create Editor for MField.
static CLabel getLabel(GridField mField)
          Create Label for MField.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VEditorFactory

public VEditorFactory()
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 - MField
tableEditor - 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 - MTab
mField - MField
tableEditor - true if table editor
Returns:
grid editor

getLabel

public static CLabel getLabel(GridField mField)
Create Label for MField. (null for YesNo/Button) The Name is set to the column name for dynamic display management

Parameters:
mField - MField
Returns:
Label

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.