Packageorg.servebox.toolbox.form.elements
Classpublic class SmartTextAreaVertical
InheritanceSmartTextAreaVertical Inheritance mx.containers.VBox
Implementsmx.binding.IBindingClient



Public Properties
 PropertyDefined by
  _102727412label : String
[write-only] Set the label of the componenent, label could be very long, displaying in a mx:Text Component.
SmartTextAreaVertical
  globalVBoxWidth : Number
[read-only]
SmartTextAreaVertical
  label : String
[read-only]
SmartTextAreaVertical
  labelWidth : Number
TO DO: trouver une solution pour ce moins 200 ....
SmartTextAreaVertical
  open : Boolean
[write-only] Change the state of the component
SmartTextAreaVertical
  text : String
[read-only] Public Accessor linked on the text properties of the textarea tArea
SmartTextAreaVertical
  textAreaHeight : Number
[read-only]
SmartTextAreaVertical
Public Methods
 MethodDefined by
  
getShortTextForPreview(t:String):String
return a part of the text, caracter length on the preview can be change.
SmartTextAreaVertical
  
Initialize the component
SmartTextAreaVertical
  
setExpandBox():void
Define the little box for expand/unexpand the texte area.
SmartTextAreaVertical
  
switchImageSource(event:MouseEvent):void
if imageClose && imageOpen where specified change the source
SmartTextAreaVertical
  
switchTArea():void
switch between display Textarea of display TextPreview State
SmartTextAreaVertical
  
textareaWheelHandler(event:MouseEvent):void
on mouse wheel over a textearea redispatch event to the parent
SmartTextAreaVertical
Property detail
_102727412labelproperty
_102727412label:String  [write-only]

Set the label of the componenent, label could be very long, displaying in a mx:Text Component.

Implementation
    public function set _102727412label(value:String):void
globalVBoxWidthproperty 
globalVBoxWidth:Number  [read-only]

This property can be used as the source for data binding.

Implementation
    public function get globalVBoxWidth():Number
labelproperty 
label:String  [read-only]Implementation
    public function get label():String
labelWidthproperty 
labelWidth:Number  [read-write]

TO DO: trouver une solution pour ce moins 200 ....

This property can be used as the source for data binding.

Implementation
    public function get labelWidth():Number
    public function set labelWidth(value:Number):void
openproperty 
open:Boolean  [write-only]

Change the state of the component

Implementation
    public function set open(value:Boolean):void
textproperty 
text:String  [read-only]

Public Accessor linked on the text properties of the textarea tArea

Implementation
    public function get text():String
textAreaHeightproperty 
textAreaHeight:Number  [read-only]Implementation
    public function get textAreaHeight():Number
Method detail
getShortTextForPreview()method
public function getShortTextForPreview(t:String):String

return a part of the text, caracter length on the preview can be change.

Parameters
t:String

Returns
String
initializeTarea()method 
public function initializeTarea():void

Initialize the component

setExpandBox()method 
public function setExpandBox():void

Define the little box for expand/unexpand the texte area. if no imageOpen && imageClose specified the expandBox will be a square with thin border and the properties expandBoxLabelOpen && expandBoxLabelClose inside default is "+" and "-"

switchImageSource()method 
public function switchImageSource(event:MouseEvent):void

if imageClose && imageOpen where specified change the source

Parameters
event:MouseEvent
switchTArea()method 
public function switchTArea():void

switch between display Textarea of display TextPreview State

textareaWheelHandler()method 
public function textareaWheelHandler(event:MouseEvent):void

on mouse wheel over a textearea redispatch event to the parent

Parameters
event:MouseEvent