Class NewListNTO

  • All Implemented Interfaces:
    com.im.df.api.support.DFNewTypeOptions, com.im.df.api.support.DFNewTypeWellKnownOptions.NewList, com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

    public class NewListNTO
    extends com.chemaxon.dif.db.api.item.newtype.SingleDFItemNTO
    implements com.im.df.api.support.DFNewTypeWellKnownOptions.NewList
    Author:
    Petr Hamernik
    • Field Summary

      • Fields inherited from interface com.im.df.api.support.DFNewTypeOptions

        PROP_ERROR_MESSAGE, PROP_VALID
      • Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewList

        PROP_FIELD, PROP_VALUES
      • Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

        PROP_DESCRIPTION, PROP_NEW_DFITEM_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      NewListNTO​(com.chemaxon.dif.db.api.list.ListsContainer listsContainer, String defaultListName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.im.df.api.ddl.DFField getField()  
      List getValues()  
      String normalizeDFItemName​(String name)  
      void setField​(com.im.df.api.ddl.DFField field)  
      void setValues​(List values)  
      protected void updateStatus()  
      • Methods inherited from class com.chemaxon.dif.db.api.item.newtype.SingleDFItemNTO

        getDescription, getNewDFItemName, getParentContainer, notifyNewDFItemNameChanged, setDescription, setNewDFItemName, setNewDFItemNameSafe
      • Methods inherited from class com.chemaxon.dif.db.api.item.newtype.AbstractNTOImpl

        addPropertyChangeListener, firePropertyChange, getErrorMessage, isValid, removePropertyChangeListener, setErrorMessage, setValid
      • Methods inherited from interface com.im.df.api.support.DFNewTypeOptions

        addPropertyChangeListener, getErrorMessage, isValid, removePropertyChangeListener
      • Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

        getDescription, getNewDFItemName, setDescription, setNewDFItemName, setNewDFItemNameSafe
    • Constructor Detail

      • NewListNTO

        public NewListNTO​(com.chemaxon.dif.db.api.list.ListsContainer listsContainer,
                          String defaultListName)
    • Method Detail

      • setValues

        public void setValues​(List values)
        Specified by:
        setValues in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewList
      • getValues

        public List getValues()
        Specified by:
        getValues in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewList
      • setField

        public void setField​(com.im.df.api.ddl.DFField field)
        Specified by:
        setField in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewList
      • getField

        public com.im.df.api.ddl.DFField getField()
        Specified by:
        getField in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewList
      • normalizeDFItemName

        public String normalizeDFItemName​(String name)
        Overrides:
        normalizeDFItemName in class com.chemaxon.dif.db.api.item.newtype.SingleDFItemNTO
      • updateStatus

        protected void updateStatus()
        Overrides:
        updateStatus in class com.chemaxon.dif.db.api.item.newtype.SingleDFItemNTO