Framework JavaScript ACube V2.10.0
 

Classe ComposantSVG

Object
   |
   +--ComposantSVG
Les Sous-Classes directes:
ComposantChart

class ComposantSVG


This class «ComposantSVG» is class to permit to define a SVG Inline component
This JavaScript file is a part of Framework FRED ACUBE. In particular to manage the SVG Component ComposantSVG except for Internet Explorer. For Internet Explorer, implementation use the HTML Tag "EMBED".

Require :



UML Diagram for ComposantSVG



 UML diagram for ComposantSVG *
XHTML example for this conponent :

<?xml version='1.0' encoding='ISO-8859-1' standalone='no'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:svg="http://www.w3.org/2000/svg" xml:lang="en">
<head>
<title>SVG diagramme circulaire</title>
<meta http-equiv="Content-Type"
 content="application/xhtml+xml; charset=ISO-8859-1" />
<link rel="stylesheet" type="text/css" href="_CSS_CssCommunGlobale"></link>
<link rel="stylesheet" type="text/css"
 href="_CSS_CssCommunCg_commun@"></link>
<link rel="stylesheet" type="text/css" href="_CSS_CssCommunTableau"></link>
<link rel="stylesheet" type="text/css" href="_CSS_CssCommunNavig"></link>
<link rel="stylesheet" type="text/css" href="_CSS_CssCouleur"></link>

<link rel="stylesheet" type="text/css" href="_CSS_CSSSVG"></link>

<!-- framework technique -->
<script src="
Version: 2.7

Auteur: MAEE
Definie dans technique/fw_svg.js


Sommaire des Attributs
 String blankFile
          URL to SVG blank file for IE and for CSS,
if null, default value is URL_HTML_HtmlSVGBlankFile
<private>  String frameId
          Id of parent frame
 Number height
          Height of the component
<private>  String id
          Id, equal at the attribute id of DIV
 Number width
          Width of the component
 
Sommaire des Constructeurs
ComposantSVG (<String> frameId, <String> divId, <Number> width, <Number> height, <String> blankFile)
           
 
Sommaire des Méthodes
 void clear()
           To clear SVG component, remove all nodes except rootElement
 Element createElement(tag)
           Create a SVG DOM Element for the Document doc
 Text createTextNode(<String> text)
           Create a text DOM Element for the Document doc
 Document getDocument()
           Get the document corresponding of the frameId
 Element getSVGDocument()
           Get root SVG Element in the frame with id = frameId
 void hide()
           To hide SVG component
 void initDivBind(<String> frameId, <String> id, <Number> width, <Number> height)
           Initialize placement component and size
 void show()
           To display SVG component
<static> boolean isASVInstalled()
           Is the Adobe (ASV) plugin install and accessible by ActiveXObject?

Détail des Attributs

blankFile

String blankFile
    URL to SVG blank file for IE and for CSS,
    if null, default value is URL_HTML_HtmlSVGBlankFile

frameId

<private> String frameId
    Id of parent frame

height

Number height
    Height of the component

id

<private> String id
    Id, equal at the attribute id of DIV

width

Number width
    Width of the component

Détail des Constructeurs

ComposantSVG

ComposantSVG(<String> frameId, <String> divId, <Number> width, <Number> height, <String> blankFile)
    Parameters:
      frameId - String  
      divId - String  
      width - Number  
      height - Number  
      blankFile - String  
    Version: 2.7

    Auteur: MAEE

Détail des Méthodes

clear

void clear()
    To clear SVG component, remove all nodes except rootElement
    Version: 2.7

    Auteur: MAEE

createElement

Element createElement(tag)
    Create a SVG DOM Element for the Document doc
    Parameters:
      tag -   
      doc -   
    Returns:
      SVGElement;
    Version: 2.7

    Auteur: MAEE

createTextNode

Text createTextNode(<String> text)
    Create a text DOM Element for the Document doc
    Parameters:
      text - String   , SVG tag name
      doc - Document  , add at document
    Returns:
    Version: 2.7

    Auteur: MAEE

getDocument

Document getDocument()
    Get the document corresponding of the frameId
    Returns:
    Version: 2.7

    Auteur: MAEE

getSVGDocument

Element getSVGDocument()
    Get root SVG Element in the frame with id = frameId
    Returns:
    Version: 2.7

    Auteur: MAEE

hide

void hide()
    To hide SVG component
    Version: 2.7

    Auteur: MAEE

initDivBind

void initDivBind(<String> frameId, <String> id, <Number> width, <Number> height)
    Initialize placement component and size
    Parameters:
      frameId - String  
      id - String  
      width - Number  
      height - Number  
    Version: 2.7

    Auteur: MAEE

show

void show()
    To display SVG component
    Version: 2.7

    Auteur: MAEE

isASVInstalled

<static> boolean isASVInstalled()
    Is the Adobe (ASV) plugin install and accessible by ActiveXObject? return true, if ActiveXObject for ASV can create else return
    Returns:
    Version: 2.7

    Auteur: MAEE

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