Framework JavaScript ACube V2.10.0
 

Classe ContentViewer

Object
   |
   +--ContentViewer

class 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

contentHTML

<private> String contentHTML

contentId

<private> String contentId

contentTitle

<private> String contentTitle

height

<private> String height

id

<private> String id

isContentDisplayed

<private> boolean isContentDisplayed

isReducible

<private> boolean isReducible

isTitleDisplayed

<private> boolean isTitleDisplayed

scrollIfNecessary

<private> boolean scrollIfNecessary

width

<private> String width

XMLConfig

<private> String XMLConfig

XMLData

<private> String XMLData

Détail des Constructeurs

ContentViewer

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)

Détail des Méthodes

ecrireBind

 <private> void ecrireBind()

extractConfigFromXML

 <private> void extractConfigFromXML()

extractDataFromXML

 <private> void extractDataFromXML()

getContentHTML

String getContentHTML()

getContentId

String getContentId()

getContentTitle

String getContentTitle()

getHeight

String getHeight()

getWidth

String getWidth()

hideTitle

void hideTitle()

hideVScrollbar

void hideVScrollbar()

onclick

 <private> void onclick()

onMouseOut

 <private> void onMouseOut()

onMouseOver

 <private> void onMouseOver()

setContentHTML

void setContentHTML(<String_Obligatoire> contentHTML)

setContentTitle

void setContentTitle(<String_Obligatoire> contentTitle)

setHeight

void setHeight(<String_Obligatoire> height)

setWidth

void setWidth(<String_Obligatoire> width)

showTitle

void showTitle()

showVScrollbar

void showVScrollbar()

Framework JavaScript ACube V2.10.0
 

Version 2.10.0, / Etat : Validé
Cette création est mise à disposition selon le Contrat Paternité - Pas d'Utilisation Commerciale - Partage des Conditions Initiales à l'Identique disponible en ligne http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ ou par courrier postal à Creative Commons, 559 Nathan Abbott Way, Stanford,California 94305, USA.


Documentation generated by JSDoc on Wed Jan 6 17:05:02 2010