JavaTM Platform
Standard Ed. 6

javax.swing.plaf.basic
클래스 DefaultMenuLayout

java.lang.Object 
  상위를 확장 javax.swing.BoxLayout 
      상위를 확장 javax.swing.plaf.basic.DefaultMenuLayout
모든 구현된 인터페이스:
LayoutManager , LayoutManager2 , Serializable , UIResource


public class DefaultMenuLayout
extends BoxLayout
implements UIResource

pop-up menu 및 도구모음의 디폴트의 레이아웃 매니저입니다. 이 클래스는 UIResource 태그를 추가하는 BoxLayout 의 확장이기 (위해)때문에, 플러그 인 가능한 Look & Feel 는, 이 디폴트의 레이아웃 매니저를 메뉴상에 사용자가 인스톨 한 레이아웃 매니저와 구별할 수 있습니다.


필드의 개요
 
클래스 javax.swing. BoxLayout 로부터 상속된 필드
LINE_AXIS , PAGE_AXIS , X_AXIS , Y_AXIS
 
생성자 의 개요
DefaultMenuLayout (Container  target, int axis)
           
 
메소드의 개요
 Dimension preferredLayoutSize (Container  target)
          지정된 타겟 컨테이너에 있는 컴퍼넌트에 대해, 이 레이아웃의 추천 치수를 돌려줍니다.
 
클래스 javax.swing. BoxLayout 로부터 상속된 메소드
addLayoutComponent , addLayoutComponent , getAxis , getLayoutAlignmentX , getLayoutAlignmentY , getTarget , invalidateLayout , layoutContainer , maximumLayoutSize , minimumLayoutSize , removeLayoutComponent
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

DefaultMenuLayout

public DefaultMenuLayout(Container  target,
                         int axis)
메소드의 상세

preferredLayoutSize

public Dimension  preferredLayoutSize(Container  target)
클래스 BoxLayout 의 기술:
지정된 타겟 컨테이너에 있는 컴퍼넌트에 대해, 이 레이아웃의 추천 치수를 돌려줍니다.

정의:
인터페이스 LayoutManager 내의 preferredLayoutSize
오버라이드(override):
클래스 BoxLayout 내의 preferredLayoutSize
파라미터:
target - 배치할 필요가 있는 컨테이너
반환값:
0 이상으로 Integer.MAX_VALUE 이하의 사이즈
관련 항목:
Container , BoxLayout.minimumLayoutSize(java.awt.Container) , BoxLayout.maximumLayoutSize(java.awt.Container)

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