Class CCMapListModel
- java.lang.Object
-
- com.iplanet.jato.model.DefaultModel
-
- com.sun.web.ui.model.CCOrderedListModelBase
-
- com.sun.web.ui.model.CCEditableListModel
-
- com.sun.identity.console.ui.model.CCMapListModel
-
- All Implemented Interfaces:
com.iplanet.jato.model.ContextualModel,com.iplanet.jato.model.DatasetModel,com.iplanet.jato.model.Model,com.sun.web.ui.model.CCEditableListModelInterface,com.sun.web.ui.model.CCOrderedListModelBaseInterface,Serializable
public class CCMapListModel extends com.sun.web.ui.model.CCEditableListModelModel forCCMapListView.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.iplanet.jato.model.DefaultModel
com.iplanet.jato.model.DefaultModel.Context, com.iplanet.jato.model.DefaultModel.MultiFieldValueComparator, com.iplanet.jato.model.DefaultModel.RowValueArrayList, com.iplanet.jato.model.DefaultModel.SingleFieldValueComparator
-
-
Field Summary
-
Fields inherited from class com.sun.web.ui.model.CCOrderedListModelBase
defaultOptionLabel, label, labelLocation, listboxHeight, listboxWidth, moveErrorMsg, mvDownBtnLabel, mvUpBtnLabel, orientation, selectedLabel, selectedOptionList
-
Fields inherited from class com.iplanet.jato.model.DefaultModel
DEFAULT_CONTEXT_NAME, UNDEFINED_ROW_INDEX
-
-
Constructor Summary
Constructors Constructor Description CCMapListModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKeyLabel()Returns label for Key text box.StringgetMsgInvalidEntry()Returns invalid entry message.StringgetMsgInvalidKey()Returns invalid key message.StringgetMsgInvalidValue()Returns invalid value message.StringgetMsgMapListInvalidNoKey()Returns invalid value (no key in map) message.StringgetValueLabel()Returns label for Value text box.com.iplanet.jato.view.html.OptionListgetValueOptionList()Get a list of options for the value of the map.booleanhasValueOptionList()Has a non-zero size list of options.voidsetKeyLabel(String keyLabel)Set label for Key text box.voidsetMsgInvalidEntry(String msgInvalidEntry)Set invalid entry message.voidsetMsgInvalidKey(String msgInvalidKey)Set invalid key message.voidsetMsgInvalidNoKey(String msgInvalidNoKey)Set invalid value (no key in map) message.voidsetMsgInvalidValue(String msgInvalidValue)Set invalid value message.voidsetValueLabel(String valueLabel)Set label for Value text box.voidsetValueOptionList(com.iplanet.jato.view.html.OptionList optionList)Set a list of options for the value of the map.-
Methods inherited from class com.sun.web.ui.model.CCEditableListModel
getAddBtnLabel, getMaxWidth, getOptionList, getOptionList, getOptions, getRemoveBtnLabel, setAddBtnLabel, setMaxWidth, setOptionList, setOptionList, setRemoveBtnLabel
-
Methods inherited from class com.sun.web.ui.model.CCOrderedListModelBase
getDefaultOption, getDefaultOptionLabel, getLabel, getLabelLocation, getListboxHeight, getListboxWidth, getMoveDownBtnLabel, getMoveError, getMoveUpBtnLabel, getOptions, getOrientation, getSelectedLabel, getSelectedOptionList, getSelectedOptionList, isLabelLocationSet, isListboxHeightSet, isListboxWidthSet, isOrientationSet, setDefaultOptionLabel, setLabel, setLabelLocation, setListboxHeight, setListboxWidth, setMoveDownBtnLabel, setMoveError, setMoveUpBtnLabel, setOrientation, setSelectedLabel, setSelectedOptionList
-
Methods inherited from class com.iplanet.jato.model.DefaultModel
addContext, appendRow, beforeFirst, checkRowIndex, clear, clearModelData, createValueMap, dumpValues, dumpValues, ensureRow, first, getContext, getContextNames, getCurrentContext, getCurrentContextName, getDefaultValue, getDefaultValueMap, getDefaultValues, getLocation, getLocationOffset, getName, getNumRows, getRowIndex, getRowList, getSize, getValue, getValueMap, getValueMap, getValues, hasValue, initializeDefaultContext, insertRow, isDefaultContext, isUseDefaultValues, last, next, previous, removeContext, selectContext, selectDefaultContext, setDefaultValue, setDefaultValues, setLocation, setLocationOffset, setName, setNumRows, setRowIndex, setRowList, setSize, setUseDefaultValues, setValue, setValues, sort, sort
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.web.ui.model.CCOrderedListModelBaseInterface
getDefaultOption, getDefaultOptionLabel, getLabel, getLabelLocation, getListboxHeight, getListboxWidth, getMoveDownBtnLabel, getMoveError, getMoveUpBtnLabel, getOrientation, getSelectedLabel, getSelectedOptionList, getSelectedOptionList, isLabelLocationSet, isListboxHeightSet, isListboxWidthSet, isOrientationSet, setDefaultOptionLabel, setLabel, setLabelLocation, setListboxHeight, setListboxWidth, setMoveDownBtnLabel, setMoveError, setMoveUpBtnLabel, setOrientation, setSelectedLabel, setSelectedOptionList
-
-
-
-
Method Detail
-
getMsgInvalidEntry
public String getMsgInvalidEntry()
Returns invalid entry message.- Returns:
- invalid entry message.
-
setMsgInvalidEntry
public void setMsgInvalidEntry(String msgInvalidEntry)
Set invalid entry message.- Parameters:
msgInvalidEntry- Invalid entry message.
-
getMsgInvalidKey
public String getMsgInvalidKey()
Returns invalid key message.- Returns:
- invalid key message.
-
setMsgInvalidKey
public void setMsgInvalidKey(String msgInvalidKey)
Set invalid key message.- Parameters:
msgInvalidKey- Invalid key message.
-
getMsgInvalidValue
public String getMsgInvalidValue()
Returns invalid value message.- Returns:
- invalid value message.
-
getMsgMapListInvalidNoKey
public String getMsgMapListInvalidNoKey()
Returns invalid value (no key in map) message.- Returns:
- invalid value (no key in map) message.
-
setMsgInvalidValue
public void setMsgInvalidValue(String msgInvalidValue)
Set invalid value message.- Parameters:
msgInvalidValue- Invalid value message.
-
setMsgInvalidNoKey
public void setMsgInvalidNoKey(String msgInvalidNoKey)
Set invalid value (no key in map) message.- Parameters:
msgInvalidNoKey- Invalid value (no key in map) message.
-
getKeyLabel
public String getKeyLabel()
Returns label for Key text box.- Returns:
- label for Key text box.
-
setKeyLabel
public void setKeyLabel(String keyLabel)
Set label for Key text box.- Parameters:
keyLabel- label for Key text box.
-
getValueLabel
public String getValueLabel()
Returns label for Value text box.- Returns:
- label for Value text box.
-
setValueLabel
public void setValueLabel(String valueLabel)
Set label for Value text box.- Parameters:
valueLabel- label for Value text box.
-
setValueOptionList
public void setValueOptionList(com.iplanet.jato.view.html.OptionList optionList)
Set a list of options for the value of the map.- Parameters:
optionList- The options.
-
getValueOptionList
public com.iplanet.jato.view.html.OptionList getValueOptionList()
Get a list of options for the value of the map.- Returns:
- The option list.
-
hasValueOptionList
public boolean hasValueOptionList()
Has a non-zero size list of options.- Returns:
- If the value option list size is present and has 1 or more entries.
-
-