Class ScreenIdentificationsProp

    • Constructor Detail

      • ScreenIdentificationsProp

        public ScreenIdentificationsProp()
        Creates the screen identifications property container without a name. The name must be set in all cases using the setPropertyAtom call.
      • ScreenIdentificationsProp

        public ScreenIdentificationsProp​(Atom propertyAtom)
        Creates the screen identifications property container with the specified name. All system-reserved names for components begins with "$".
        Parameters:
        propertyAtom - the name of the component, unique within it's parent.
    • Method Detail

      • updateCachedValues

        protected void updateCachedValues()
        Updates the cached values.
      • getIdentifications

        public ScreenIdentificationProp[] getIdentifications()
        Gets the screen identification properties array.
        Returns:
        The array of identifications, never null.
      • areMatching

        public boolean areMatching​(HostScreen screen,
                                   int xOffset,
                                   int yOffset)
        Checks if the identifications are matching.
        Parameters:
        screen - The host screen.
        xOffset - Offset in X.
        yOffset - Offset in Y.
        Returns:
        true if matching, false otherwise.