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 TWindow

Description

Window Container (JQueryDialog wrapper)

Located in /control/TWindow.php (line 19)

TElement
   |
   --TPage
      |
      --TWindow
Direct descendents
Class Description
TStandardSeek Standard Page controller for Seek buttons
Method Summary
static blockUI ([$timeout = null])
static closeWindow ([$id = null])
static closeWindowByName ($name)
static create ($title, $width, $height, [$params = null])
static unBlockUI ([$timeout = null])
add ($content)
getId ()
setCloseAction ($action)
setDialogClass ($class)
setMinWidth ($percent, $absolute)
setModal ($modal)
setPosition ($x, $y)
setProperty ($property, $value)
setSize ($width, $height)
setStackOrder ($order)
setTitle ($title)
Variables

Inherited Variables

Inherited from TElement

TElement::$children
Methods
static blockUI (line 191)

Block UI

  • access: public
static blockUI ([$timeout = null])
  • $timeout
static closeWindow (line 207)

Close TJQueryDialog's

  • access: public
static closeWindow ([$id = null])
  • $id
static closeWindowByName (line 222)

Close window by name of controller

  • access: public
static closeWindowByName ($name)
  • $name
static create (line 52)

Create a window

  • access: public
static create ($title, $width, $height, [$params = null])
  • $title
  • $width
  • $height
  • $params
static unBlockUI (line 199)

Unblock UI

  • access: public
static unBlockUI ([$timeout = null])
  • $timeout
Constructor __construct (line 23)
  • access: public
__construct ()

Redefinition of:
TPage::__construct()
Class Constructor

Redefined in descendants as:
add (line 174)

Add some content to the window

  • access: public
add ($content)
  • $content: Any object that implements the show() method

Redefinition of:
TElement::add()
Add an child element
disableEscape (line 117)

Disable Escape

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

Disable scrolling

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

Returns ID

  • access: public
getId ()
removePadding (line 65)

Remove padding

  • access: public
removePadding ()
removeTitleBar (line 73)

Remove titlebar

  • access: public
removeTitleBar ()
setCloseAction (line 183)

set close action

  • access: public
setCloseAction ($action)
  • $action: close action
setDialogClass (line 82)

Set Dialog class

  • access: public
setDialogClass ($class)
  • $class: Class name
setMinWidth (line 145)

Define the window's min width between percent and absolute

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

Turn on/off modal

  • access: public
setModal ($modal)
  • $modal: Boolean
setPosition (line 155)

Define the top corner positions

  • access: public
setPosition ($x, $y)
  • $x: left coordinate
  • $y: top coordinate
setProperty (line 165)

Define the Property value

  • access: public
setProperty ($property, $value)
  • $property: Property name
  • $value: Property value

Redefinition of:
TElement::setProperty()
Set tag property
setSize (line 135)

Define the window's size

  • access: public
setSize ($width, $height)
  • $width: Window's width
  • $height: Window's height
setStackOrder (line 91)

Define the stack order (zIndex)

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

Define the window's title

  • access: public
setTitle ($title)
  • $title: Window's title

Inherited Methods

Inherited From TPage

TPage::__construct()
TPage::getClassName()
TPage::getLoadedCSS()
TPage::getLoadedJS()
TPage::getTargetContainer()
TPage::include_css()
TPage::include_js()
TPage::isMobile()
TPage::openFile()
TPage::openPage()
TPage::register_css()
TPage::run()
TPage::setPageTitle()
TPage::setTargetContainer()
TPage::show()
TPage::__set()

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()