Class GetArrayElement

    • Field Detail

      • m_Index

        protected Index m_Index
        the index of the element to pick.
    • Constructor Detail

      • GetArrayElement

        public GetArrayElement()
        Default constructor.
      • GetArrayElement

        public GetArrayElement​(Index index)
        Initializes with the specified index.
        Parameters:
        index - the index to use
    • Method Detail

      • setIndex

        public void setIndex​(Index value)
        Sets the index (1-based).
        Parameters:
        value - the index
      • getIndex

        public Index getIndex()
        Returns the index (1-based).
        Returns:
        the index
      • indexTipText

        public String indexTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Returns:
        adams.flow.core.Unknown[].class
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Returns:
        adams.flow.core.Unknown.class
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message