Name

_newinternalinputtext

Synopsis

LZX: _newinternalinputtext
JavaScript: lz._newinternalinputtext
Type: Class
Access: private
Topic: Incubator.Components
Declared in: lps/components/incubator/baseedittext.lzx

Description

A private inputtext class used by baseedittext that basically passes its events (onfocus, onblur, onkeyup, onkeydown, ontext) up. Instances of _internalinputtext should only exist in a baseedittext class. Note that _internalinputtext assumes that its parent is a baseedittext. Baseedittext controls _internalinputtexts y position and multiline setting. Subclasses and instances should not override these attributes.

Superclass Chain

node (LzNode) » view (LzView) » text (LzText) » inputtext (LzInputText) » _newinternalinputtext

Known Subclasses

Details

Properties (1)

ignorecallup
<attribute name="ignorecallup" value="false" />
public var ignorecallup;
True means that setValue called internal inputtext and inputtext should not call setValue back.

Methods (5)

construct()
<method name="construct" args="parent, args" />
private function construct(parent, args);
Values like password and textwidth, which can't be changed at runtime, must be passed in early to inputtext .
doOnText()
<method name="doOnText" />
public function doOnText();
Sent whenever a user enters a valid new character.
getFocusRect()
<method name="getFocusRect" />
private function getFocusRect();
Get focus bracket for _internalinputtext to be the dimensions of baseedittext.
getNextSelection()
<method name="getNextSelection" />
public function getNextSelection();
getPrevSelection()
<method name="getPrevSelection" />
public function getPrevSelection();

LZX Synopsis

<class name="lz._newinternalinputtext" extends=" LzInputText ">
  <attribute name=" ignorecallup " value="false" />
  <method name=" construct " args="parent, args" />
  <method name=" doOnText " />
  <method name=" getFocusRect " />
  <method name=" getNextSelection " />
  <method name=" getPrevSelection " />
</class>

JavaScript Synopsis

private lz._newinternalinputtext extends  LzInputText  {
  public var ignorecallup ;
  prototype private function construct (parent, args);
  prototype public function doOnText ();
  prototype private function getFocusRect ();
  prototype public function getNextSelection ();
  prototype public function getPrevSelection ();
}