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

TActionLink extends TTextDisplay
in package

Action Link

Tags
version
7.6
subpackage

util

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

$action  : mixed
$icon  : mixed
$size  : mixed
$toggleVisibility  : mixed

Methods

__construct()  : mixed
Class Constructor
addFunction()  : mixed
Add a JavaScript function to be executed by the button
addStyleClass()  : mixed
Add CSS class
enableToggleVisibility()  : mixed
Enable toggle visible
getAction()  : mixed
Returns the current calback
getSize()  : mixed
Returns the field size
setLabel()  : mixed
Replace current label
setSize()  : mixed
Define the Text's width
show()  : mixed

Properties

Methods

__construct()

Class Constructor

public __construct( $value,  $action[,  $color = null ][,  $size = null ][,  $decoration = null ][, mixed $icon = null ]) : mixed
Parameters
$value :

text content

$action :

TAction Object

$color : = null

text color

$size : = null

text size

$decoration : = null

text decorations (b=bold, i=italic, u=underline)

$icon : mixed = null

addFunction()

Add a JavaScript function to be executed by the button

public addFunction( $function) : mixed
Parameters
$function :

A piece of JavaScript code

Tags
ignore-autocomplete

on

addStyleClass()

Add CSS class

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

enableToggleVisibility()

Enable toggle visible

public enableToggleVisibility([mixed $toggleVisibility = TRUE ]) : mixed
Parameters
$toggleVisibility : mixed = TRUE

getAction()

Returns the current calback

public getAction() : mixed

getSize()

Returns the field size

public getSize() : mixed

setLabel()

Replace current label

public setLabel(mixed $label) : mixed
Parameters
$label : mixed

setSize()

Define the Text's width

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

Field's width in pixels


        
On this page

Search results