|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
javax.swing.text.AbstractDocument.ElementEdit
public static class AbstractDocument.ElementEdit
문서의 이벤트에 추가할 수 있는 ElementChange 의 구현입니다.
필드의 개요 |
---|
클래스 javax.swing.undo. AbstractUndoableEdit 로부터 상속된 필드 |
---|
RedoName , UndoName |
생성자 의 개요 | |
---|---|
AbstractDocument.ElementEdit (Element e,
int index,
Element [] removed,
Element [] added)
편집의 레코드를 구축합니다. |
메소드의 개요 | |
---|---|
Element [] |
getChildrenAdded ()
추가된 아이의 리스트를 가져옵니다. |
Element [] |
getChildrenRemoved ()
삭제된 아이의 리스트를 가져옵니다. |
Element |
getElement ()
처리 대상의 요소를 돌려줍니다. |
int |
getIndex ()
요소의 리스트내의 인덱스를 돌려줍니다. |
void |
redo ()
변경을 다시 합니다. |
void |
undo ()
변경을 바탕으로 되돌립니다. |
클래스 javax.swing.undo. AbstractUndoableEdit 로부터 상속된 메소드 |
---|
addEdit , canRedo , canUndo , die , getPresentationName , getRedoPresentationName , getUndoPresentationName , isSignificant , replaceEdit , toString |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
생성자 의 상세 |
---|
public AbstractDocument.ElementEdit(Element e, int index, Element [] removed, Element [] added)
e
- 요소index
- 모델내의 인덱스 >= 0removed
- 삭제된 요소세트added
- 추가된 요소세트메소드의 상세 |
---|
public Element getElement()
DocumentEvent.ElementChange
내의 getElement
public int getIndex()
DocumentEvent.ElementChange
내의 getIndex
public Element [] getChildrenRemoved()
DocumentEvent.ElementChange
내의 getChildrenRemoved
public Element [] getChildrenAdded()
DocumentEvent.ElementChange
내의 getChildrenAdded
public void redo() throws CannotRedoException
UndoableEdit
내의 redo
AbstractUndoableEdit
내의 redo
CannotRedoException
- 변경의 재시도를 할 수 없는 경우AbstractUndoableEdit.canRedo()
public void undo() throws CannotUndoException
UndoableEdit
내의 undo
AbstractUndoableEdit
내의 undo
CannotUndoException
- 변경을 바탕으로 되돌릴 수 없는 경우AbstractUndoableEdit.canUndo()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.