Class WLocatorEditor

    • Constructor Detail

      • WLocatorEditor

        public WLocatorEditor()
        IDE Constructor
      • WLocatorEditor

        public WLocatorEditor​(String columnName,
                              boolean mandatory,
                              boolean isReadOnly,
                              boolean isUpdateable,
                              MLocatorLookup mLocator,
                              int windowNo)
        Constructor
        Parameters:
        columnName - ColumnName
        mandatory - mandatory
        isReadOnly - read only
        isUpdateable - updateable
        mLocator - locator (lookup) model
        windowNo - window no
      • WLocatorEditor

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

        public WLocatorEditor​(GridField gridField,
                              boolean tableEditor,
                              IEditorConfiguration editorConfiguration)
        Parameters:
        gridField -
        tableEditor -
        editorConfiguration -
    • Method Detail

      • getValue

        public Object getValue()
        Return Editor value
        Specified by:
        getValue in class WEditor
        Returns:
        value
      • isReadWrite

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

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

        public int getM_Locator_ID()
        Get M_Locator_ID
        Returns:
        id
      • getDisplay

        public String getDisplay()
        Return Display Value
        Specified by:
        getDisplay in class WEditor
        Returns:
        display value
      • onEvent

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

        public void actionRefresh()
      • setField

        public void setField​(GridField mField)
        Set Field/WindowNo for ValuePreference (NOP)
        Parameters:
        mField - Model Field
      • getEvents

        public String[] getEvents()
        return listener events to be associated with editor component
        Overrides:
        getEvents in class WEditor
        Returns:
        list of events
      • setTableEditor

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

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