|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.plaf.basic.BasicOptionPaneUI.ButtonAreaLayout
public static class BasicOptionPaneUI.ButtonAreaLayout
ButtonAreaLayout
는,FlowLayout
와 같은 동작을 합니다. 모든 컴퍼넌트를 왼쪽에서 오른쪽에 배치합니다. syncAllWidths
가 true 의 경우, 각 컴퍼넌트의 폭은 적절한 최대 사이즈폭으로 설정됩니다.
이 내부 클래스는 「public」라고 마크 됩니다만, 이것은 컴파일러의 버그가 원인입니다. 이 클래스는, 「protected」내부 클래스로서 취급할 필요가 있습니다. BasicOptionPaneUI 의 서브 클래스내에서만 인스턴스화해 주세요.
필드의 개요 | |
---|---|
protected boolean |
centersChildren
true 의 경우, 아이는 부모중에 한덩어리로 됩니다. |
protected int |
padding
|
protected boolean |
syncAllWidths
|
생성자 의 개요 | |
---|---|
BasicOptionPaneUI.ButtonAreaLayout (boolean syncAllWidths,
int padding)
|
메소드의 개요 | |
---|---|
void |
addLayoutComponent (String string,
Component comp)
레이아웃 매니저가 컴퍼넌트마다의 캐릭터 라인을 사용하는 경우, 레이아웃에 컴퍼넌트의 comp 를 추가해,name 에 의해 지정된 캐릭터 라인에 관련짓습니다. |
boolean |
getCentersChildren ()
|
int |
getPadding ()
|
boolean |
getSyncAllWidths ()
|
void |
layoutContainer (Container container)
지정된 컨테이너를 배치합니다. |
Dimension |
minimumLayoutSize (Container c)
지정된 컨테이너의 최소 사이즈의 치수를 계산합니다. |
Dimension |
preferredLayoutSize (Container c)
지정된 컨테이너의 추천 사이즈의 치수를 계산합니다. |
void |
removeLayoutComponent (Component c)
지정된 컴퍼넌트를 레이아웃으로부터 삭제합니다. |
void |
setCentersChildren (boolean newValue)
|
void |
setPadding (int newPadding)
|
void |
setSyncAllWidths (boolean newValue)
|
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
필드의 상세 |
---|
protected boolean syncAllWidths
protected int padding
protected boolean centersChildren
생성자 의 상세 |
---|
public BasicOptionPaneUI.ButtonAreaLayout(boolean syncAllWidths, int padding)
메소드의 상세 |
---|
public void setSyncAllWidths(boolean newValue)
public boolean getSyncAllWidths()
public void setPadding(int newPadding)
public int getPadding()
public void setCentersChildren(boolean newValue)
public boolean getCentersChildren()
public void addLayoutComponent(String string, Component comp)
LayoutManager
의 기술:comp
를 추가해,name
에 의해 지정된 캐릭터 라인에 관련짓습니다.
LayoutManager
내의 addLayoutComponent
string
- 컴퍼넌트에 관련지을 수 있었던 캐릭터 라인comp
- 추가되는 컴퍼넌트public void layoutContainer(Container container)
LayoutManager
의 기술:
LayoutManager
내의 layoutContainer
container
- 배치되는 컨테이너public Dimension minimumLayoutSize(Container c)
LayoutManager
의 기술:
LayoutManager
내의 minimumLayoutSize
c
- 배치되는 컴퍼넌트LayoutManager.preferredLayoutSize(java.awt.Container)
public Dimension preferredLayoutSize(Container c)
LayoutManager
의 기술:
LayoutManager
내의 preferredLayoutSize
c
- 배치되는 컨테이너LayoutManager.minimumLayoutSize(java.awt.Container)
public void removeLayoutComponent(Component c)
LayoutManager
의 기술:
LayoutManager
내의 removeLayoutComponent
c
- 삭제되는 컴퍼넌트
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.