InputField

indigoextras.ui.InputField
See theInputField companion object
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: () => Batch[GlobalEvent], onLoseFocus: () => Batch[GlobalEvent])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

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): Batch[SceneNode]
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 withCharacterLimit(limit: Int): InputField
def withDepth(newDepth: Depth): InputField
def withKey(newKey: BindingKey): InputField
def withText(newText: String): InputField

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product