public abstract class MultiplicityComposite extends com.google.gwt.user.client.ui.Composite
Modifier and Type | Class and Description |
---|---|
static class |
MultiplicityComposite.StyleType
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
MultiplicityComposite(MultiplicityComposite.StyleType style)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onUnload, removeFromParent, setLayoutData, sinkEvents
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
protected com.google.gwt.user.client.ui.FlowPanel mainPanel
protected com.google.gwt.user.client.ui.FlowPanel itemsPanel
protected boolean loaded
protected int itemCount
protected int visualItemCount
protected int minEmptyItems
protected List<MultiplicityItem> items
protected List<MultiplicityItem> removed
protected MultiplicityComposite.StyleType style
protected SectionTitle titleWidget
protected Callback<MultiplicityItem> removeCallback
public MultiplicityComposite(MultiplicityComposite.StyleType style)
public MultiplicityItem addItem()
public int getAddItemKey()
public void incrementItemKey()
public void onLoad()
onLoad
in class com.google.gwt.user.client.ui.Widget
public List<MultiplicityItem> getItems()
public List<MultiplicityItem> getRemovedItems()
public void clear()
public void redraw()
public void setMinEmptyItems(int minCount)
public abstract MultiplicityItem getItemDecorator(MultiplicityComposite.StyleType style)
public abstract com.google.gwt.user.client.ui.Widget createItem()
public abstract com.google.gwt.user.client.ui.Widget generateAddWidget()
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.