Class VChart

    • Constructor Detail

      • VChart

        public VChart()
        Constructor
      • VChart

        public VChart​(int AD_Chart_ID,
                      int windowNo)
    • Method Detail

      • createChart

        public void createChart()
      • dispose

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

        public void chartMouseClicked​(org.jfree.chart.ChartMouseEvent event)
        Specified by:
        chartMouseClicked in interface org.jfree.chart.ChartMouseListener
      • chartMouseMoved

        public void chartMouseMoved​(org.jfree.chart.ChartMouseEvent arg0)
        Specified by:
        chartMouseMoved in interface org.jfree.chart.ChartMouseListener
      • setField

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

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

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

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

        public boolean isReadWrite()
        Description copied from interface: CEditor
        Is it possible to edit
        Specified by:
        isReadWrite in interface CEditor
        Returns:
        true, if editable
      • 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
      • 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
      • setReadWrite

        public void setReadWrite​(boolean rw)
        Description copied from interface: CEditor
        Enable Editor
        Specified by:
        setReadWrite in interface CEditor
        Parameters:
        rw - true, if you can enter/select data
      • 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
      • getField

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