Php/docs/class.ui-controls-multilineentry
(UI 0.9.9)
Introduction
A Multiline Entry is a text entry control able to hold multiple lines of text, with or without wrapping.
Class synopsis
UI\Controls\MultilineEntry extends UI\Control {
const
int
Wrap
const
int
NoWrap
/* Constructor */
public __construct
([ int $type
] )
/* Methods */
public append
( string $text
)
public getText ( ) : string
public isReadOnly ( ) : bool
protected onChange ( )
public setReadOnly
( bool $readOnly
)
public setText
( string $text
)
/* Inherited methods */
public UI\Control::destroy ( )
public UI\Control::disable ( )
public UI\Control::enable ( )
public UI\Control::getParent ( ) : UI\Control
public UI\Control::getTopLevel ( ) : int
public UI\Control::hide ( )
public UI\Control::isEnabled ( ) : bool
public UI\Control::isVisible ( ) : bool
public UI\Control::setParent
( UI\Control $parent
)
public UI\Control::show ( )
}
Predefined Constants
UI\Controls\MultilineEntry::Wrap
- Allow lines to wrap
UI\Controls\MultilineEntry::NoWrap
- Do not allow lines to wrap
Table of Contents
- UI\Controls\MultilineEntry::append — Append Text
- UI\Controls\MultilineEntry::__construct — Construct a new Multiline Entry
- UI\Controls\MultilineEntry::getText — Get Text
- UI\Controls\MultilineEntry::isReadOnly — Read Only Detection
- UI\Controls\MultilineEntry::onChange — Change Handler
- UI\Controls\MultilineEntry::setReadOnly — Set Read Only
- UI\Controls\MultilineEntry::setText — Set Text
/* Constants */