Lançado Adianti Framework 7.6!
Clique aqui para saber mais
menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TJQueryDialog

Description

JQuery dialog container

Located in /widget/container/TJQueryDialog.php (line 20)

TElement
   |
   --TJQueryDialog
Method Summary
static closeAll ()
static closeById ($id)
static closeLatest ()
addAction ($label, $action)
close ()
getId ()
setCloseAction ($action)
setDialogClass ($class)
setDraggable ($bool)
setMinWidth ($percent, $absolute)
setModal ($bool)
setPosition ($left, $top)
setResizable ($bool)
setSize ($width, $height)
setStackOrder ($order)
setTitle ($title)
setUseOKButton ($bool)
show ()
Variables

Inherited Variables

Inherited from TElement

TElement::$children
Methods
static closeAll (line 270)

Close all TJQueryDialog

  • access: public
static closeAll ()
static closeById (line 262)

Close window by id

  • access: public
static closeById ($id)
  • $id
static closeLatest (line 282)

Close all TJQueryDialog

  • access: public
static closeLatest ()
Constructor __construct (line 40)

Class Constructor

  • access: public
__construct (0)
  • 0: Name of the widget

Redefinition of:
TElement::__construct()
Class Constructor
addAction (line 196)

Add a JS button to the dialog

  • access: public
addAction ($label, $action)
  • $label: button label
  • $action: JS action
close (line 254)

Closes the dialog

  • access: public
close ()

Redefinition of:
TElement::close()
BC only
disableEscape (line 60)

Disable close on escape

  • access: public
disableEscape ()
disableScrolling (line 68)

Disable scrolling

  • access: public
disableScrolling ()
getId (line 146)

Returns the element ID

  • access: public
getId ()
setCloseAction (line 85)

Set close action

  • access: public
setCloseAction ($action)
  • $action
setDialogClass (line 77)

Set Dialog class

  • access: public
setDialogClass ($class)
  • $class: Class name
setDraggable (line 138)

Turn on/off draggable

  • access: public
setDraggable ($bool)
  • $bool: Boolean
setMinWidth (line 175)

Define the window's min width between percent and absolute

  • access: public
setMinWidth ($percent, $absolute)
  • $percent: width
  • $absolute: width
setModal (line 120)

Turn on/off modal

  • access: public
setModal ($bool)
  • $bool: Boolean
setPosition (line 185)

Define the dialog position

  • access: public
setPosition ($left, $top)
  • $left: left
  • $top: top
setResizable (line 129)

Turn on/off resizeable

  • access: public
setResizable ($bool)
  • $bool: Boolean
setSize (line 156)

Define the dialog size

  • access: public
setSize ($width, $height)
  • $width: width
  • $height: height
setStackOrder (line 205)

Define the stack order (zIndex)

  • access: public
setStackOrder ($order)
  • $order: Stack order
setTitle (line 111)

Define the dialog title

  • access: public
setTitle ($title)
  • $title: title
setUseOKButton (line 102)

Define if will use OK Button

  • access: public
setUseOKButton ($bool)
  • $bool: boolean
show (line 213)

Shows the widget at the screen

  • access: public
show ()

Redefinition of:
TElement::show()
Shows the tag

Inherited Methods

Inherited From TElement

TElement::__construct()
TElement::add()
TElement::after()
TElement::clearChildren()
TElement::close()
TElement::closeTag()
TElement::del()
TElement::find()
TElement::get()
TElement::getAfterElement()
TElement::getChildren()
TElement::getContents()
TElement::getIsWrapped()
TElement::getName()
TElement::getProperties()
TElement::getProperty()
TElement::hide()
TElement::insert()
TElement::open()
TElement::openTag()
TElement::setIsWrapped()
TElement::setName()
TElement::setProperties()
TElement::setProperty()
TElement::setUseLineBreaks()
TElement::setUseSingleQuotes()
TElement::show()
TElement::tag()
TElement::__clone()
TElement::__get()
TElement::__isset()
TElement::__set()
TElement::__toString()
TElement::__unset()