org.kuali.student.common.ui.client.configurable.mvc.multiplicity
Class MultiplicityComposite

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.configurable.mvc.multiplicity.MultiplicityComposite
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget
Direct Known Subclasses:
DisplayMultiplicityComposite, UpdatableMultiplicityComposite

Deprecated.

public abstract class MultiplicityComposite
extends com.google.gwt.user.client.ui.Composite


Nested Class Summary
static class MultiplicityComposite.StyleType
          Deprecated.  
 
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
protected  int itemCount
          Deprecated.  
protected  Set<Integer> itemKeys
          Deprecated.  
protected  List<MultiplicityItem> items
          Deprecated.  
protected  com.google.gwt.user.client.ui.FlowPanel itemsPanel
          Deprecated.  
protected  boolean loaded
          Deprecated.  
protected  com.google.gwt.user.client.ui.FlowPanel mainPanel
          Deprecated.  
protected  int minEmptyItems
          Deprecated.  
protected  Callback<MultiplicityItem> removeCallback
          Deprecated.  
protected  List<MultiplicityItem> removed
          Deprecated.  
protected  MultiplicityComposite.StyleType style
          Deprecated.  
protected  SectionTitle titleWidget
          Deprecated.  
protected  int visualItemCount
          Deprecated.  
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
MultiplicityComposite(MultiplicityComposite.StyleType style)
          Deprecated.  
 
Method Summary
 MultiplicityItem addItem()
          Deprecated. This adds an item to the multiplicity composite by calling createItem.
 void clear()
          Deprecated.  
abstract  com.google.gwt.user.client.ui.Widget createItem()
          Deprecated. Method used to create a instance of the multiplicity item
abstract  com.google.gwt.user.client.ui.Widget generateAddWidget()
          Deprecated. Method used to get the add button to add additional multiplicity item
 int getAddItemKey()
          Deprecated. This returns the index key for the model for the item currently being added by addItem This is useful, if you need to refer to the index in the createItem method
abstract  MultiplicityItem getItemDecorator(MultiplicityComposite.StyleType style)
          Deprecated. Method used to get the item decorator for each multiplicity item
 List<MultiplicityItem> getItems()
          Deprecated.  
 List<MultiplicityItem> getRemovedItems()
          Deprecated.  
 void incrementItemKey()
          Deprecated.  
 void onLoad()
          Deprecated.  
 void redraw()
          Deprecated.  
 void setMinEmptyItems(int minCount)
          Deprecated. This method will set the number of minimum empty rows to display on initial display of widget.
 
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
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, 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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mainPanel

protected com.google.gwt.user.client.ui.FlowPanel mainPanel
Deprecated. 

itemsPanel

protected com.google.gwt.user.client.ui.FlowPanel itemsPanel
Deprecated. 

loaded

protected boolean loaded
Deprecated. 

itemCount

protected int itemCount
Deprecated. 

visualItemCount

protected int visualItemCount
Deprecated. 

minEmptyItems

protected int minEmptyItems
Deprecated. 

items

protected List<MultiplicityItem> items
Deprecated. 

removed

protected List<MultiplicityItem> removed
Deprecated. 

itemKeys

protected Set<Integer> itemKeys
Deprecated. 

style

protected MultiplicityComposite.StyleType style
Deprecated. 

titleWidget

protected SectionTitle titleWidget
Deprecated. 

removeCallback

protected Callback<MultiplicityItem> removeCallback
Deprecated. 
Constructor Detail

MultiplicityComposite

public MultiplicityComposite(MultiplicityComposite.StyleType style)
Deprecated. 
Method Detail

addItem

public MultiplicityItem addItem()
Deprecated. 
This adds an item to the multiplicity composite by calling createItem.

Returns:

getAddItemKey

public int getAddItemKey()
Deprecated. 
This returns the index key for the model for the item currently being added by addItem This is useful, if you need to refer to the index in the createItem method

Returns:

incrementItemKey

public void incrementItemKey()
Deprecated. 

onLoad

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

getItems

public List<MultiplicityItem> getItems()
Deprecated. 

getRemovedItems

public List<MultiplicityItem> getRemovedItems()
Deprecated. 

clear

public void clear()
Deprecated. 

redraw

public void redraw()
Deprecated. 

setMinEmptyItems

public void setMinEmptyItems(int minCount)
Deprecated. 
This method will set the number of minimum empty rows to display on initial display of widget.


getItemDecorator

public abstract MultiplicityItem getItemDecorator(MultiplicityComposite.StyleType style)
Deprecated. 
Method used to get the item decorator for each multiplicity item


createItem

public abstract com.google.gwt.user.client.ui.Widget createItem()
Deprecated. 
Method used to create a instance of the multiplicity item


generateAddWidget

public abstract com.google.gwt.user.client.ui.Widget generateAddWidget()
Deprecated. 
Method used to get the add button to add additional multiplicity item

Returns:


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