Class Index | File Index

Classes


Class py.dialog.Dialog


Defined in: dialog.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Base dialog class
Field Summary
Field Attributes Field Name and Description
<private>  
store __init__ argument
<private>  
the background node (an iframe)
<private>  
close button node
<private>  
usefull boolean !
<private>  
content node
<private>  
another usefull boolean !
<private>  
max height ratio
<private>  
max width ratio
<private>  
main container node
<private>  
resize handler
<private>  
scroll handler
<private>  
title node
<private>  
Title bar node, contains _title_node and _close_button
 
Template string to be placed in _node
Method Summary
Method Attributes Method Name and Description
<private>  
prepare _node styles
<private>  
put the content in _content_node
 
destroy the popup
 
hide()
hide the popup
 
show()
show the popup
Class Detail
py.dialog.Dialog(args)
Base dialog class
Parameters:
{Object} args
Constructs arguments
{String} args.title Optional
Popup title
{String} args.content
Popup content
{Function} args.onCancel Optional
function to call when close popup
{Boolean} args.draggable Optional, Default: true
enable or disable drag&drop
Field Detail
<private> _args
store __init__ argument

<private> _background_node
the background node (an iframe)

<private> _close_button
close button node

<private> _content_loaded
usefull boolean !

<private> _content_node
content node

<private> _is_shown
another usefull boolean !

<private> _max_height
max height ratio

<private> _max_width
max width ratio

<private> _node
main container node

<private> _resize_hdlr
resize handler

<private> _scroll_hdlr
scroll handler

<private> _title_node
title node

<private> _titlebar_node
Title bar node, contains _title_node and _close_button

template
Template string to be placed in _node
Method Detail
<private> _initNode()
prepare _node styles

<private> _setContent()
put the content in _content_node

destroy()
destroy the popup

hide()
hide the popup

show()
show the popup

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Jan 09 2012 11:46:58 GMT+0100 (CET)