org.opennms.dashboard.client
Class GraphDashlet.GraphView.PrefabGraphChangeListener

java.lang.Object
  extended by org.opennms.dashboard.client.DirectionalChangeListener
      extended by org.opennms.dashboard.client.GraphDashlet.GraphView.PrefabGraphChangeListener
All Implemented Interfaces:
com.google.gwt.user.client.ui.ChangeListener, EventListener
Enclosing class:
GraphDashlet.GraphView

public class GraphDashlet.GraphView.PrefabGraphChangeListener
extends DirectionalChangeListener


Constructor Summary
GraphDashlet.GraphView.PrefabGraphChangeListener()
           
 
Method Summary
 String[] getTimes()
          Returns start and end times as Strings, in standard Java milliseconds values.
 void onChange(com.google.gwt.user.client.ui.Widget widget, int direction)
           
 
Methods inherited from class org.opennms.dashboard.client.DirectionalChangeListener
onChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphDashlet.GraphView.PrefabGraphChangeListener

public GraphDashlet.GraphView.PrefabGraphChangeListener()
Method Detail

onChange

public void onChange(com.google.gwt.user.client.ui.Widget widget,
                     int direction)
Specified by:
onChange in class DirectionalChangeListener

getTimes

public String[] getTimes()
Returns start and end times as Strings, in standard Java milliseconds values. The time will be rounded to the nearest five minute interval so when we prefetch graph images the URL will remain the same for that interval, allowing the browser to use the prefetched image.



Copyright © 2009. All Rights Reserved.