org.onebusaway.webapp.gwt.oba_library.control
Class ColorGradientControl

java.lang.Object
  extended by com.google.gwt.maps.client.control.Control
      extended by com.google.gwt.maps.client.control.Control.CustomControl
          extended by org.onebusaway.webapp.gwt.oba_library.control.ColorGradientControl

public class ColorGradientControl
extends com.google.gwt.maps.client.control.Control.CustomControl


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.maps.client.control.Control
com.google.gwt.maps.client.control.Control.CustomControl
 
Field Summary
 
Fields inherited from class com.google.gwt.maps.client.control.Control
jsoPeer
 
Constructor Summary
ColorGradientControl()
           
 
Method Summary
protected  com.google.gwt.user.client.ui.Widget initialize(com.google.gwt.maps.client.MapWidget map)
           
 boolean isSelectable()
           
 void setGradient(List<String> colors, String fromLabel, String toLabel)
           
 void setVisible(boolean visible)
           
 
Methods inherited from class com.google.gwt.maps.client.control.Control.CustomControl
getDefaultPosition
 
Methods inherited from class com.google.gwt.maps.client.control.Control
createPeer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorGradientControl

public ColorGradientControl()
Method Detail

initialize

protected com.google.gwt.user.client.ui.Widget initialize(com.google.gwt.maps.client.MapWidget map)
Specified by:
initialize in class com.google.gwt.maps.client.control.Control.CustomControl

setVisible

public void setVisible(boolean visible)

setGradient

public void setGradient(List<String> colors,
                        String fromLabel,
                        String toLabel)

isSelectable

public boolean isSelectable()
Specified by:
isSelectable in class com.google.gwt.maps.client.control.Control.CustomControl


Copyright © 2012 OneBusAway. All Rights Reserved.