JavaTM Platform
Standard Ed. 6

클래스
javax.swing.JList 의 사용

JList 를 사용하고 있는 패키지
javax.swing 모든 플랫폼에서 가능한 한 똑같이 기능하는 「경량」(Java 공통 언어) 컴퍼넌트세트를 제공합니다.  
javax.swing.plaf 1 개의 인터페이스 및 많은 abstract 클래스를 제공하고 있어, Swing 는, 플러그 인 가능한 Look & Feel 기능을 실현하기 위해서(때문에) 이러한 클래스를 이용합니다.  
javax.swing.plaf.basic 기본 Look & Feel 에 따라 구축된 사용자 인터페이스 객체를 제공합니다.  
javax.swing.plaf.metal 디폴트의 Look & Feel 인 Java Look & Feel (코드명은 Metal)에 따라 작성된 사용자 인터페이스 객체를 제공합니다.  
javax.swing.plaf.multi 복수의 Look & Feel 를 결합하는 사용자 인터페이스 객체를 제공합니다.  
 

javax.swing 에서의 JList 의 사용
 

JList 형의 파라미터를 가지는 javax.swing 의 메소드
 Component ListCellRenderer. getListCellRendererComponent (JList  list, Object  value, int index, boolean isSelected, boolean cellHasFocus)
          지정된 값을 표시하도록(듯이) 설정된 컴퍼넌트를 돌려줍니다.
 Component DefaultListCellRenderer. getListCellRendererComponent (JList  list, Object  value, int index, boolean isSelected, boolean cellHasFocus)
           
 

JList 형의 파라미터를 가지는 javax.swing 의 생성자
JList.AccessibleJList.AccessibleJListChild (JList  parent, int indexInParent)
           
 

javax.swing.plaf 에서의 JList 의 사용
 

JList 형의 파라미터를 가지는 javax.swing.plaf 의 메소드
abstract  Rectangle ListUI. getCellBounds (JList  list, int index1, int index2)
          2 개의 인덱스로 지정된 셀의 범위를 나타내는, 지정된 리스트의 좌표계내의 경계의 구형을 돌려줍니다.
abstract  Point ListUI. indexToLocation (JList  list, int index)
          리스트의 좌표계내의 지정된 항목의 지정된 JList 내의 원점을 돌려줍니다.
abstract  int ListUI. locationToIndex (JList  list, Point  location)
          리스트의 좌표계내의 지정된 위치에 가장 가까운, 지정된 JList 내의 셀 인덱스를 돌려줍니다.
 

javax.swing.plaf.basic 에서의 JList 의 사용
 

JList 로서 선언되고 있는 javax.swing.plaf.basic 의 필드
protected  JList BasicComboPopup. list
          이 protected 필드는 구현 고유의 것입니다.
protected  JList BasicListUI. list
           
protected  JList BasicComboBoxUI. listBox
           
 

JList 를 돌려주는 javax.swing.plaf.basic 의 메소드
protected  JList BasicComboPopup. createList ()
          combobox 모델의 항목을 표시하기 위해서, pop-up로 사용되는 JList 를 작성합니다.
 JList BasicComboPopup. getList ()
          ComboPopup.getList()의 구현입니다.
 JList ComboPopup. getList ()
          combobox의 항목을 draw 하기 위해서 사용되고 있는 리스트를 돌려줍니다.
 

JList 형의 파라미터를 가지는 javax.swing.plaf.basic 의 메소드
protected  MouseListener BasicFileChooserUI. createDoubleClickListener (JFileChooser  fc, JList  list)
           
 Rectangle BasicListUI. getCellBounds (JList  list, int index1, int index2)
          2 개의 인덱스로 지정된 셀의 범위를 나타내는, 지정된 리스트의 좌표계내의 경계의 구형을 돌려줍니다.
 Component BasicComboBoxRenderer. getListCellRendererComponent (JList  list, Object  value, int index, boolean isSelected, boolean cellHasFocus)
           
 Point BasicListUI. indexToLocation (JList  list, int index)
          리스트의 좌표계내의 지정된 항목의 지정된 JList 내의 원점을 돌려줍니다.
 int BasicListUI. locationToIndex (JList  list, Point  location)
          리스트의 좌표계내의 지정된 위치에 가장 가까운, 지정된 JList 내의 셀 인덱스를 돌려줍니다.
 

JList 형의 파라미터를 가지는 javax.swing.plaf.basic 의 생성자
BasicFileChooserUI.DoubleClickListener (JList  list)
           
 

javax.swing.plaf.metal 에서의 JList 의 사용
 

JList 로서 선언되고 있는 javax.swing.plaf.metal 의 필드
protected  JList MetalComboBoxButton. listBox
           
 

JList 형의 파라미터를 가지는 javax.swing.plaf.metal 의 메소드
 Component MetalFileChooserUI.FilterComboBoxRenderer. getListCellRendererComponent (JList  list, Object  value, int index, boolean isSelected, boolean cellHasFocus)
           
 

JList 형의 파라미터를 가지는 javax.swing.plaf.metal 의 생성자
MetalComboBoxButton (JComboBox  cb, Icon  i, boolean onlyIcon, CellRendererPane  pane, JList  list)
           
MetalComboBoxButton (JComboBox  cb, Icon  i, CellRendererPane  pane, JList  list)
           
MetalFileChooserUI.SingleClickListener (JList  list)
           
 

javax.swing.plaf.multi 에서의 JList 의 사용
 

JList 형의 파라미터를 가지는 javax.swing.plaf.multi 의 메소드
 Rectangle MultiListUI. getCellBounds (JList  a, int b, int c)
          이 객체가 취급하는 각 UI 로 getCellBounds 메소드를 호출합니다.
 Point MultiListUI. indexToLocation (JList  a, int b)
          이 객체가 취급하는 각 UI 로 indexToLocation 메소드를 호출합니다.
 int MultiListUI. locationToIndex (JList  a, Point  b)
          이 객체가 취급하는 각 UI 로 locationToIndex 메소드를 호출합니다.
 


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