UITextElement¶
-
php\swing\UITextElement abstract class
extends: php\swing\UIContainer
Children
- class php\swing\UIEdit
- class php\swing\UIEditorArea
- class php\swing\UIRichTextArea
- class php\swing\UITextArea
Properties
- property
text¶string
- property
readOnly¶bool
- property
caretPos¶int
- property
caretColor¶
- property
selectedStart¶int
- property
selectedEnd¶int
- property
selectedText¶int
read-only
- property
selectionColor¶
- property
selectionTextColor¶
- property
disabledTextColor¶
- property
margin¶php\swing\array [top, left, bottom, right]
int[]
Methods
copy()¶
cut()¶
paste()¶
select($selStart, $selEnd)¶
Parameters:
- $selStart – int
- $selEnd – int
selectAll()¶
replaceSelection($content)¶
Parameters:
- $content – string
printDialog()¶A convenience print method that displays a print dialog, and then prints this element in interactive mode with no header or footer text. Note: this method blocks until printing is done.
Returns: bool