org.kuali.student.common.ui.client.widgets
Class KSActionItemList

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.kuali.student.common.ui.client.widgets.KSActionItemList
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener

public class KSActionItemList
extends com.google.gwt.user.client.ui.Composite


Nested Class Summary
private static class KSActionItemList.ActionItem
           
static class KSActionItemList.ListLocation
           
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
private  List<KSActionItemList.ActionItem> actionItems
           
private  KSListPanel listLayout
           
private  KSLabel title
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
KSActionItemList(String title)
           
KSActionItemList(String title, List<KSActionItemList.ActionItem> items)
           
 
Method Summary
 void add(KSActionItemList.ActionItem item, KSActionItemList.ListLocation location)
           
 void add(String text, String shortDesc, com.google.gwt.event.dom.client.ClickHandler handler, KSActionItemList.ListLocation location)
           
 void redrawList()
           
 void remove(KSActionItemList.ActionItem item)
           
 void removeByText(String text)
           
 void setActionItems(List<KSActionItemList.ActionItem> items)
           
 void setTitle(String title)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

title

private KSLabel title

listLayout

private KSListPanel listLayout

actionItems

private List<KSActionItemList.ActionItem> actionItems
Constructor Detail

KSActionItemList

public KSActionItemList(String title)

KSActionItemList

public KSActionItemList(String title,
                        List<KSActionItemList.ActionItem> items)
Method Detail

redrawList

public void redrawList()

setTitle

public void setTitle(String title)
Overrides:
setTitle in class com.google.gwt.user.client.ui.UIObject

add

public void add(KSActionItemList.ActionItem item,
                KSActionItemList.ListLocation location)

add

public void add(String text,
                String shortDesc,
                com.google.gwt.event.dom.client.ClickHandler handler,
                KSActionItemList.ListLocation location)

setActionItems

public void setActionItems(List<KSActionItemList.ActionItem> items)

remove

public void remove(KSActionItemList.ActionItem item)

removeByText

public void removeByText(String text)


Copyright © 2010 The Kuali Foundation. All rights reserved.