Skip to Main Content
Programming Atlas
book

Programming Atlas

by Christian Wenz
September 2006
Intermediate to advanced content levelIntermediate to advanced
408 pages
10h 38m
English
O'Reilly Media, Inc.
Content preview from Programming Atlas

Behaviors

The following behaviors ship with Atlas.

Sys.UI.Behavior (General Class)

Method

Description

get_dataContext()

Returns the behavior’s data context

setOwner(control)

Links the behavior to its owner element

Sys.UI.PopupBehavior

Method

Description

get_parentElement()

Returns the parent element of the pop-up

set_parentElement(element)

Sets the parent element of the pop-up

get_positioningMode()

Returns the positioning mode of the pop-up

set_positioningMode(mode)

Sets the positioning mode of the pop-up

get_x()

Returns the horizontal position of the pop-up

set_x(x)

Sets the horizontal position of the pop-up

get_y()

Returns the vertical position of the pop-up

set_y(y)

Sets the vertical position of the pop-up

hide()

Hides the pop-up

show()

Shows the pop-up

initialize()

Initializes the behavior

Sys.UI.ClickBehavior

Method

Description

clickHandler()

Emulates a click

initialize()

Initializes the behavior

Sys.UI.HoverBehavior

Method

Description

get_hoverElement()

Returns the element to hover over

set_hoverElement(element)

Sets the element to hover over

get_unhoverDelay()

Returns the unhover delay (in milliseconds)

set_unhoverDelay(ms)

Sets the unhover delay (in milliseconds)

initialize()

Initializes the behavior

Sys.UI.AutoCompleteBehavior

Method

Description

get_completionInterval()

Returns the interval after which the field entry is completed

set_completionInterval(value) ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Go Systems Programming

Go Systems Programming

Mihalis Tsoukalos

Publisher Resources

ISBN: 0596526725Supplemental ContentCatalog PageErrata