TNotebook
extends TElement
in package
Notebook
Tags
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
$container
private
mixed
$container
$counter
private
mixed
$counter
$currentPage
private
mixed
$currentPage
$height
private
mixed
$height
$id
private
mixed
$id
$noteCounter
private
static mixed
$noteCounter
$pages
private
mixed
$pages
$tabAction
private
mixed
$tabAction
$tabsSensibility
private
mixed
$tabsSensibility
$tabsVisibility
private
mixed
$tabsVisibility
$width
private
mixed
$width
Methods
__construct()
Class Constructor
public
__construct([ $width = null ][, $height = null ]) : mixed
Parameters
appendPage()
Add a tab to the notebook
public
appendPage( $title, $object) : mixed
Parameters
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
setSize()
Set the notebook size
public
setSize( $width, $height) : mixed
Parameters
setTabAction()
Define the action for the Notebook tab
public
setTabAction( $action) : mixed
Parameters
setTabsSensibility()
Define the tabs click sensibility
public
setTabsSensibility( $sensibility) : mixed
Parameters
setTabsVisibility()
Define if the tabs will be visible or not
public
setTabsVisibility( $visible) : mixed
Parameters
show()
Show the notebook
public
show() : mixed