TextFieldUtil

Kind of class:class
Inherits from:none
Version:04/13/07
Author:Aaron Clinger
Classpath:org.casaframework.util.TextFieldUtil
File last modified:Friday, 13 April 2007, 08:20:21

Summary

Class methods

hasOverFlow

static function hasOverFlow (
target_txt:Object) : Boolean
Determines if textfield has more text than can be displayed at once.
Parameters:
target_txt:
Textfield or org.casaframework.textfield.CoreTextField to check for text overflow.
Returns:
Returns true if textfield has overflow text; otherwise false.

removeOverFlow

static function removeOverFlow (
target_txt:Object, omissionIndicator:String) : Void
Removes text overflow on a plain text textfield with the option of an ommission indicator.
Parameters:
target_txt :
Textfield or org.casaframework.textfield.CoreTextField to remove overflow.
omissionIndicator:
[optional] Text indication that an omission has occured; normally "..."; defaults to no indication.