|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object entorno.MyUndoableEditListener
Funcion: Se encarga de detectar y guardar los cambios producidos sobre el área de texto El salvado de los cambios nos servira para deshacerlos o rehacerlos
Field Summary | |
---|---|
private ClaseTexto |
texto
|
Constructor Summary | |
---|---|
MyUndoableEditListener(ClaseTexto txt)
Constructor de la clase |
Method Summary | |
---|---|
static void |
habilitarSeccionUndo(ClaseTexto txt)
Cambia el estado de los botones segun se puedan rehacer o deshacer |
void |
undoableEditHappened(javax.swing.event.UndoableEditEvent e)
Metodo ejecutado cuando se detecta un cambio en el area de texto |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ClaseTexto texto
Constructor Detail |
---|
public MyUndoableEditListener(ClaseTexto txt)
txt
- el JTextPane que contendra este eventoMethod Detail |
---|
public static void habilitarSeccionUndo(ClaseTexto txt)
public void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
undoableEditHappened
in interface javax.swing.event.UndoableEditListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |