Class 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.CCEditableListModel
    Model for CCMapListView.
    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
      • Fields inherited from interface com.sun.web.ui.model.CCEditableListModelInterface

        DEFAULT_OPTION_VALUE, SEPARATORS
      • Fields inherited from interface com.sun.web.ui.model.CCOrderedListModelBaseInterface

        DEFAULT_LISTBOX_HEIGHT, DEFAULT_LISTBOX_WIDTH, DEFAULT_OPTION_LABEL, DEFAULT_OPTION_VALUE, HORIZONTAL, LABEL_ABOVE, LABEL_LEFT, SEPARATOR, VERTICAL
    • Constructor Summary

      Constructors 
      Constructor Description
      CCMapListModel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getKeyLabel()
      Returns label for Key text box.
      String getMsgInvalidEntry()
      Returns invalid entry message.
      String getMsgInvalidKey()
      Returns invalid key message.
      String getMsgInvalidValue()
      Returns invalid value message.
      String getMsgMapListInvalidNoKey()
      Returns invalid value (no key in map) message.
      String getValueLabel()
      Returns label for Value text box.
      com.iplanet.jato.view.html.OptionList getValueOptionList()
      Get a list of options for the value of the map.
      boolean hasValueOptionList()
      Has a non-zero size list of options.
      void setKeyLabel​(String keyLabel)
      Set label for Key text box.
      void setMsgInvalidEntry​(String msgInvalidEntry)
      Set invalid entry message.
      void setMsgInvalidKey​(String msgInvalidKey)
      Set invalid key message.
      void setMsgInvalidNoKey​(String msgInvalidNoKey)
      Set invalid value (no key in map) message.
      void setMsgInvalidValue​(String msgInvalidValue)
      Set invalid value message.
      void setValueLabel​(String valueLabel)
      Set label for Value text box.
      void setValueOptionList​(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 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
      • Methods inherited from interface com.iplanet.jato.model.Model

        getName, getValue, getValues, setName, setValue, setValues
    • Constructor Detail

      • CCMapListModel

        public CCMapListModel()
    • 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.