Framework JavaScript ACube V2.10.0
 

Classe ComponentPopupInline

Object
   |
   +--ComponentPopupInline

class ComponentPopupInline


the class « ComponentPopupInline » is the class who it's able to manage the component PopupInline.
Private attributes is used within the framework ergonomic side.


model

Examples :

1.Javascript:
ComposantPopUpInLine2 = new ComponentPopupInline (true,"ComposantPopUpInLine2","Titre2", "http://admisource.gouv.fr/", 130, 150, 3*90, 3*160, "#006666");
//note bene : with a loader you don't need to call the display() method.
//ComposantPopUpInLine2.display();

1.IHM:
ComponentPopUpInLine with a loader picture:

Image.ComponentPopUpInLineWithLoader.png


2.Javascript:
ComposantPopUpInLine2 = new ComponentPopupInline (false,"ComposantPopUpInLine2","Titre2", "http://admisource.gouv.fr/", 130, 150, 3*90, 3*160, "#006666");
ComposantPopUpInLine2.display();

2.IHM:

ComponentPopUpInLine without a loader picture:

Image.ComponentPopUpInLineWithoutLoader.png


Date: 02/01/2008

Version: 2.7.0

Definie dans technique/fw_popupinline.js


Sommaire des Attributs
<private>  String background
          Private attribute « background » indicate the HTML COLOR CODE for the background of the popup frame.
<private>  String displayLoader
          Private attribute « loader » is a boolean for display a loader icon.
<private>  String divBind
          Private attribute « divBind » - dynamic Zone (object DOM HTML) associated with the component.
<private>  Dragger dragger
          Private attribute « dragger » - The Dragger object wich allow the popup to be dragged.
<private>  String height
          Private attribute « height » refers the height of the popupinline in pixel.
<private>  string id
          Private attribute « id » - id of the div.
<private>  String left
          Private attribute « left » refers the left position of the popupinline in pixel.
 Object popupinline_document
          
<private>  String title
          Private attribute « title » refers the title of the popupinline.
<private>  String top
          Private attribute « top » refers the top position of the popupinline in pixel.
<private>  String url
          Private attribute « url » refers the url of the page that the popupinline have to display.
<private>  String urlLoaderPicture
          Private attribute « urlLoaderPicture » refers the URL of the Loader's icon.
<private>  String width
          Private attribute « width » refers the width of the popupinline in pixel.
 
Sommaire des Constructeurs
ComponentPopupInline (<String_Obligatory> popupinline_displayloader, <String_Obligatory> popupinline_id, <String_Obligatory> popupinline_title, <String_Obligatory> popupinline_url, <Integer_Obligatory> popupinline_position_top, <Integer_Obligatory> popupinline_position_left, <Integer_Obligatory> popupinline_height, <Integer_Obligatory> popupinline_width, <String_Optional> popupinline_background, <String_Optional> popupinline_loader_picture)
            Create a PopUpInLineComponent Type object.
 
Sommaire des Méthodes
 <private>  void cancel()
           This private method « cancel() » enables ComponentPopUpInLine to close the popup frame.
 <private>  void display()
           This private method « display() » enables ComponentPopUpInLine to display the popup frame.
 <private>  void ecrireBind()
           This private method « ecrireBind() » starts the generation of code HTML of the dynamic zone associated with the component.
 <private>  string ecrireElementDomHTML()
           The private method « ecrireHTML()» is used to generate the style HTML.
 <private>  void initDivBind()
           This private method « initDivBind() » is used to specify a variable who refers html div.
 <private>  void saveInitSpacePosition()
           The private function « saveInitSpacePosition() » save initial space positions of the ComponentPopupInline

Détail des Attributs

background

<private> String background

displayLoader

<private> String displayLoader

divBind

<private> String divBind

dragger

<private> Dragger dragger

height

<private> String height

id

<private> string id

left

<private> String left

popupinline_document

Object popupinline_document

title

<private> String title

top

<private> String top

url

<private> String url

urlLoaderPicture

<private> String urlLoaderPicture

width

<private> String width

Détail des Constructeurs

ComponentPopupInline

ComponentPopupInline(<String_Obligatory> popupinline_displayloader, <String_Obligatory> popupinline_id, <String_Obligatory> popupinline_title, <String_Obligatory> popupinline_url, <Integer_Obligatory> popupinline_position_top, <Integer_Obligatory> popupinline_position_left, <Integer_Obligatory> popupinline_height, <Integer_Obligatory> popupinline_width, <String_Optional> popupinline_background, <String_Optional> popupinline_loader_picture)

Détail des Méthodes

cancel

 <private> void cancel()

display

 <private> void display()

ecrireBind

 <private> void ecrireBind()

ecrireElementDomHTML

 <private> string ecrireElementDomHTML()

initDivBind

 <private> void initDivBind()

saveInitSpacePosition

 <private> void saveInitSpacePosition()

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