Class VPaymentEditor

    • Constructor Detail

      • VPaymentEditor

        public VPaymentEditor​(GridField gridField,
                              String columnName,
                              boolean mandatory,
                              boolean isReadOnly,
                              boolean isUpdateable,
                              MPaymentLookup lookup)
    • Method Detail

      • dispose

        public void dispose()
        Description copied from interface: VEditor
        Dispose
        Specified by:
        dispose in interface VEditor
      • setReadWrite

        public void setReadWrite​(boolean value)
        Description copied from interface: CEditor
        Enable Editor
        Specified by:
        setReadWrite in interface CEditor
        Parameters:
        value - true, if you can enter/select data
      • isReadWrite

        public boolean isReadWrite()
        Description copied from interface: CEditor
        Is it possible to edit
        Specified by:
        isReadWrite in interface CEditor
        Returns:
        true, if editable
      • setMandatory

        public void setMandatory​(boolean mandatory)
        Description copied from interface: CEditor
        Set Editor Mandatory
        Specified by:
        setMandatory in interface CEditor
        Parameters:
        mandatory - true, if you have to enter data
      • isMandatory

        public boolean isMandatory()
        Description copied from interface: CEditor
        Is Field mandatory
        Specified by:
        isMandatory in interface CEditor
        Returns:
        true, if mandatory
      • setBackground

        public void setBackground​(boolean error)
        Description copied from interface: CEditor
        Set Background based on editable / mandatory / error
        Specified by:
        setBackground in interface CEditor
        Parameters:
        error - if true, set background to error color, otherwise mandatory/editable
      • requestFocusInWindow

        public boolean requestFocusInWindow()
        Request Focus In Window
        Overrides:
        requestFocusInWindow in class JComponent
        Returns:
        focus request
      • setValue

        public void setValue​(Object value)
        Description copied from interface: CEditor
        Set Editor to value
        Specified by:
        setValue in interface CEditor
        Parameters:
        value - value of the editor
      • getValue

        public Object getValue()
        Description copied from interface: CEditor
        Return Editor value
        Specified by:
        getValue in interface CEditor
        Returns:
        current value
      • getDisplay

        public String getDisplay()
        Description copied from interface: CEditor
        Return Display Value
        Specified by:
        getDisplay in interface CEditor
        Returns:
        displayed String value
      • setField

        public void setField​(GridField mField)
        Description copied from interface: VEditor
        Set Field/WindowNo for ValuePreference
        Specified by:
        setField in interface VEditor
      • getField

        public GridField getField()
        Description copied from interface: VEditor
        Get Field/WindowNo for ValuePreference
        Specified by:
        getField in interface VEditor
        Returns:
        mField
      • refresh

        public int refresh()
      • setStopEditing

        public void setStopEditing​(boolean stopediting)