|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.undo.UndoableEditSupport
public class UndoableEditSupport
UndoableEdit
청취자를 관리하기 위해서 사용하는 지원 클래스입니다.
필드의 개요 | |
---|---|
protected CompoundEdit |
compoundEdit
|
protected Vector <UndoableEditListener > |
listeners
|
protected Object |
realSource
|
protected int |
updateLevel
|
생성자 의 개요 | |
---|---|
UndoableEditSupport ()
UndoableEditSupport 객체를 구축합니다. |
|
UndoableEditSupport (Object r)
UndoableEditSupport 객체를 구축합니다. |
메소드의 개요 | |
---|---|
protected void |
_postEdit (UndoableEdit e)
postEdit 메소드와 endUpdate 메소드로부터 마셔 불려 갑니다. |
void |
addUndoableEditListener (UndoableEditListener l)
UndoableEditListener 를 등록합니다. |
void |
beginUpdate ()
|
protected CompoundEdit |
createCompoundEdit ()
beginUpdate 로부터 마셔 불려 갑니다. |
void |
endUpdate ()
데드락 경고:이 메소드를 호출하면(자), 모든 청취자로 undoableEditHappened 가 불려 갑니다. |
UndoableEditListener [] |
getUndoableEditListeners ()
addUndoableEditListener()에 의해 이 UndoableEditSupport 에 추가된 모든 UndoableEditListener 로부터 완성되는 배열을 돌려줍니다. |
int |
getUpdateLevel ()
갱신 레벨의 값을 돌려줍니다. |
void |
postEdit (UndoableEdit e)
데드락 경고:이 메소드를 호출하면(자), 모든 청취자로 undoableEditHappened 가 불려 갑니다. |
void |
removeUndoableEditListener (UndoableEditListener l)
UndoableEditListener 를 삭제합니다. |
String |
toString ()
이 객체의 프로퍼티을 표시 및 식별하는 캐릭터 라인을 돌려줍니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
필드의 상세 |
---|
protected int updateLevel
protected CompoundEdit compoundEdit
protected Vector <UndoableEditListener > listeners
protected Object realSource
생성자 의 상세 |
---|
public UndoableEditSupport()
UndoableEditSupport
객체를 구축합니다.
public UndoableEditSupport(Object r)
UndoableEditSupport
객체를 구축합니다.
r
- Object
메소드의 상세 |
---|
public void addUndoableEditListener(UndoableEditListener l)
UndoableEditListener
를 등록합니다. 바탕으로 되돌릴 수 있는 편집이 발생하면(자), 반드시 청취자에게 통지됩니다.
l
- UndoableEditListener
객체removeUndoableEditListener(javax.swing.event.UndoableEditListener)
public void removeUndoableEditListener(UndoableEditListener l)
UndoableEditListener
를 삭제합니다.
l
- 삭제하는 UndoableEditListener
객체addUndoableEditListener(javax.swing.event.UndoableEditListener)
public UndoableEditListener [] getUndoableEditListeners()
UndoableEditListener
로부터 완성되는 배열을 돌려줍니다.
UndoableEditListener
, 추가된 청취자가 없는 경우는
빈 상태(empty)의 배열protected void _postEdit(UndoableEdit e)
postEdit
메소드와 endUpdate
메소드로부터 마셔 불려 갑니다. 모든 청취자로 undoableEditHappened
를 호출합니다. 2 개의 호출측 메소드는 동기를 빼앗기므로, 여기서 동기는 실행되지 않습니다.
public void postEdit(UndoableEdit e)
undoableEditHappened
가 불려 갑니다. 이 메소드를 그 청취자의 1 개로부터 호출하는 것은 좋은 방법이 아닙니다.
public int getUpdateLevel()
public void beginUpdate()
protected CompoundEdit createCompoundEdit()
beginUpdate
로부터 마셔 불려 갑니다. 서브 클래스에서 사용하기 위해서, 여기에 공개되고 있습니다.
public void endUpdate()
undoableEditHappened
가 불려 갑니다. 이 메소드를 그 청취자의 1 개로부터 호출하는 것은 좋은 방법이 아닙니다.
public String toString()
Object
내의 toString
String
표현
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.