|
Framework JavaScript ACube V2.10.0 | ||||||||
CLASSE PRECEDENTE CLASSE SUIVANTE | CADRES SANS CADRES | ||||||||
SOMMAIRE: ATTR | CONSTR | METH | DETAIL: ATTR | CONSTR | METH |
Object | +--ContentViewer
The classe «ContentViewer» is use to write an HTML content in the page.
RENDU IHM
ContentViewer
[Instanciation de la classe ContentViewer correspondante : voir Exemples]
Date: 13/12/2007
Version: 2.7.0
Definie dans ergonomique/fw_contentViewer.js
Fichiers CSS nécessaires:
Sommaire des Attributs | |
<private> String |
contentHTML
Content of the element. |
<private> String |
contentId
Id of the dom HTML element where the composant will be write. |
<private> String |
contentTitle
Title of the element. |
<private> String |
height
height of the composant. |
<private> String |
id
Id of the composant. |
<private> boolean |
isContentDisplayed
boolean to indiquate if the composant must appear reduce. |
<private> boolean |
isReducible
boolean to indiquate if the composant can be reduce. |
<private> boolean |
isTitleDisplayed
boolean to indiquate if the title of the composant must be show. |
<private> boolean |
scrollIfNecessary
boolean to indiquate if the composant must be scroll. |
<private> String |
width
width of the composant. |
<private> String |
XMLConfig
XMLObject use to configure the composant. |
<private> String |
XMLData
XMLObject which have data to print. |
Sommaire des Constructeurs | |
ContentViewer
(<String_Obligatoire> id, <XMLObjectSauvegarde_Facultatif> XMLConfig, <XMLObjectSauvegarde_Facultatif> XMLData, <String_Facultatif> contentId, <String_Facultatif> title, <String_Facultatif> content, <String_Facultatif> width, <String_Facultatif> height, <boolean_Facultatif> isReducible, <boolean_Facultatif> isTitleDisplayed, <boolean_Facultatif> scrollIfNecessary, <boolean_Facultatif> isContentDisplayed)
Create an instance of ContentViewer class. |
Sommaire des Méthodes | |
<private> void
|
ecrireBind()
the private method «ecrireBind» is use when to write the HTML of the composant. |
<private> void
|
extractConfigFromXML()
the public method «extractConfigFromXML» initialize the composant with the XMLConfig property. |
<private> void
|
extractDataFromXML()
the public method «extractDataFromXML» initialize the data of the composant with the XMLData property. |
String
|
getContentHTML()
the public method «getContentHTML» return the contentHTML property. |
String
|
getContentId()
the public method «getContentId» return the contentId property. |
String
|
getContentTitle()
the public method «getContentTitle» return the contentTitle property. |
String
|
getHeight()
the public method «getHeight» return the height property. |
String
|
getWidth()
the public method «getWidth» return the width property. |
void
|
hideTitle()
the public method «hideTitle» is use to hide the title. |
void
|
hideVScrollbar()
the public method «hideVScrollbar» is use to hide the scrollbar. |
<private> void
|
onclick()
the private method «onclick» is use when the mouse click on the button. |
<private> void
|
onMouseOut()
the private method «onMouseOut» is use when the mouse is over the button. |
<private> void
|
onMouseOver()
the private method «onMouseOver» is use when the mouse leave the button. |
void
|
setContentHTML(<String_Obligatoire> contentHTML)
the public method «setContentHTML» set the contentHTML property. |
void
|
setContentTitle(<String_Obligatoire> contentTitle)
the public method «setContentTitle» set the contentTitle property. |
void
|
setHeight(<String_Obligatoire> height)
the public method «setHeight» set the height property. |
void
|
setWidth(<String_Obligatoire> width)
the public method «setWidth» set the width property. |
void
|
showTitle()
the public method «showTitle» is use to display the title. |
void
|
showVScrollbar()
the public method «showVScrollbar» is use to display the scrollbar. |
Détail des Attributs |
<private> String contentHTML
<private> String contentId
<private> String contentTitle
<private> String height
<private> String id
<private> boolean isContentDisplayed
<private> boolean isReducible
<private> boolean isTitleDisplayed
<private> boolean scrollIfNecessary
<private> String width
<private> String XMLConfig
<private> String XMLData
Détail des Constructeurs |
ContentViewer(<String_Obligatoire> id, <XMLObjectSauvegarde_Facultatif> XMLConfig, <XMLObjectSauvegarde_Facultatif> XMLData, <String_Facultatif> contentId, <String_Facultatif> title, <String_Facultatif> content, <String_Facultatif> width, <String_Facultatif> height, <boolean_Facultatif> isReducible, <boolean_Facultatif> isTitleDisplayed, <boolean_Facultatif> scrollIfNecessary, <boolean_Facultatif> isContentDisplayed)
id - String_Obligatoire
: id of Composant
XMLConfig - XMLObjectSauvegarde_Facultatif
: XML object use to configure the composant. It must be respect the dtd associate
XMLData - XMLObjectSauvegarde_Facultatif
: XML object that contains data to display.
contentId - String_Facultatif
: Id of the content
title - String_Facultatif
: Title of the content
content - String_Facultatif
: content HTML to display
width - String_Facultatif
: Width of the composant
height - String_Facultatif
: height of the composant
isReducible - boolean_Facultatif
: if the content can be reduce
isTitleDisplayed - boolean_Facultatif
: if the title must be display
scrollIfNecessary - boolean_Facultatif
: if the scrollbar must be display
isContentDisplayed - boolean_Facultatif
: if the content must be display
Détail des Méthodes |
<private> void ecrireBind()
Aucun -
<private> void extractConfigFromXML()
Aucun -
<private> void extractDataFromXML()
Aucun -
String getContentHTML()
Aucun -
String getContentId()
Aucun -
String getContentTitle()
Aucun -
String getHeight()
Aucun -
String getWidth()
Aucun -
void hideTitle()
Aucun -
void hideVScrollbar()
Aucun -
<private> void onclick()
Aucun -
<private> void onMouseOut()
Aucun -
<private> void onMouseOver()
Aucun -
void setContentHTML(<String_Obligatoire> contentHTML)
contentHTML - String_Obligatoire
: the new contentHTML property
void setContentTitle(<String_Obligatoire> contentTitle)
contentTitle - String_Obligatoire
: the new contentTitle property
void setHeight(<String_Obligatoire> height)
height - String_Obligatoire
: the new height property
void setWidth(<String_Obligatoire> width)
width - String_Obligatoire
: the new width property
void showTitle()
Aucun -
void showVScrollbar()
Aucun -
|
Framework JavaScript ACube V2.10.0 | ||||||||
CLASSE PRECEDENTE CLASSE SUIVANTE | CADRES SANS CADRES | ||||||||
SOMMAIRE: ATTR | CONSTR | METH | DETAIL: ATTR | CONSTR | METH |