jaxe
Class FonctionNormal

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

public class FonctionNormal
extends java.lang.Object
implements Fonction


Field Summary
private static org.apache.log4j.Logger LOG
          Logger for this class
 
Constructor Summary
FonctionNormal()
           
 
Method Summary
private static void ajoutNouveauJETexte(JaxeDocument doc, javax.swing.text.Position debut, java.lang.String texte)
           
 boolean appliquer(JaxeDocument doc, int start, int end)
          Applique la fonction au document.
static void tonormal(JEStyle je)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG
Logger for this class

Constructor Detail

FonctionNormal

public FonctionNormal()
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

tonormal

public static void tonormal(JEStyle je)
                     throws javax.swing.text.BadLocationException
Throws:
javax.swing.text.BadLocationException

ajoutNouveauJETexte

private static void ajoutNouveauJETexte(JaxeDocument doc,
                                        javax.swing.text.Position debut,
                                        java.lang.String texte)