Text component that uses the default component font and fontsize.

The statictext tag provides a text field which has a look and feel to match the lz component set, even when the canvas font has been changed. It can accept any text attribute.

text in app default font (Conga) text in component default font ]]>
this._focusable = isFocusable; if (this.enabled) { this.focusable = this._focusable; if (this.onfocusable.ready) this.onfocusable.sendEvent(); } else { this.focusable = false; } super.construct(parent, args); // initialize internal _parentcomponent attribute var p = this.immediateparent; while (p != canvas) { if (p is lz.basecomponent) { this._parentcomponent = p; break; } p = p.immediateparent; } return false; return false; return false; return false; //avoid undefined property warnings this.isdefault = this[ 'isdefault' ] == true; if ( this.isdefault == def ) return; if ( def ){ lz._componentmanager.service.makeDefault( this ); } else { lz._componentmanager.service.unmakeDefault( this ); } this.isdefault = def; if ( this.onisdefault.ready ){ this.onisdefault.sendEvent( def ); } this.doesenter = doe; if ( lz.Focus.getFocus() == this ){ lz._componentmanager.service.checkDefault( this ); } lz._componentmanager.service.checkDefault( lz.Focus.getFocus() ); > 16) & 0xFF; var green=(rgb >> 8) & 0xFF; var blue=rgb & 0xFF; red += 0x33; green += 0x33; blue += 0x33; // these are percentages red = red/255; green = green/255; blue = blue/255; // Can't shade 114% rgb with tintcolor... v.setAttribute('colortransform', {redMultiplier : red, greenMultiplier : green, blueMultiplier : blue, redOffset : brightness, greenOffset : brightness, blueOffset : brightness}); } } ]]> this.setAttribute('text', data); return this.text; return [this, 'text']; this.acceptValue(d); return this.presentValue(); an abstract class which all components subclass

An abstract base class that handles focus, the text attribute, and style.