org.opennms.dashboard.client
Class ListBoxCallback

java.lang.Object
  extended by org.opennms.dashboard.client.ListBoxCallback
All Implemented Interfaces:
com.google.gwt.user.client.rpc.AsyncCallback
Direct Known Subclasses:
GraphDashlet.GraphView.ChildResourceLoader, GraphDashlet.GraphView.PrefabGraphLoader, GraphDashlet.GraphView.TopLevelResourceLoader

public class ListBoxCallback
extends Object
implements com.google.gwt.user.client.rpc.AsyncCallback

Author:
Mathew Brozowski, DJ Gregor

Constructor Summary
ListBoxCallback(DashletLoader dashlet, com.google.gwt.user.client.ui.ListBox listBox)
           
 
Method Summary
 int getDirection()
           
 com.google.gwt.user.client.ui.ListBox getListBox()
           
 void onDataLoaded(String[][] resources)
           
 void onFailure(Throwable caught)
           
 void onSuccess(Object result)
           
 void setDirection(int direction)
           
 void setEmptyListItem(String name, String value)
           
 void setNullListItem(String name, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListBoxCallback

public ListBoxCallback(DashletLoader dashlet,
                       com.google.gwt.user.client.ui.ListBox listBox)
Method Detail

getListBox

public com.google.gwt.user.client.ui.ListBox getListBox()

setDirection

public void setDirection(int direction)

getDirection

public int getDirection()

setNullListItem

public void setNullListItem(String name,
                            String value)

setEmptyListItem

public void setEmptyListItem(String name,
                             String value)

onDataLoaded

public void onDataLoaded(String[][] resources)

onFailure

public void onFailure(Throwable caught)
Specified by:
onFailure in interface com.google.gwt.user.client.rpc.AsyncCallback

onSuccess

public void onSuccess(Object result)
Specified by:
onSuccess in interface com.google.gwt.user.client.rpc.AsyncCallback


Copyright © 2009. All Rights Reserved.