Class ScreenFieldsProp

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

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

    • ScreenFieldsProp

      public ScreenFieldsProp()
      Creates the Screen Fields property container without a name. The name must be set in all cases using the setPropertyAtom call.
    • ScreenFieldsProp

      public ScreenFieldsProp(Atom propertyAtom)
      Creates the Screen Fields 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

    • updateCachedValues

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

      public ScreenFieldProp[] getFields()
      Gets the screen field properties array.
      Returns:
      Screen fields (cached) array, never null.
    • getField

      public ScreenFieldProp getField(String name)
      Gets the field with specified name.
      Parameters:
      name - The field name (case sensitive).
      Returns:
      The screen field property or null if not found.
    • getScreen

      public ScreenProp getScreen()
      Gets the screen property.
      Returns:
      null if not found.
    • getVirtualSpace

      public VirtualSpace getVirtualSpace()
      Gets the VirtualSpace.
      Returns:
      The VirtualSpace, or null if field is orphan.
    • getVSReference

      public VSParticipant getVSReference(Atom atom)
      Gets the VSParticipant reference (VSReference).
      Specified by:
      getVSReference in interface IGProp<GProp<?>[]>
      Overrides:
      getVSReference in class PropCnr
      Parameters:
      atom - The name of the requesting property.
      Returns:
      The instance of the VSReference or null if unassigned. The returned instance could also be a VSParticipant and should therefore be processed accordingly.