ca.nanometrics.gflot.client.options
Class LegendOptions

java.lang.Object
  extended by ca.nanometrics.gflot.client.util.JSONWrapper
      extended by ca.nanometrics.gflot.client.util.JSONObjectWrapper
          extended by ca.nanometrics.gflot.client.options.LegendOptions

public class LegendOptions
extends JSONObjectWrapper

Author:
AlexanderDeleon

Field Summary
static java.lang.String NORTH_EAST
           
static java.lang.String NORTH_WEST
           
static java.lang.String SOUTH_EAST
           
static java.lang.String SOUTH_WEST
           
 
Constructor Summary
LegendOptions()
           
 
Method Summary
 LegendOptions setBackgroundColor(java.lang.String cssColor)
           
 LegendOptions setBackgroundOpacity(double opacity)
           
 LegendOptions setContainer(com.google.gwt.user.client.Element container)
           
 LegendOptions setLabelBoxBorderColor(java.lang.String cssColor)
           
 LegendOptions setMargin(double margin)
           
 LegendOptions setNumOfColumns(int cols)
           
 LegendOptions setPosition(java.lang.String position)
           
 LegendOptions setShow(boolean show)
           
 
Methods inherited from class ca.nanometrics.gflot.client.util.JSONObjectWrapper
equals, get, getArray, getDouble, getInteger, getNumber, getObject, getString, getWrappedObj, hashCode, put, put, put, put, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NORTH_EAST

public static final java.lang.String NORTH_EAST
See Also:
Constant Field Values

NORTH_WEST

public static final java.lang.String NORTH_WEST
See Also:
Constant Field Values

SOUTH_EAST

public static final java.lang.String SOUTH_EAST
See Also:
Constant Field Values

SOUTH_WEST

public static final java.lang.String SOUTH_WEST
See Also:
Constant Field Values
Constructor Detail

LegendOptions

public LegendOptions()
Method Detail

setShow

public LegendOptions setShow(boolean show)

setLabelBoxBorderColor

public LegendOptions setLabelBoxBorderColor(java.lang.String cssColor)

setNumOfColumns

public LegendOptions setNumOfColumns(int cols)

setPosition

public LegendOptions setPosition(java.lang.String position)

setMargin

public LegendOptions setMargin(double margin)

setBackgroundColor

public LegendOptions setBackgroundColor(java.lang.String cssColor)

setBackgroundOpacity

public LegendOptions setBackgroundOpacity(double opacity)

setContainer

public LegendOptions setContainer(com.google.gwt.user.client.Element container)


Copyright © 2009. All Rights Reserved.