com.google.gwt.visualization.client
Class Color3D

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.ajaxloader.client.Properties
          extended by com.google.gwt.visualization.client.Color3D

public class Color3D
extends Properties

Allows users to setup the 3D color scheme on any 3D visualization


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.ajaxloader.client.Properties
Properties.TypeException
 
Constructor Summary
protected Color3D()
           
 
Method Summary
static Color3D create()
          Create an object to hold a color/shadow mapping for a chart element.
static Color3D create(java.lang.String color, java.lang.String shadeColor)
          Create a color/shadow mapping for a chart element.
 Color3D setFaceColor(java.lang.String color)
          Color to use on the face of the visualization.
 Color3D setShadeColor(java.lang.String shadeColor)
          Color to use to shade the visualization.
 
Methods inherited from class com.google.gwt.ajaxloader.client.Properties
getBoolean, getDate, getNumber, getObject, getString, remove, set, set, set, set, set, typeof
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Color3D

protected Color3D()
Method Detail

create

public static Color3D create()
Create an object to hold a color/shadow mapping for a chart element.


create

public static Color3D create(java.lang.String color,
                             java.lang.String shadeColor)
Create a color/shadow mapping for a chart element.

Parameters:
color - color to use as the graph top color.
shadeColor - color to use as the shadow color.

setFaceColor

public final Color3D setFaceColor(java.lang.String color)
Color to use on the face of the visualization.

Parameters:
color - Color to use on the face of the visualization.

setShadeColor

public final Color3D setShadeColor(java.lang.String shadeColor)
Color to use to shade the visualization.

Parameters:
shadeColor - Color to use to shade the visualization.