InputField

final case
class InputField(text: String, characterLimit: Int, multiLine: Boolean, assets: InputFieldAssets, cursorBlinkRate: Option[Seconds], position: Point, depth: Depth, hasFocus: Boolean, cursorPosition: Int, lastCursorMove: Seconds, key: Option[BindingKey], onFocus: () => List[GlobalEvent], onLoseFocus: () => List[GlobalEvent])
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addCharacter(char: Char): InputField
def addCharacterText(textToInsert: String): InputField
def bounds(boundaryLocator: BoundaryLocator): Option[Rectangle]
def draw(gameTime: GameTime, boundaryLocator: BoundaryLocator): List[SceneNode]
def giveFocus: Outcome[InputField]
def loseFocus: Outcome[InputField]
def moveBy(x: Int, y: Int): InputField
def moveBy(positionDiff: Point): InputField
def moveCursorTo(newCursorPosition: Int): InputField
def moveTo(x: Int, y: Int): InputField
def moveTo(newPosition: Point): InputField
def update(frameContext: FrameContext[_]): Outcome[InputField]
def withCursorBlinkRate(interval: Seconds): InputField
def withDepth(newDepth: Depth): InputField
def withFocusActions(actions: GlobalEvent*): InputField
def withFocusActions(actions: => List[GlobalEvent]): InputField
def withKey(newKey: BindingKey): InputField
def withLoseFocusActions(actions: GlobalEvent*): InputField
def withLoseFocusActions(actions: => List[GlobalEvent]): InputField
def withText(newText: String): InputField

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product