Name

simpleinputtext

Synopsis

LZX: simpleinputtext
JavaScript: lz.simpleinputtext
Type: Class
Access: public
Topic: Components.Laszlo Components
Declared in: lps/components/lz/simpletext.lzx

Description

Note: Simpleinputtext is deprecated. Please use edittext instead.

Superclass Chain

node (LzNode) » view (LzView) » simpleinputtext

Known Subclasses

Details

Properties (6)

bgOpacity
<attribute name="bgOpacity" value="1" />
public var bgOpacity;
The opacity for the input background. Default is 1.
blurborderOpacity
<attribute name="blurborderOpacity" value="1" />
public var blurborderOpacity;
The opacity for the border on blur. Default is 1.
focusborderOpacity
<attribute name="focusborderOpacity" value="1" />
public var focusborderOpacity;
The opacity for the border on focus. Default is 1.
text
<attribute name="text" type="html" value="" />
public var text : lz.html;
The text for input. Defaults to empty string.
textOpacity
<attribute name="textOpacity" value="1" />
public var textOpacity;
The text opacity. Default is 1.
width
<attribute name="width" value="100" />
public var width;
The width of the input box. Default is 100.

Methods (7)

applyData()
<method name="applyData" args="d" />
private function applyData(d);
getText()
<method name="getText" />
public function getText() : String;
Get the text.
handleOnBlur()
<method name="handleOnBlur" />
private function handleOnBlur();
handleOnFocus()
<method name="handleOnFocus" />
private function handleOnFocus();
init()
<method name="init" />
private function init();
setText()
<method name="setText" args="t" />
public function setText(t : String);
Set the text.
updateData()
<method name="updateData" />
private function updateData();

LZX Synopsis

<class name="lz.simpleinputtext" extends=" LzView ">
  <attribute name=" bgOpacity " value="1" />
  <attribute name=" blurborderOpacity " value="1" />
  <attribute name=" focusborderOpacity " value="1" />
  <attribute name=" text " type="html" value="" />
  <attribute name=" textOpacity " value="1" />
  <attribute name=" width " value="100" />
  <method name=" applyData " args="d" />
  <method name=" getText " />
  <method name=" handleOnBlur " />
  <method name=" handleOnFocus " />
  <method name=" init " />
  <method name=" setText " args="t" />
  <method name=" updateData " />
</class>

JavaScript Synopsis

public deprecated lz.simpleinputtext extends  LzView  {
  public var bgOpacity ;
  public var blurborderOpacity ;
  public var focusborderOpacity ;
  public var text  : lz.html;
  public var textOpacity ;
  public var width ;
  prototype private function applyData (d);
  prototype public function getText () : String;
  prototype private function handleOnBlur ();
  prototype private function handleOnFocus ();
  prototype private function init ();
  prototype public function setText (t : String);
  prototype private function updateData ();
}