Class ScreenDescription

java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class ScreenDescription extends DescriptionBase
A terminal emulator screen that fully supports HLLAPI.
  • Constructor Details

    • ScreenDescription

      public ScreenDescription()
      Constructs a new ScreenDescription.
    • ScreenDescription

      protected ScreenDescription(ScreenDescription.Init<?> init)
      Initializes a new instance of the ScreenDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • Method Details

    • setSize

      public void setSize(SizeProperty size)
      Sets the total number of rows and columns in the emulator screen.
      Parameters:
      size - the size
    • setSize

      public void setSize(Size size)
      Sets the total number of rows and columns in the emulator screen.
      Parameters:
      size - the size
    • setSize

      public void setSize(Integer row, Integer column)
      Sets the total number of rows and columns in the emulator screen.
      Parameters:
      row - in pixels
      column - in pixels
    • getSize

      public SizeProperty getSize()
      Returns the total number of rows and columns in the emulator screen.
      Returns:
      the size
    • setCursorPosition

      public void setCursorPosition(PositionProperty position)
      Sets the position of the cursor in the emulator screen.
      Parameters:
      position - the position
    • setCursorPosition

      public void setCursorPosition(Position position)
      Sets the position of the cursor in the emulator screen.
      Parameters:
      position - the position
    • setCursorPosition

      public void setCursorPosition(Integer row, Integer column)
      Sets the position of the cursor in the emulator screen.
      Parameters:
      row - in pixels
      column - in pixels
    • getCursorPosition

      public PositionProperty getCursorPosition()
      Returns the position of the cursor in the emulator screen.
      Returns:
      the position
    • setLabel

      public void setLabel(StringProperty label)
      Sets the label of the Terminal Emulator screen.
      Parameters:
      label - a StringProperty(or RegExpProperty) representing the short name of the Terminal Emulator screen.
    • setLabel

      public void setLabel(String label)
      Sets the label of the Terminal Emulator screen.
      Parameters:
      label - the label of the Terminal Emulator screen.
    • getLabel

      public StringProperty getLabel()
      Returns the label of the Terminal Emulator screen.
      Returns:
      the label of the Terminal Emulator screen.
    • setInputFieldCount

      public void setInputFieldCount(Integer handle)
      Sets the number of input fields on the emulator screen.
      Parameters:
      handle - the number of input fields on the emulator screen.
    • getInputFieldCount

      public Integer getInputFieldCount()
      Returns the number of input fields on the emulator screen.
      Returns:
      the number of input fields on the emulator screen.
    • setId

      public void setId(Integer id)
      Sets the value id of the screen.
      Parameters:
      id - the value id of the screen.
    • getId

      public Integer getId()
      Returns the value id of the screen.
      Returns:
      the value id of the screen.
    • setProtectedFieldCount

      public void setProtectedFieldCount(Integer protectedFieldCount)
      Sets the number of protected fields on the emulator screen.
      Parameters:
      protectedFieldCount - the number of protected fields on the emulator screen.
    • getProtectedFieldCount

      public Integer getProtectedFieldCount()
      Returns the number of protected fields on the emulator screen.
      Returns:
      the number of protected fields on the emulator screen.