Class ScreenIdentificationsProp

java.lang.Object
com.iizix.prop.GProp<GProp<?>[]>
com.iizix.prop.PropCnr
com.iizix.term.prop.ScreenIdentificationsProp
All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, Cloneable
Direct Known Subclasses:
EditorScreenIdentificationsProp

public class ScreenIdentificationsProp extends PropCnr
This Screen identifications property container for a terminal host screen.
  • Constructor Details

    • 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 Details

    • usesPropIndex

      public boolean usesPropIndex()
      This property is index based.
      Specified by:
      usesPropIndex in interface IPropCnr
      Overrides:
      usesPropIndex in class PropCnr
      Returns:
      true.
    • 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.