Class VButton

    • Constructor Detail

      • VButton

        public VButton​(String columnName,
                       boolean mandatory,
                       boolean isReadOnly,
                       boolean isUpdateable,
                       String text,
                       String description,
                       String help,
                       int AD_Process_ID)
        Constructor
        Parameters:
        columnName - column
        mandatory - mandatory
        isReadOnly - read only
        isUpdateable - updateable
        text - text
        description - description
        help - help
        AD_Process_ID - process to start
    • Method Detail

      • dispose

        public void dispose()
        Dispose
        Specified by:
        dispose in interface VEditor
      • setMandatory

        public void setMandatory​(boolean mandatory)
        Set Mandatory - NOP
        Specified by:
        setMandatory in interface CEditor
        Overrides:
        setMandatory in class CButton
        Parameters:
        mandatory - mandatory
      • setBackground

        public void setBackground​(boolean error)
        Set Background - NOP
        Specified by:
        setBackground in interface CEditor
        Overrides:
        setBackground in class CButton
        Parameters:
        error - error
      • getColumnName

        public String getColumnName()
        Get ColumnName
        Returns:
        column name
      • getDescription

        public String getDescription()
        Get Description
        Returns:
        description string
      • getHelp

        public String getHelp()
        Get Help
        Returns:
        help string
      • getProcess_ID

        public int getProcess_ID()
        Get AD_Process_ID
        Returns:
        AD_Process_ID or 0
      • toString

        public String toString()
        String representation
        Overrides:
        toString in class Component
        Returns:
        String representation
      • getValues

        public HashMap<String,​String> getValues()
        Return value/name
        Returns:
        HashMap with Value/Names
      • setField

        public void setField​(GridField mField)
        Set Field/WindowNo for ValuePreference
        Specified by:
        setField in interface VEditor
        Parameters:
        mField - field model
      • getField

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

        public char getSavedMnemonic()
        Returns:
        Returns the savedMnemonic.
      • setSavedMnemonic

        public void setSavedMnemonic​(char savedMnemonic)
        Parameters:
        savedMnemonic - The savedMnemonic to set.