Class DmxChartPanel

    • Constructor Detail

      • DmxChartPanel

        public DmxChartPanel​(org.jfree.chart.JFreeChart chart,
                             DmxModel dmxModel)
    • Method Detail

      • cleanup

        public void cleanup()
      • getCurrentMousePoint

        protected Point getCurrentMousePoint()
      • displayPopupMenu

        protected void displayPopupMenu​(int x,
                                        int y)
        Overrides:
        displayPopupMenu in class org.jfree.chart.ChartPanel
      • createPopupMenu

        protected JPopupMenu createPopupMenu​(boolean properties,
                                             boolean copy,
                                             boolean save,
                                             boolean print,
                                             boolean zoom)
        Overrides:
        createPopupMenu in class org.jfree.chart.ChartPanel
      • setLightPortAction

        public void setLightPortAction​(String seriesKey,
                                       DmxDataItem dmxDataItem,
                                       org.bidib.wizard.model.status.LightPortStatus action)
        Set the action on the selected lightport.
        Parameters:
        seriesKey - the series key
        dmxDataItem - the data item
        action - the action
      • setMacroStatusAction

        public void setMacroStatusAction​(String seriesKey,
                                         DmxDataItem dmxDataItem,
                                         org.bidib.wizard.model.status.MacroStatus action)
        Set the action on the selected macro.
        Parameters:
        seriesKey - the series key
        dmxDataItem - the data item
        action - the action
      • removeDataItem

        public void removeDataItem​(String seriesKey,
                                   DmxDataItem dmxDataItem)
        Remove a point from the series and the scenery.
        Parameters:
        seriesKey - the series key
        dmxDataItem - the data item
      • createDataItem

        public void createDataItem​(String seriesKey,
                                   int timeOffset,
                                   int brightness,
                                   org.bidib.wizard.model.ports.Port<?> port,
                                   org.bidib.wizard.model.ports.DmxChannel dmxChannel,
                                   DmxDataItem originalDataItem)
        Create a data item with the assigned port.
        Parameters:
        seriesKey - the series key
        timeOffset - the X position
        brightness - the Y position
        port - the port
        dmxChannel - the dmxChannel
      • createDataItem

        public void createDataItem​(String seriesKey,
                                   int timeOffset,
                                   int brightness,
                                   org.bidib.wizard.api.model.function.MacroFunction macro,
                                   org.bidib.wizard.model.ports.DmxChannel dmxChannel,
                                   DmxDataItem originalDataItem)
        Create a data item with the assigned port.
        Parameters:
        seriesKey - the series key
        timeOffset - the X position
        brightness - the Y position
        macro - the macro
        dmxChannel - the dmxChannel
      • mousePressed

        public void mousePressed​(MouseEvent event)
        Specified by:
        mousePressed in interface MouseListener
        Overrides:
        mousePressed in class org.jfree.chart.ChartPanel
      • mouseReleased

        public void mouseReleased​(MouseEvent event)
        Specified by:
        mouseReleased in interface MouseListener
        Overrides:
        mouseReleased in class org.jfree.chart.ChartPanel
      • loadSceneryPoints

        public void loadSceneryPoints()
      • storeSceneryPoints

        public void storeSceneryPoints()