com.hp.lft.sdk.ai

Class AiObjectDescription

    • Constructor Detail

      • AiObjectDescription

        public AiObjectDescription()
        Constructs a new AiObjectDescription.
      • AiObjectDescription

        public AiObjectDescription(String aiClass)
        Constructs a new AiObjectDescription.
        Parameters:
        aiClass - the AI Class type of the AI object (you can use the AiTypes helper class).
      • AiObjectDescription

        public AiObjectDescription(String aiClass,
                                   String text)
        Constructs a new AiObjectDescription.
        Parameters:
        aiClass - the AI Class type of the AI object (you can use the AiTypes helper class).
        text - the associated text of the AI object.
    • Method Detail

      • setAiClass

        public void setAiClass(String aiClass)
        Sets the AI Class type of the AI object.
        Parameters:
        aiClass - the AI Class type of the AI object (you can use the AiTypes helper class).
      • getAiClass

        public String getAiClass()
        Returns the AI Class type of the AI object.
        Returns:
        the AI Class type of the AI object.
      • setText

        public void setText(String text)
        Sets the associated text of the AI object.
        Parameters:
        text - the associated text of the AI object.
      • getText

        public StringProperty getText()
        Returns the associated text of the AI object.
        Returns:
        the associated text of the AI object.
      • setLocator

        public void setLocator(Locator locator)
        Sets the locator to distinguish between objects matching the same description.
        Parameters:
        locator - the locator to use to uniquely identify the object.
      • getLocator

        public Locator getLocator()
        Returns the Locator that distinguishes between objects matching the same description.
        Returns:
        the Locator that distinguishes between objects matching the same description.