Class 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 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