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

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.ListOfStringWidget
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener

public class ListOfStringWidget
extends com.google.gwt.user.client.ui.Composite
implements com.google.gwt.event.dom.client.HasBlurHandlers


Nested Class Summary
 
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  String addItemText
           
private  FieldDescriptor fd
           
(package private)  KSTextBox inputText
           
private  com.google.gwt.user.client.ui.FlowPanel itemsPanel
           
private  boolean loaded
           
private  com.google.gwt.user.client.ui.FlowPanel mainPanel
           
private  DataModelValidator validator
           
private  ArrayList<String> values
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ListOfStringWidget(String addItemText)
           
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler)
           
protected  void addListItem(String itemValue)
           
 ArrayList<String> getStringValues()
           
 void onLoad()
           
 void setFd(FieldDescriptor fd)
           
 void setStringValues(ArrayList<String> values)
           
 
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, 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, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Field Detail

addItemText

private String addItemText

loaded

private boolean loaded

mainPanel

private com.google.gwt.user.client.ui.FlowPanel mainPanel

itemsPanel

private com.google.gwt.user.client.ui.FlowPanel itemsPanel

values

private ArrayList<String> values

inputText

final KSTextBox inputText

fd

private FieldDescriptor fd

validator

private DataModelValidator validator
Constructor Detail

ListOfStringWidget

public ListOfStringWidget(String addItemText)
Method Detail

onLoad

public void onLoad()
Overrides:
onLoad in class com.google.gwt.user.client.ui.Widget

getStringValues

public ArrayList<String> getStringValues()

setStringValues

public void setStringValues(ArrayList<String> values)

addListItem

protected void addListItem(String itemValue)

addBlurHandler

public com.google.gwt.event.shared.HandlerRegistration addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler)
Specified by:
addBlurHandler in interface com.google.gwt.event.dom.client.HasBlurHandlers

setFd

public void setFd(FieldDescriptor fd)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.