jaxe
Class FonctionNormal
java.lang.Object
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final org.apache.log4j.Logger LOG
- Logger for this class
FonctionNormal
public FonctionNormal()
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)