Class Widget

java.lang.Object
com.valhalla.sdk.api.widgets.Widget

public final class Widget extends Object
Immutable widget snapshot; population is enabled only by a validated UI adapter.
  • Constructor Details

    • Widget

      public Widget(int id, int parentId, int type, String text, boolean visible, int x, int y, int width, int height)
  • Method Details

    • getId

      public int getId()
    • getParentId

      public int getParentId()
    • getGroupId

      public int getGroupId()
    • getChildId

      public int getChildId()
    • getType

      public int getType()
    • getText

      public String getText()
    • isVisible

      public boolean isVisible()
    • getX

      public int getX()
    • getY

      public int getY()
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • contains

      public boolean contains(int pointX, int pointY)
    • toString

      public String toString()
      Overrides:
      toString in class Object