Package quadbase.util

Interface I3DControlPanel


public interface I3DControlPanel
This interface is used to set properties of the navigation panel for a 3D chart. A handle to an object that implements this interface can be obtained by calling the geth3DControlPanel method in QbChart.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the color of the navigation panel for 3D charts.
    boolean
    Determines whether the animation button is visible or not in the navigation panel.
    boolean
    Determines whether the Gouraud button is visible or not in the navigation panel.
    boolean
    Determines whether or not the speed control button is visible in the navigation panel.
    boolean
    Determines whether or not toggling of the 3D navigation panel on a mouse double click is enabled.
    boolean
    Determines whether or not the tool tips are enbled in the navigation panel.
    boolean
    Returns whether or not the navigation panel is currently being displayed for a 3D chart.
    void
    set the animation button on/off if animation button is on, the chart will start rotation automaticly
    void
    Show/Hide the animate chart button in the navigation panel for 3D charts.
    void
    This function sets the color of the navigation panel for 3D charts.
    void
    Show/Hide the gouraud shading button in the navigation panel for 3D charts.
    void
    Show/Hide the speed control button in the navigation panel.
    void
    setToggleEnabled(boolean b)
    Set/Unset toggling of the navigation panel on a mouse double click event.
    void
    setToolTipEnabled(boolean b)
    Enable/disable the tool tips in the navigation panel.
    void
    setVisible(boolean b)
    This function enables/disables the viewing of the navigation panel for a 3D chart.
  • Method Details

    • isVisible

      boolean isVisible()
      Returns whether or not the navigation panel is currently being displayed for a 3D chart.

      Associated QbChart property: NAVIGATION_PANEL

      Returns:
      True if navigation panel is visible, false otherwise.
    • setVisible

      void setVisible(boolean b)
      This function enables/disables the viewing of the navigation panel for a 3D chart.
      Parameters:
      b - The boolean state of the navigation panel.
    • getColor

      Color getColor()
      Returns the color of the navigation panel for 3D charts.
      Returns:
      The Color object containing the rgb color value.
    • setColor

      void setColor(Color c)
      This function sets the color of the navigation panel for 3D charts.

      Associated QbChart property: NAVIGATION_PANELCOLOR

      Parameters:
      c - The Color object used to set the nav. panel color.
    • isGouraudButtonVisible

      boolean isGouraudButtonVisible()
      Determines whether the Gouraud button is visible or not in the navigation panel.
      Returns:
      The state of the Gouraud button, as a boolean value.
    • setGouraudButtonVisible

      void setGouraudButtonVisible(boolean b)
      Show/Hide the gouraud shading button in the navigation panel for 3D charts.

      Associated QbChart property: SHOW_GOURAUDBUTTON

      Parameters:
      b - The boolean state of the Gouraud Shading button.
    • isAnimationButtonVisible

      boolean isAnimationButtonVisible()
      Determines whether the animation button is visible or not in the navigation panel.
      Returns:
      The state of the Animate button, as a boolean value.
    • setAnimationButtonVisible

      void setAnimationButtonVisible(boolean b)
      Show/Hide the animate chart button in the navigation panel for 3D charts.

      Associated QbChart property: SHOW_ANIMATEBUTTON

      Parameters:
      b - The boolean state of the animate chart button.
    • setAnimationButtonOn

      void setAnimationButtonOn(boolean b)
      set the animation button on/off if animation button is on, the chart will start rotation automaticly

      Parameters:
      b - The boolean state of the animate chart button.
    • isToggleEnabled

      boolean isToggleEnabled()
      Determines whether or not toggling of the 3D navigation panel on a mouse double click is enabled.
      Returns:
      True if toggling of the nav. panel on mouse double click is true, false otherwise.
    • setToggleEnabled

      void setToggleEnabled(boolean b)
      Set/Unset toggling of the navigation panel on a mouse double click event.

      Associated QbChart property: TOGGLE3DPANEL

      Parameters:
      b - The boolean state of the toggle navigation panel feature.
    • isSpeedControlVisible

      boolean isSpeedControlVisible()
      Determines whether or not the speed control button is visible in the navigation panel.
      Returns:
      The boolean state of the speed control button.
    • setSpeedControlVisible

      void setSpeedControlVisible(boolean b)
      Show/Hide the speed control button in the navigation panel.

      Associated QbChart property: SHOW_SPEEDCONTROL

      Parameters:
      b - The boolean state of the speed control button.
    • isToolTipEnabled

      boolean isToolTipEnabled()
      Determines whether or not the tool tips are enbled in the navigation panel.
      Returns:
      The boolean state of tool tips
    • setToolTipEnabled

      void setToolTipEnabled(boolean b)
      Enable/disable the tool tips in the navigation panel.

      Parameters:
      b - The boolean state of the tool tips.