Class AxisReorderVisualization.Instance

    • Field Detail


        public static final java.lang.String SELECTDIMENSIONORDER
        Generic tags to indicate the type of element. Used in IDs, CSS-Classes etc.
        See Also:
        Constant Field Values
      • SDO_BUTTON

        public static final java.lang.String SDO_BUTTON
        CSS class for a tool button
        See Also:
        Constant Field Values
      • SDO_BORDER

        public static final java.lang.String SDO_BORDER
        CSS class for a button border
        See Also:
        Constant Field Values
      • SDO_ARROW

        public static final java.lang.String SDO_ARROW
        CSS class for a button cross
        See Also:
        Constant Field Values
      • selecteddim

        private int selecteddim
        Currently selected dimension. Use -1 to not have a dimension selected.
    • Constructor Detail

      • Instance

        public Instance​(VisualizerContext context,
                        VisualizationTask task,
                        VisualizationPlot plot,
                        double width,
                        double height,
                        Projection proj)
        context - Visualizer context
        task - VisualizationTask
        plot - Plot to draw to
        width - Embedding width
        height - Embedding height
        proj - Projection
    • Method Detail

      • addEventListener

        private void addEventListener​(org.w3c.dom.Element tag,
                                      int i,
                                      SVGArrow.Direction j)
        Add an event listener to the Element
        tag - Element to add the listener
        i - represented axis
      • addCSSClasses

        private void addCSSClasses​(SVGPlot svgp)
        Adds the required CSS-Classes
        svgp - SVG-Plot