API Documentação da API
Inscrições abertas para nosso Webinar anual Adianti Framework 2024!
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

TNotebook extends TElement
in package

Notebook

Tags
version
7.6
subpackage

container

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

$container  : mixed
$counter  : mixed
$currentPage  : mixed
$height  : mixed
$id  : mixed
$noteCounter  : mixed
$pages  : mixed
$tabAction  : mixed
$tabsSensibility  : mixed
$tabsVisibility  : mixed
$width  : mixed

Methods

__construct()  : mixed
Class Constructor
appendPage()  : mixed
Add a tab to the notebook
getCurrentPage()  : mixed
Returns the current page
getId()  : mixed
Returns the element ID
getPageCount()  : mixed
Return the Page count
getSize()  : array<string|int, mixed>
Returns the frame size
render()  : mixed
Render the notebook
setCurrentPage()  : mixed
Define the current page to be shown
setSize()  : mixed
Set the notebook size
setTabAction()  : mixed
Define the action for the Notebook tab
setTabsSensibility()  : mixed
Define the tabs click sensibility
setTabsVisibility()  : mixed
Define if the tabs will be visible or not
show()  : mixed
Show the notebook

Properties

$noteCounter

private static mixed $noteCounter

$tabsSensibility

private mixed $tabsSensibility

$tabsVisibility

private mixed $tabsVisibility

Methods

__construct()

Class Constructor

public __construct([ $width = null ][,  $height = null ]) : mixed
Parameters
$width : = null

Notebook's width

$height : = null

Notebook's height

appendPage()

Add a tab to the notebook

public appendPage( $title,  $object) : mixed
Parameters
$title :

tab's title

$object :

tab's content

getCurrentPage()

Returns the current page

public getCurrentPage() : mixed

getId()

Returns the element ID

public getId() : mixed

getPageCount()

Return the Page count

public getPageCount() : mixed

getSize()

Returns the frame size

public getSize() : array<string|int, mixed>
Return values
array<string|int, mixed>

render()

Render the notebook

public render() : mixed

setCurrentPage()

Define the current page to be shown

public setCurrentPage( $i) : mixed
Parameters
$i :

An integer representing the page number (start at 0)

setSize()

Set the notebook size

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

Notebook's width

$height :

Notebook's height

setTabAction()

Define the action for the Notebook tab

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

Action taken when the user clicks over Notebook tab (A TAction object)

setTabsSensibility()

Define the tabs click sensibility

public setTabsSensibility( $sensibility) : mixed
Parameters
$sensibility :

If the tabs will be sensible to click

setTabsVisibility()

Define if the tabs will be visible or not

public setTabsVisibility( $visible) : mixed
Parameters
$visible :

If the tabs will be visible

show()

Show the notebook

public show() : mixed

        
On this page

Search results