DhText Methods

Overview | This Package | All Packages

DhText Methods

Constructors Description
DhText Creates a DhText object.

Methods Description
addOnChange Assigns a delegate to the change event.

addOnGotFocus Assigns a delegate to the gotFocus event.

addOnLostFocus Assigns a delegate to the lostFocus event.

addOnResize Assigns a delegate to the resize event.

addOnScroll Assigns a delegate to the scroll event.

addOnSelect Assigns a delegate to the select event.

getDisplayMode Retrieves the current display mode as one of the DhTextMode constants.

getText Retrieves the text this element currently displays when rendered.

removeOnChange Removes the delegate that is assigned to the change event.

removeOnGotFocus Removes the delegate that is assigned to the gotFocus event.

removeOnLostFocus Removes the delegate that is assigned to the lostFocus event.

removeOnResize Removes the delegate that is assigned to the resize event.

removeOnScroll Removes the delegate that is assigned to the scroll event.

removeOnSelect Removes the delegate that is assigned to the select event.

setDisplayMode Sets the current display mode as one of the DhTextMode constants.

setText Sets (or resets) the text to display in this element.

shouldPersistText Determines whether the text in the object is set to persist.