EspressChart
v 5.5

quadbase.util
Interface I3DControlPanel

All Known Implementing Classes:
QbChartBasic.ControlPanel, QbChartBasic.ControlPanel

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
 java.awt.Color getColor()
          Returns the color of the navigation panel for 3D charts.
 boolean isAnimationButtonVisible()
          Determines whether the animation button is visible or not in the navigation panel.
 boolean isGouraudButtonVisible()
          Determines whether the Gouraud button is visible or not in the navigation panel.
 boolean isSpeedControlVisible()
          Determines whether or not the speed control button is visible in the navigation panel.
 boolean isToggleEnabled()
          Determines whether or not toggling of the 3D navigation panel on a mouse double click is enabled.
 boolean isToolTipEnabled()
          Determines whether or not the tool tips are enbled in the navigation panel.
 boolean isVisible()
          Returns whether or not the navigation panel is currently being displayed for a 3D chart.
 void setAnimationButtonOn(boolean b)
          set the animation button on/off if animation button is on, the chart will start rotation automaticly
 void setAnimationButtonVisible(boolean b)
          Show/Hide the animate chart button in the navigation panel for 3D charts.
 void setColor(java.awt.Color c)
          This function sets the color of the navigation panel for 3D charts.
 void setGouraudButtonVisible(boolean b)
          Show/Hide the gouraud shading button in the navigation panel for 3D charts.
 void setSpeedControlVisible(boolean b)
          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 Detail

isVisible

public 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

public 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

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

setColor

public void setColor(java.awt.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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

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

setToolTipEnabled

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

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

EspressChart
v 5.5