jaxe
Class FonctionAjStyle

java.lang.Object
  extended by jaxe.FonctionAjStyle
All Implemented Interfaces:
Fonction

public class FonctionAjStyle
extends java.lang.Object
implements Fonction

Fonction permettant d'appliquer un style sur une zone du document. L'élément correspondant au style ajouté est passé en paramètre du constructeur.


Constructor Summary
FonctionAjStyle(org.w3c.dom.Element elem)
           
 
Method Summary
 boolean appliquer(JaxeDocument doc, int start, int end)
          Applique la fonction au document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FonctionAjStyle

public FonctionAjStyle(org.w3c.dom.Element elem)
Method Detail

appliquer

public boolean appliquer(JaxeDocument doc,
                         int start,
                         int end)
Description copied from interface: Fonction
Applique la fonction au document. La position de la sélection du texte est donnée par start et end. start == end s'il n'y a pas de sélection (dans ce cas c'est juste la position du curseur).

Specified by:
appliquer in interface Fonction