public class MultiplicityGroup.ConditionChoices extends KSRadioButtonList
Constructor and Description |
---|
MultiplicityGroup.ConditionChoices(List<SwapCompositeCondition> conditions) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addSelectionChangeHandler(SelectionChangeHandler handler)
Used to had a selection change handler.
|
void |
addWidgetReadyCallback(Callback<com.google.gwt.user.client.ui.Widget> callback)
This method can be used to register a callback to be executed when a widget
has been initialized.
|
void |
clear()
This method clears the current selection
|
void |
deSelectItem(String id)
Remove selection for item represented by id.
|
ListItems |
getListItems() |
String |
getName() |
List<String> |
getSelectedItems()
List of items that have been selected.
|
boolean |
isEnabled() |
boolean |
isInitialized()
This method can be used to query if a widget has been initialized.
|
boolean |
isMultipleSelect()
This method should if implemented if list supports multiple select
|
void |
onLoad()
This overridden method is not used
|
void |
redraw() |
void |
selectItem(String id)
Select the item in list represented by the id.
|
void |
setColumnSize(int cols)
Use to set number of columns to use when displaying list
|
void |
setEnabled(boolean b) |
void |
setIgnoreMultipleAttributes(boolean ignoreMultiple)
By default if the list items used by the checkbox has multiple attributes, the checkbox
generated will display all attributes as columns.
|
void |
setInitialized(boolean initialized)
This method sets an initialized state of the widget
|
void |
setListItems(ListItems listItems) |
void |
setMultipleSelect(boolean isMultipleSelect)
This method should be implemented if list supports setting of multiple select.
|
void |
setName(String name) |
fireChangeEvent, getSelectedItem
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
public MultiplicityGroup.ConditionChoices(List<SwapCompositeCondition> conditions)
public void deSelectItem(String id)
KSSelectItemWidgetAbstract
deSelectItem
in class KSRadioButtonList
KSSelectItemWidgetAbstract.deSelectItem(java.lang.String)
public List<String> getSelectedItems()
KSSelectItemWidgetAbstract
getSelectedItems
in class KSRadioButtonList
KSSelectItemWidgetAbstract.getSelectedItems()
public void selectItem(String id)
KSSelectItemWidgetAbstract
selectItem
in class KSRadioButtonList
KSSelectItemWidgetAbstract.selectItem(java.lang.String)
public void setListItems(ListItems listItems)
setListItems
in class KSRadioButtonList
public void setColumnSize(int cols)
setColumnSize
in class KSRadioButtonList
public void setMultipleSelect(boolean isMultipleSelect)
KSSelectItemWidgetAbstract
setMultipleSelect
in class KSRadioButtonList
public void onLoad()
onLoad
in class KSRadioButtonList
KSSelectItemWidgetAbstract.onLoad()
public com.google.gwt.event.shared.HandlerRegistration addSelectionChangeHandler(SelectionChangeHandler handler)
KSSelectItemWidgetAbstract
addSelectionChangeHandler
in interface HasSelectionChangeHandlers
addSelectionChangeHandler
in class KSRadioButtonList
public ListItems getListItems()
getListItems
in class KSRadioButtonList
public String getName()
getName
in interface com.google.gwt.user.client.ui.HasName
getName
in class KSRadioButtonList
public void setName(String name)
setName
in interface com.google.gwt.user.client.ui.HasName
setName
in class KSRadioButtonList
public void setEnabled(boolean b)
setEnabled
in class KSRadioButtonList
public boolean isEnabled()
isEnabled
in class KSRadioButtonList
public boolean isMultipleSelect()
KSSelectItemWidgetAbstract
isMultipleSelect
in class KSRadioButtonList
public void redraw()
redraw
in class KSRadioButtonList
public void clear()
KSSelectItemWidgetAbstract
clear
in class KSRadioButtonList
public com.google.gwt.event.shared.HandlerRegistration addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler)
addBlurHandler
in interface com.google.gwt.event.dom.client.HasBlurHandlers
addBlurHandler
in class KSRadioButtonList
public com.google.gwt.event.shared.HandlerRegistration addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)
addFocusHandler
in interface com.google.gwt.event.dom.client.HasFocusHandlers
addFocusHandler
in class KSRadioButtonList
public void addWidgetReadyCallback(Callback<com.google.gwt.user.client.ui.Widget> callback)
HasWidgetReadyCallback
addWidgetReadyCallback
in interface HasWidgetReadyCallback
addWidgetReadyCallback
in class KSRadioButtonList
public boolean isInitialized()
HasWidgetReadyCallback
isInitialized
in interface HasWidgetReadyCallback
isInitialized
in class KSRadioButtonList
public void setInitialized(boolean initialized)
HasWidgetReadyCallback
setInitialized
in interface HasWidgetReadyCallback
setInitialized
in class KSRadioButtonList
public void setIgnoreMultipleAttributes(boolean ignoreMultiple)
setIgnoreMultipleAttributes
in class KSRadioButtonList
ignoreMultiple
- Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.