|
Framework JavaScript ACube V2.10.0 | ||||||||
CLASSE PRECEDENTE CLASSE SUIVANTE | CADRES SANS CADRES | ||||||||
SOMMAIRE: ATTR | CONSTR | METH | DETAIL: ATTR | CONSTR | METH |
Object | +--DefaultHtml | +--DefaultHtmlInput
La classe «DefaultHtmlInput» est une sous-classe de
DefaultHtml . Elle hérite de ses propriétés (décrivant les attributs HTML communs), et de ses méthodes.
DefaultHtmlInput modélise le Tag <input>. INPUT est une balise essentielle des formulaires,
permettant de créer nombreux éléments "interactifs" (checkbox, hidden, file, image, password, radio, reset,
submit, text).
Date: : 25/10/2005
Version: 1.1
Definie dans ergonomique/fw_formulaire_default.js
Sommaire des Attributs | |
<private> String |
alt
Attribut html «alt» de DefaultHtmlInput. |
<private> boolean |
checked
Attribut html «checked». |
<private> boolean |
disabled
Attribut html «disabled». |
<private> int |
maxlength
Attribut html «maxlength». |
<private> boolean |
readonly
Attribut html «readonly». |
<private> int |
size
Attribut html «size». |
<private> String |
type
Attribut html «type». |
<private> String |
value
Attribut html «value». |
Attributs hérités de la classeDefaultHtml |
id, style, title, name, tabindex
|
Sommaire des Constructeurs | |
DefaultHtmlInput
(<String_Facultatif> id, <String_Facultatif> type, <int_Facultatif> maxlength, <int_Facultatif> size, <int_Facultatif> tabindex)
Crée une instance de la classe «DefaultHtmlInput». |
Sommaire des Méthodes | |
Object
|
extend_DefaultHtml(<String_Facultatif> id, <int_Facultatif> tabindex)
Crée une instance de la classe DefaultHtml. |
void
|
setTitle(<String_Obligatoire> title)
La classe DefaultHtmlInput surcharge la méthode publique «setTitle» de DefaultHtml pour renseigner également l'attribut HTML «alt». |
Méthodes héritées de la classe DefaultHtml |
newId, setTitle, getTitle, getId, setStyle, getStyle
|
Détail des Attributs |
<private> String alt
<private> boolean checked
<private> boolean disabled
<private> int maxlength
<private> boolean readonly
<private> int size
<private> String type
<private> String value
Détail des Constructeurs |
DefaultHtmlInput(<String_Facultatif> id, <String_Facultatif> type, <int_Facultatif> maxlength, <int_Facultatif> size, <int_Facultatif> tabindex)
id - String_Facultatif
: «id» de l'élément, hérité de DefaultHtml
type - String_Facultatif
: attribut html «type», permettant de préciser le type d'élément que représente la balise INPUT.
maxlength - int_Facultatif
: attribut html «maxlength», permettant de spécifier la taille maximale de caractères autorisés.
size - int_Facultatif
: attribut html «size», permettant de définir la taille visible du champ en nombre de caractères.
tabindex - int_Facultatif
: attribut html «tabindex», hérité de DefaultHtml
Détail des Méthodes |
Object extend_DefaultHtml(<String_Facultatif> id, <int_Facultatif> tabindex)
id - String_Facultatif
: «id» de l'élément pour DefaultHtml. Identifiant permettant de faire référence à un élément unique d'une page
tabindex - int_Facultatif
: position de l'élément lors d'une tabulation
void setTitle(<String_Obligatoire> title)
title - String_Obligatoire
: L'attribut «title» à renseigner
|
Framework JavaScript ACube V2.10.0 | ||||||||
CLASSE PRECEDENTE CLASSE SUIVANTE | CADRES SANS CADRES | ||||||||
SOMMAIRE: ATTR | CONSTR | METH | DETAIL: ATTR | CONSTR | METH |