Package tripleplay.ui

Class Field.Native

java.lang.Object
tripleplay.ui.Field.Native
Enclosing class:
Field

public final class Field.Native extends Object
Exposes protected field information required for native fields.
  • Constructor Details

    • Native

      public Native()
  • Method Details

    • resolveStyle

      public <T> T resolveStyle(Style<T> style)
      Resolves the given style for the field.
    • isValid

      public boolean isValid(String text)
      Tests if the proposed text is valid.
    • transform

      public String transform(String text)
      Transforms the given text.
    • finishedEditing

      public react.Signal<Boolean> finishedEditing()
      A signal that is dispatched when the native text field has lost focus. Value is false if editing was canceled
    • refreshBounds

      public void refreshBounds()
      Refreshes the bounds of this field's native field. Used as a platform callback to support some degree of animation for UI containing native fields.
    • field

      public Field field()