TextFieldUtil
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Version: | 02/10/07 |
| Author: | Aaron Clinger |
| Classpath: | org.casaframework.util.TextFieldUtil |
| File last modified: | Monday, 12 February 2007, 09:13:59 |
Summary
Class methods
Class methods
hasOverFlow
static function hasOverFlow (
target_txt:TextField) : Boolean
Determines if textfield has more text than can be displayed at once.
Parameters:
target_txt:
Textfield to check for text overflow.
Returns:
Returns
true if textfield has overflow text; otherwise false.removeOverFlow
static function removeOverFlow (
target_txt:TextField,
omissionIndicator:String) : Void
Removes text overflow on a plain text textfield with the option of an ommission indicator.
Parameters:
target_txt :
Textfield to remove overflow.
omissionIndicator:
[optional] Text indication that an omission has occured; normally
"..."; defaults to no indication.