UITextElement

php\swing\UITextElement

abstract class

extends: php\swing\UIContainer

Children


Properties


property text

string

property readOnly

bool

property caretPos

int

property caretColor

php\swing\Color

property selectedStart

int

property selectedEnd

int

property selectedText

int

read-only

property selectionColor

php\swing\Color

property selectionTextColor

php\swing\Color

property disabledTextColor

php\swing\Color

property margin

php\swing\array [top, left, bottom, right]

int[]

Methods


copy()
cut()
paste()
select($selStart, $selEnd)
Parameters:
  • $selStartint
  • $selEndint
selectAll()
replaceSelection($content)
Parameters:
  • $contentstring
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