Class VURL

    • Constructor Detail

      • VURL

        public VURL()
        IDE Constructor
      • VURL

        public VURL​(String columnName,
                    boolean mandatory,
                    boolean isReadOnly,
                    boolean isUpdateable,
                    int displayLength,
                    int fieldLength)
        Detail Constructor
        Parameters:
        columnName - column name
        mandatory - mandatory
        isReadOnly - read only
        isUpdateable - updateable
        displayLength - display length
        fieldLength - field length
    • Method Detail

      • dispose

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

        public void setMandatory​(boolean mandatory)
        Set Mandatory
        Specified by:
        setMandatory in interface CEditor
        Parameters:
        mandatory - mandatory
      • isMandatory

        public boolean isMandatory()
        Get Mandatory
        Specified by:
        isMandatory in interface CEditor
        Returns:
        mandatory
      • setReadWrite

        public void setReadWrite​(boolean rw)
        Set ReadWrite
        Specified by:
        setReadWrite in interface CEditor
        Parameters:
        rw - read/write
      • isReadWrite

        public boolean isReadWrite()
        Is Read Write
        Specified by:
        isReadWrite in interface CEditor
        Returns:
        read write
      • setBackground

        public void setBackground​(boolean error)
        Set Background
        Specified by:
        setBackground in interface CEditor
        Parameters:
        error - Error
      • setBackground

        public void setBackground​(Color color)
        Set Background
        Overrides:
        setBackground in class JComponent
        Parameters:
        color - Color
      • setValue

        public void setValue​(Object value)
        Set Editor to value
        Specified by:
        setValue in interface CEditor
        Parameters:
        value - value
      • getValue

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

        public String getDisplay()
        Return Display Value
        Specified by:
        getDisplay in interface CEditor
        Returns:
        value
      • keyReleased

        public void keyReleased​(KeyEvent e)
        Key Released. if Escape Restore old Text
        Specified by:
        keyReleased in interface KeyListener
        Parameters:
        e - event
      • actionPerformed

        public void actionPerformed​(ActionEvent e)
        Data Binding to MTable (via GridController) - Enter pressed
        Specified by:
        actionPerformed in interface ActionListener
        Parameters:
        e - event
      • setField

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

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

        public void setText​(String text)
        Set Text
        Parameters:
        text - text
      • getText

        public String getText()
        Get Text (clear)
        Returns:
        text
      • focusLost

        public void focusLost​(FocusEvent e)
        Focus Lost Enabled with Obscure
        Specified by:
        focusLost in interface FocusListener
        Parameters:
        e - event
      • requestFocusInWindow

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