|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager
public class BasicSplitPaneUI.BasicHorizontalLayoutManager
HORIZONTAL_SPLIT 방향의 JSplitPane 의 LayoutManager 입니다.
필드의 개요 | |
---|---|
protected Component [] |
components
|
protected int[] |
sizes
|
메소드의 개요 | |
---|---|
void |
addLayoutComponent (Component comp,
Object constraints)
지정된 제약 객체를 사용해, 지정된 컴퍼넌트를 레이아웃에 추가합니다. |
void |
addLayoutComponent (String place,
Component component)
컴퍼넌트를 place 에 추가합니다. |
protected int |
getAvailableSize (Dimension containerSize,
Insets insets)
컨테이너의 사이즈와 인 세트에 근거해 유효한 폭을 돌려줍니다. |
protected int |
getInitialLocation (Insets insets)
Insets 가 null 가 아닌 경우는 왼쪽 인 세트, null 의 경우는 0 을 돌려줍니다. |
float |
getLayoutAlignmentX (Container target)
x 축방향의 배치를 돌려줍니다. |
float |
getLayoutAlignmentY (Container target)
y 축방향의 배치를 돌려줍니다. |
protected int |
getPreferredSizeOfComponent (Component c)
건네받은 컴퍼넌트의 적절한 사이즈의 폭을 돌려줍니다. |
protected int |
getSizeOfComponent (Component c)
건네받은 컴퍼넌트의 폭을 돌려줍니다. |
protected int[] |
getSizes ()
컴퍼넌트의 사이즈를 돌려줍니다. |
void |
invalidateLayout (Container c)
아무것도 실시하지 않습니다. |
void |
layoutContainer (Container container)
실제의 레이아웃을 실시합니다. |
Dimension |
maximumLayoutSize (Container target)
최대의 레이아웃 사이즈를 돌려줍니다. |
Dimension |
minimumLayoutSize (Container container)
아이를 포함하기 위해서 필요한 최소 사이즈를 돌려줍니다. |
Dimension |
preferredLayoutSize (Container container)
아이를 포함하기 위한 적절한 사이즈를 돌려줍니다. |
void |
removeLayoutComponent (Component component)
지정된 컴퍼넌트를 삭제합니다. |
protected void |
resetSizeAt (int index)
건네받은 위치에 있는 Component 의 사이즈를 리셋 합니다. |
void |
resetToPreferredSizes ()
다음번 이 인스턴스가 배치될 때 적절한 사이즈를 설정하도록(듯이), 리시버에 마크 합니다. |
protected void |
setComponentToSize (Component c,
int size,
int location,
Insets insets,
Dimension containerSize)
x 위치를 location, y 위치를 insets.top 에 배치하는 것으로써, 컴퍼넌트 c 의 폭을 size 로 설정해, 그 높이를 containersize.height 로부터 상인 세트와 하인 세트를 감산한 값으로 설정합니다. |
protected void |
setSizes (int[] newSizes)
사이즈를 newSizes 로 설정합니다. |
protected void |
updateComponents ()
컴퍼넌트를 판정합니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
필드의 상세 |
---|
protected int[] sizes
protected Component [] components
메소드의 상세 |
---|
public void layoutContainer(Container container)
LayoutManager
내의 layoutContainer
container
- 배치되는 컨테이너public void addLayoutComponent(String place, Component component)
LayoutManager
내의 addLayoutComponent
place
- 컴퍼넌트에 관련지을 수 있었던 캐릭터 라인component
- 추가되는 컴퍼넌트public Dimension minimumLayoutSize(Container container)
LayoutManager
내의 minimumLayoutSize
container
- 배치되는 컴퍼넌트LayoutManager.preferredLayoutSize(java.awt.Container)
public Dimension preferredLayoutSize(Container container)
LayoutManager
내의 preferredLayoutSize
container
- 배치되는 컨테이너LayoutManager.minimumLayoutSize(java.awt.Container)
public void removeLayoutComponent(Component component)
LayoutManager
내의 removeLayoutComponent
component
- 삭제되는 컴퍼넌트public void addLayoutComponent(Component comp, Object constraints)
LayoutManager2
내의 addLayoutComponent
comp
- 추가되는 컴퍼넌트constraints
- 레이아웃에 컴퍼넌트를 추가하는 장소/방법public float getLayoutAlignmentX(Container target)
LayoutManager2
내의 getLayoutAlignmentX
public float getLayoutAlignmentY(Container target)
LayoutManager2
내의 getLayoutAlignmentY
public void invalidateLayout(Container c)
LayoutManager2
내의 invalidateLayout
public Dimension maximumLayoutSize(Container target)
LayoutManager2
내의 maximumLayoutSize
Component.getMaximumSize()
,
LayoutManager
public void resetToPreferredSizes()
protected void resetSizeAt(int index)
protected void setSizes(int[] newSizes)
newSizes
로 설정합니다.
protected int[] getSizes()
protected int getPreferredSizeOfComponent(Component c)
protected int getSizeOfComponent(Component c)
protected int getAvailableSize(Dimension containerSize, Insets insets)
protected int getInitialLocation(Insets insets)
protected void setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)
protected void updateComponents()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.