JavaTM Platform
Standard Ed. 6

javax.swing.plaf.basic
클래스 BasicTabbedPaneUI.TabbedPaneLayout

java.lang.Object 
  상위를 확장 javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
모든 구현된 인터페이스:
LayoutManager
직계의 기존의 서브 클래스:
MetalTabbedPaneUI.TabbedPaneLayout
포함되어 있는 클래스:
BasicTabbedPaneUI


public class BasicTabbedPaneUI.TabbedPaneLayout
extends Object
implements LayoutManager

이 클래스는, 「protected」내부 클래스로서 취급하는 것을 추천합니다. BasicTabbedPaneUI 의 서브 클래스내에서만 인스턴스화해 주세요.


생성자 의 개요
BasicTabbedPaneUI.TabbedPaneLayout ()
           
 
메소드의 개요
 void addLayoutComponent (String  name, Component  comp)
          레이아웃 매니저가 컴퍼넌트마다의 캐릭터 라인을 사용하는 경우, 레이아웃에 컴퍼넌트의 comp 를 추가해,name 에 의해 지정된 캐릭터 라인에 관련짓습니다.
 void calculateLayoutInfo ()
           
protected  Dimension calculateSize (boolean minimum)
           
protected  void calculateTabRects (int tabPlacement, int tabCount)
           
 void layoutContainer (Container  parent)
          지정된 컨테이너를 배치합니다.
 Dimension minimumLayoutSize (Container  parent)
          지정된 컨테이너의 최소 사이즈의 치수를 계산합니다.
protected  void normalizeTabRuns (int tabPlacement, int tabCount, int start, int max)
           
protected  void padSelectedTab (int tabPlacement, int selectedIndex)
           
protected  void padTabRun (int tabPlacement, int start, int end, int max)
           
 Dimension preferredLayoutSize (Container  parent)
          지정된 컨테이너의 추천 사이즈의 치수를 계산합니다.
protected  int preferredTabAreaHeight (int tabPlacement, int width)
           
protected  int preferredTabAreaWidth (int tabPlacement, int height)
           
 void removeLayoutComponent (Component  comp)
          지정된 컴퍼넌트를 레이아웃으로부터 삭제합니다.
protected  void rotateTabRuns (int tabPlacement, int selectedRun)
           
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

BasicTabbedPaneUI.TabbedPaneLayout

public BasicTabbedPaneUI.TabbedPaneLayout()
메소드의 상세

addLayoutComponent

public void addLayoutComponent(String  name,
                               Component  comp)
인터페이스 LayoutManager 의 기술:
레이아웃 매니저가 컴퍼넌트마다의 캐릭터 라인을 사용하는 경우, 레이아웃에 컴퍼넌트의 comp 를 추가해,name 에 의해 지정된 캐릭터 라인에 관련짓습니다.

정의:
인터페이스 LayoutManager 내의 addLayoutComponent
파라미터:
name - 컴퍼넌트에 관련지을 수 있었던 캐릭터 라인
comp - 추가되는 컴퍼넌트

removeLayoutComponent

public void removeLayoutComponent(Component  comp)
인터페이스 LayoutManager 의 기술:
지정된 컴퍼넌트를 레이아웃으로부터 삭제합니다.

정의:
인터페이스 LayoutManager 내의 removeLayoutComponent
파라미터:
comp - 삭제되는 컴퍼넌트

preferredLayoutSize

public Dimension  preferredLayoutSize(Container  parent)
인터페이스 LayoutManager 의 기술:
지정된 컨테이너의 추천 사이즈의 치수를 계산합니다. 포함되는 컴퍼넌트는 지정됩니다.

정의:
인터페이스 LayoutManager 내의 preferredLayoutSize
파라미터:
parent - 배치되는 컨테이너
관련 항목:
LayoutManager.minimumLayoutSize(java.awt.Container)

minimumLayoutSize

public Dimension  minimumLayoutSize(Container  parent)
인터페이스 LayoutManager 의 기술:
지정된 컨테이너의 최소 사이즈의 치수를 계산합니다. 포함되는 컴퍼넌트는 지정됩니다.

정의:
인터페이스 LayoutManager 내의 minimumLayoutSize
파라미터:
parent - 배치되는 컴퍼넌트
관련 항목:
LayoutManager.preferredLayoutSize(java.awt.Container)

calculateSize

protected Dimension  calculateSize(boolean minimum)

preferredTabAreaHeight

protected int preferredTabAreaHeight(int tabPlacement,
                                     int width)

preferredTabAreaWidth

protected int preferredTabAreaWidth(int tabPlacement,
                                    int height)

layoutContainer

public void layoutContainer(Container  parent)
인터페이스 LayoutManager 의 기술:
지정된 컨테이너를 배치합니다.

정의:
인터페이스 LayoutManager 내의 layoutContainer
파라미터:
parent - 배치되는 컨테이너

calculateLayoutInfo

public void calculateLayoutInfo()

calculateTabRects

protected void calculateTabRects(int tabPlacement,
                                 int tabCount)

rotateTabRuns

protected void rotateTabRuns(int tabPlacement,
                             int selectedRun)

normalizeTabRuns

protected void normalizeTabRuns(int tabPlacement,
                                int tabCount,
                                int start,
                                int max)

padTabRun

protected void padTabRun(int tabPlacement,
                         int start,
                         int end,
                         int max)

padSelectedTab

protected void padSelectedTab(int tabPlacement,
                              int selectedIndex)

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 도 참조해 주세요.