API Documentação da API
Lançado Adianti Framework 7.6!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

TWindow extends TPage
in package

Window Container (JQueryDialog wrapper)

Tags
version
7.6
author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Properties

$body  : mixed
$constructed  : mixed
$loadedcss  : mixed
$loadedjs  : mixed
$registeredcss  : mixed
$wrapper  : mixed

Methods

__construct()  : mixed
Class Constructor
__set()  : mixed
Intercepts whenever someones assign a new property's value
add()  : mixed
Add some content to the window
blockUI()  : mixed
Block UI
closeAll()  : mixed
Close all windows
closeWindow()  : mixed
Close TJQueryDialog's
closeWindowByName()  : mixed
Close window by name of controller
create()  : mixed
Create a window
disableEscape()  : mixed
Disable Escape
disableScrolling()  : mixed
Disable scrolling
getClassName()  : mixed
Return the Page name
getId()  : mixed
Returns ID
getLoadedCSS()  : mixed
Return the loaded Cascade Stylesheet files
getLoadedJS()  : mixed
Return the loaded JavaScript files
getTargetContainer()  : mixed
Return target container
include_css()  : mixed
Include a specific Cascading Stylesheet to this page
include_js()  : mixed
Include a specific JavaScript function to this page
isMobile()  : mixed
Discover if the browser is mobile device
openFile()  : mixed
Open a File Dialog
openPage()  : mixed
Open a page in new tab
register_css()  : mixed
Register a specific Cascading Stylesheet to this page
removePadding()  : mixed
Remove padding
removeTitleBar()  : mixed
Remove titlebar
run()  : mixed
Interprets an action based at the URL parameters
setCloseAction()  : mixed
set close action
setDialogClass()  : mixed
Set Dialog class
setMinWidth()  : mixed
Define the window's min width between percent and absolute
setModal()  : mixed
Turn on/off modal
setPageName()  : mixed
Set page name
setPageTitle()  : mixed
Change page title
setPosition()  : mixed
Define the top corner positions
setProperty()  : mixed
Define the Property value
setSize()  : mixed
Define the window's size
setStackOrder()  : mixed
Define the stack order (zIndex)
setTargetContainer()  : mixed
Set target container for page content
setTitle()  : mixed
Define the window's title
show()  : mixed
Decide wich action to take and show the page
unBlockUI()  : mixed
Unblock UI

Properties

$constructed

private mixed $constructed

$loadedcss

private static mixed $loadedcss

$loadedjs

private static mixed $loadedjs

$registeredcss

private static mixed $registeredcss

Methods

__construct()

Class Constructor

public __construct() : mixed

__set()

Intercepts whenever someones assign a new property's value

public __set( $name,  $value) : mixed
Parameters
$name :

Property Name

$value :

Property Value

add()

Add some content to the window

public add( $content) : mixed
Parameters
$content :

Any object that implements the show() method

blockUI()

Block UI

public static blockUI([mixed $timeout = null ]) : mixed
Parameters
$timeout : mixed = null

closeAll()

Close all windows

public static closeAll() : mixed

closeWindow()

Close TJQueryDialog's

public static closeWindow([mixed $id = null ]) : mixed
Parameters
$id : mixed = null

closeWindowByName()

Close window by name of controller

public static closeWindowByName(mixed $name) : mixed
Parameters
$name : mixed

create()

Create a window

public static create(mixed $title, mixed $width, mixed $height[, mixed $params = null ]) : mixed
Parameters
$title : mixed
$width : mixed
$height : mixed
$params : mixed = null

disableEscape()

Disable Escape

public disableEscape() : mixed

disableScrolling()

Disable scrolling

public disableScrolling() : mixed

getClassName()

Return the Page name

public getClassName() : mixed

getId()

Returns ID

public getId() : mixed

getLoadedCSS()

Return the loaded Cascade Stylesheet files

public static getLoadedCSS() : mixed
Tags
ignore-autocomplete

on

getLoadedJS()

Return the loaded JavaScript files

public static getLoadedJS() : mixed
Tags
ignore-autocomplete

on

getTargetContainer()

Return target container

public getTargetContainer() : mixed

include_css()

Include a specific Cascading Stylesheet to this page

public static include_css( $css) : mixed
Parameters
$css :

Cascading Stylesheet

include_js()

Include a specific JavaScript function to this page

public static include_js( $js) : mixed
Parameters
$js :

JavaScript location

isMobile()

Discover if the browser is mobile device

public static isMobile() : mixed

openFile()

Open a File Dialog

public static openFile( $file[, mixed $basename = null ]) : mixed
Parameters
$file :

File Name

$basename : mixed = null

openPage()

Open a page in new tab

public static openPage(mixed $page) : mixed
Parameters
$page : mixed

register_css()

Register a specific Cascading Stylesheet to this page

public static register_css( $cssname,  $csscode) : mixed
Parameters
$cssname :

Cascading Stylesheet Name

$csscode :

Cascading Stylesheet Code

removePadding()

Remove padding

public removePadding() : mixed

removeTitleBar()

Remove titlebar

public removeTitleBar() : mixed

run()

Interprets an action based at the URL parameters

public run() : mixed

setCloseAction()

set close action

public setCloseAction( $action) : mixed
Parameters
$action :

close action

setDialogClass()

Set Dialog class

public setDialogClass( $class) : mixed
Parameters
$class :

Class name

setMinWidth()

Define the window's min width between percent and absolute

public setMinWidth( $percent,  $absolute) : mixed
Parameters
$percent :

width

$absolute :

width

setModal()

Turn on/off modal

public setModal( $modal) : mixed
Parameters
$modal :

Boolean

setPageName()

Set page name

public setPageName(mixed $name) : mixed
Parameters
$name : mixed

setPageTitle()

Change page title

public static setPageTitle(mixed $title) : mixed
Parameters
$title : mixed

setPosition()

Define the top corner positions

public setPosition( $x,  $y) : mixed
Parameters
$x :

left coordinate

$y :

top coordinate

setProperty()

Define the Property value

public setProperty( $property,  $value) : mixed
Parameters
$property :

Property name

$value :

Property value

setSize()

Define the window's size

public setSize( $width,  $height) : mixed
Parameters
$width :

Window's width

$height :

Window's height

setStackOrder()

Define the stack order (zIndex)

public setStackOrder( $order) : mixed
Parameters
$order :

Stack order

setTargetContainer()

Set target container for page content

public setTargetContainer(mixed $container) : mixed
Parameters
$container : mixed

setTitle()

Define the window's title

public setTitle( $title) : mixed
Parameters
$title :

Window's title

show()

Decide wich action to take and show the page

public show() : mixed

unBlockUI()

Unblock UI

public static unBlockUI([mixed $timeout = null ]) : mixed
Parameters
$timeout : mixed = null

        
On this page

Search results