|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CompoundEdit
javax.swing.text.AbstractDocument.DefaultDocumentEvent
public class AbstractDocument.DefaultDocumentEvent
문서가 변경되었을 경우에, 문서의 변경을 포함합니다. 문서 변경 트랜잭션(transaction)로 변경을 했을 경우, 변경 통지로 문서의 변경을 계속해 사용할 수 있습니다. 이것은, AbstractDocument 클래스, 및 문서 청취자에 대해서 변경 정보를 전송하는 확장 기능으로 사용됩니다.
상자의 클래스의 개요 |
---|
인터페이스 javax.swing.event. DocumentEvent 로부터 상속된 상자의 클래스/인터페이스 |
---|
DocumentEvent.ElementChange , DocumentEvent.EventType |
필드의 개요 |
---|
클래스 javax.swing.undo. CompoundEdit 로부터 상속된 필드 |
---|
edits |
클래스 javax.swing.undo. AbstractUndoableEdit 로부터 상속된 필드 |
---|
RedoName , UndoName |
생성자 의 개요 | |
---|---|
AbstractDocument.DefaultDocumentEvent (int offs,
int len,
DocumentEvent.EventType type)
변경 레코드를 작성합니다. |
메소드의 개요 | |
---|---|
boolean |
addEdit (UndoableEdit anEdit)
문서 편집을 추가합니다. |
DocumentEvent.ElementChange |
getChange (Element elem)
요소의 변경을 가져옵니다. |
Document |
getDocument ()
변경 이벤트의 기가 된 문서를 가져옵니다. |
int |
getLength ()
변경의 길이를 돌려줍니다. |
int |
getOffset ()
변경의 시점의 문서내에서의 오프셋(offset)를 돌려줍니다. |
String |
getPresentationName ()
변경 로그등으로 사용되는, 이 편집 결과의, 판독 가능한 로컬라이즈 된 기술을 제공합니다. |
String |
getRedoPresentationName ()
[재실행 (Redo)] 메뉴 항목등으로 사용되는, 이 편집 결과의, 재실행할 수 있는 형식의 판독 가능한 로컬라이즈 된 기술을 제공합니다. |
DocumentEvent.EventType |
getType ()
이벤트의 형태를 돌려줍니다. |
String |
getUndoPresentationName ()
[바탕으로 되돌리는 (Undo)] 메뉴 항목등으로 사용되는, 이 편집 결과의, 바탕으로 되돌릴 수 있는 형식의 판독 가능한 로컬라이즈 된 기술을 제공합니다. |
boolean |
isSignificant ()
DefaultDocument 이벤트는 중요합니다. |
void |
redo ()
변경을 다시 합니다. |
String |
toString ()
변경 이벤트의 설명문자열을 돌려줍니다. |
void |
undo ()
변경을 바탕으로 되돌립니다. |
클래스 javax.swing.undo. CompoundEdit 로부터 상속된 메소드 |
---|
canRedo , canUndo , die , end , isInProgress , lastEdit |
클래스 javax.swing.undo. AbstractUndoableEdit 로부터 상속된 메소드 |
---|
replaceEdit |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
생성자 의 상세 |
---|
public AbstractDocument.DefaultDocumentEvent(int offs, int len, DocumentEvent.EventType type)
offs
- 변경 문서에의 오프셋(offset) >= 0len
- 변경의 길이 >= 0type
- 이벤트의 형태 (DocumentEvent.EventType)메소드의 상세 |
---|
public String toString()
CompoundEdit
내의 toString
public boolean addEdit(UndoableEdit anEdit)
UndoableEdit
내의 addEdit
CompoundEdit
내의 addEdit
anEdit
- 문서 편집 레코드
UndoableEdit.addEdit(javax.swing.undo.UndoableEdit)
public void redo() throws CannotRedoException
UndoableEdit
내의 redo
CompoundEdit
내의 redo
CannotRedoException
- 변경의 재시도를 할 수 없는 경우AbstractUndoableEdit.canRedo()
public void undo() throws CannotUndoException
UndoableEdit
내의 undo
CompoundEdit
내의 undo
CannotUndoException
- 변경을 바탕으로 되돌릴 수 없는 경우AbstractUndoableEdit.canUndo()
public boolean isSignificant()
UndoableEdit
내의 isSignificant
CompoundEdit
내의 isSignificant
UndoableEdit.isSignificant()
public String getPresentationName()
UndoableEdit
내의 getPresentationName
CompoundEdit
내의 getPresentationName
AbstractUndoableEdit.getUndoPresentationName()
,
AbstractUndoableEdit.getRedoPresentationName()
public String getUndoPresentationName()
UndoableEdit
내의 getUndoPresentationName
CompoundEdit
내의 getUndoPresentationName
AbstractUndoableEdit.getPresentationName()
public String getRedoPresentationName()
UndoableEdit
내의 getRedoPresentationName
CompoundEdit
내의 getRedoPresentationName
AbstractUndoableEdit.getPresentationName()
public DocumentEvent.EventType getType()
DocumentEvent
내의 getType
DocumentEvent.getType()
public int getOffset()
DocumentEvent
내의 getOffset
DocumentEvent.getOffset()
public int getLength()
DocumentEvent
내의 getLength
DocumentEvent.getLength()
public Document getDocument()
DocumentEvent
내의 getDocument
DocumentEvent.getDocument()
public DocumentEvent.ElementChange getChange(Element elem)
DocumentEvent
내의 getChange
elem
- 요소
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.