JavaTM Platform
Standard Ed. 6

javax.swing.plaf.basic
클래스 BasicTreeUI.ComponentHandler

java.lang.Object 
  상위를 확장 java.awt.event.ComponentAdapter 
      상위를 확장 javax.swing.plaf.basic.BasicTreeUI.ComponentHandler
모든 구현된 인터페이스:
ActionListener , ComponentListener , EventListener
포함되어 있는 클래스:
BasicTreeUI


public class BasicTreeUI.ComponentHandler
extends ComponentAdapter
implements ActionListener

필요하면, 스크롤시에 적절한 사이즈를 갱신합니다.


필드의 개요
protected  JScrollBar scrollBar
          조절되고 있는 ScrollBar 입니다.
protected  Timer timer
          스크롤 구획내에서 스크롤 바를 조절하고 있을 때 사용되는 타이머입니다.
 
생성자 의 개요
BasicTreeUI.ComponentHandler ()
           
 
메소드의 개요
 void actionPerformed (ActionEvent  ae)
          Timer 의 결과로서의 public 입니다.
 void componentMoved (ComponentEvent  e)
          컴퍼넌트의 위치가 바뀌면(자) 불려 갑니다.
protected  JScrollPane getScrollPane ()
          JTree 를 가지는 JScrollPane, 또는 이것이 발견되지 않는 경우에는 null 를 돌려줍니다.
protected  void startTimer ()
          경계의 사이즈를 변경할 필요가 있을지 어떨지를 체크하기 위해(때문에), 필요하면 Timer 를 작성하고 나서 기동합니다.
 
클래스 java.awt.event. ComponentAdapter 로부터 상속된 메소드
componentHidden , componentResized , componentShown
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

필드의 상세

timer

protected Timer  timer
스크롤 구획내에서 스크롤 바를 조절하고 있을 때 사용되는 타이머입니다.


scrollBar

protected JScrollBar  scrollBar
조절되고 있는 ScrollBar 입니다.

생성자 의 상세

BasicTreeUI.ComponentHandler

public BasicTreeUI.ComponentHandler()
메소드의 상세

componentMoved

public void componentMoved(ComponentEvent  e)
클래스 ComponentAdapter 의 기술:
컴퍼넌트의 위치가 바뀌면(자) 불려 갑니다.

정의:
인터페이스 ComponentListener 내의 componentMoved
오버라이드(override):
클래스 ComponentAdapter 내의 componentMoved

startTimer

protected void startTimer()
경계의 사이즈를 변경할 필요가 있을지 어떨지를 체크하기 위해(때문에), 필요하면 Timer 를 작성하고 나서 기동합니다.


getScrollPane

protected JScrollPane  getScrollPane()
JTree 를 가지는 JScrollPane, 또는 이것이 발견되지 않는 경우에는 null 를 돌려줍니다.


actionPerformed

public void actionPerformed(ActionEvent  ae)
Timer 의 결과로서의 public 입니다. scrollBar 가 null 인지, 조절되어 있지 않은 경우, 타이머를 멈추어 사이즈 변경을 갱신합니다.

정의:
인터페이스 ActionListener 내의 actionPerformed

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.