Class WSearchEditor

    • Constructor Detail

      • WSearchEditor

        public WSearchEditor​(GridField gridField)
        Parameters:
        gridField -
      • WSearchEditor

        public WSearchEditor​(GridField gridField,
                             boolean tableEditor,
                             IEditorConfiguration editorConfiguration)
        Parameters:
        gridField -
        tableEditor -
        editorConfiguration -
      • WSearchEditor

        public WSearchEditor​(Lookup lookup,
                             String label,
                             String description,
                             boolean mandatory,
                             boolean readonly,
                             boolean updateable)
        Constructor for use if a grid field is unavailable
        Parameters:
        lookup - Store of selectable data
        label - column name (not displayed)
        description - description of component
        mandatory - whether a selection must be made
        readonly - whether or not the editor is read only
        updateable - whether the editor contents can be changed
      • WSearchEditor

        public WSearchEditor​(String columnName,
                             boolean mandatory,
                             boolean readonly,
                             boolean updateable,
                             Lookup lookup)
    • Method Detail

      • isReadWrite

        public boolean isReadWrite()
        Specified by:
        isReadWrite in class WEditor
        Returns:
        editable
      • setReadWrite

        public void setReadWrite​(boolean readWrite)
        Specified by:
        setReadWrite in class WEditor
      • onEvent

        public void onEvent​(org.zkoss.zk.ui.event.Event e)
        Specified by:
        onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
      • actionRefresh

        protected void actionRefresh​(Object value)
      • actionText

        protected void actionText​(String text)
      • resetButtonState

        protected void resetButtonState()
      • actionCombo

        protected void actionCombo​(Object value)
      • actionQuickEntry

        protected void actionQuickEntry​(boolean newRecord)
        Action - Special Quick Entry Screen
        Parameters:
        newRecord - true if new record should be created
      • actionButton

        protected void actionButton​(String queryValue)
      • showInfoPanel

        public void showInfoPanel​(InfoPanel ip)
      • setTableEditor

        public void setTableEditor​(boolean b)
        Overrides:
        setTableEditor in class WEditor
      • isShowingDialog

        public boolean isShowingDialog()
      • createBPartner

        public static WSearchEditor createBPartner​(int windowNo)
        Parameters:
        windowNo -
        Returns:
        WSearchEditor
      • createProduct

        public static WSearchEditor createProduct​(int windowNo)
        Parameters:
        windowNo -
        Returns:
        WSearchEditor
      • dynamicDisplay

        public void dynamicDisplay​(Properties ctx)
        Description copied from class: WEditor
        allow subclass to perform dynamic loading of data
        Overrides:
        dynamicDisplay in class WEditor