|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요 : 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.FileChooserUI
javax.swing.plaf.basic.BasicFileChooserUI
public class BasicFileChooserUI
FileChooser 의 기본 Look & Feel 구현입니다.
상자의 클래스의 개요 | |
---|---|
protected class |
BasicFileChooserUI.AcceptAllFileFilter
|
protected class |
BasicFileChooserUI.ApproveSelectionAction
Open 요구 또는 Save 요구에 응합니다. |
protected class |
BasicFileChooserUI.BasicFileView
|
protected class |
BasicFileChooserUI.CancelSelectionAction
취소의 요구에 응합니다. |
protected class |
BasicFileChooserUI.ChangeToParentDirectoryAction
|
protected class |
BasicFileChooserUI.DoubleClickListener
|
protected class |
BasicFileChooserUI.GoHomeAction
Home 키 이벤트 또는 동등의 이벤트에 따라 처리를 실시합니다. |
protected class |
BasicFileChooserUI.NewFolderAction
새로운 폴더를 작성합니다. |
protected class |
BasicFileChooserUI.SelectionListener
|
protected class |
BasicFileChooserUI.UpdateAction
현재의 디렉토리에서 파일을 주사 다시 합니다. |
생성자 의 개요 | |
---|---|
BasicFileChooserUI (JFileChooser b)
|
클래스 javax.swing.plaf. ComponentUI 로부터 상속된 메소드 |
---|
contains , createUI , getAccessibleChild , getAccessibleChildrenCount , getBaseline , getBaselineResizeBehavior , getMaximumSize , getMinimumSize , getPreferredSize , paint , update |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
필드의 상세 |
---|
protected Icon directoryIcon
protected Icon fileIcon
protected Icon computerIcon
protected Icon hardDriveIcon
protected Icon floppyDriveIcon
protected Icon newFolderIcon
protected Icon upFolderIcon
protected Icon homeFolderIcon
protected Icon listViewIcon
protected Icon detailsViewIcon
protected int saveButtonMnemonic
protected int openButtonMnemonic
protected int cancelButtonMnemonic
protected int updateButtonMnemonic
protected int helpButtonMnemonic
protected int directoryOpenButtonMnemonic
protected String saveButtonText
protected String openButtonText
protected String cancelButtonText
protected String updateButtonText
protected String helpButtonText
protected String directoryOpenButtonText
protected String saveButtonToolTipText
protected String openButtonToolTipText
protected String cancelButtonToolTipText
protected String updateButtonToolTipText
protected String helpButtonToolTipText
protected String directoryOpenButtonToolTipText
생성자 의 상세 |
---|
public BasicFileChooserUI(JFileChooser b)
메소드의 상세 |
---|
public void installUI(JComponent c)
ComponentUI
의 기술:ComponentUI
인스턴스가, 지정된 컴퍼넌트의 UI 위양으로서 인스톨 되고 있을 때 불려 갑니다. 이 메소드는, 이하를 포함한 Look & Feel 용의 컴퍼넌트를 완전하게 구성할 필요가 있습니다.
LayoutManager
를 인스톨 한다
PropertyChangeListener
를 컴퍼넌트에 작성 또는 인스톨 한다
ComponentUI
내의 installUI
c
- UI 위양이 인스톨 되고 있는 컴퍼넌트ComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void uninstallUI(JComponent c)
ComponentUI
의 기술:installUI
시에, 지정된 컴퍼넌트로 구성된 내용을 취소합니다. 이 메소드는, 지정된 컴퍼넌트의 UI 위양으로서의 UIComponent
인스턴스가 삭제되고 있을 때 불려 갑니다. 이 메소드는,installUI
에 의해 실행된 구성을 바탕으로 되돌릴 필요가 있습니다. 이 경우,JComponent
인스턴스를 깨끗한 상태 (여분의 청취자나, Look & Feel 고유의 프로퍼티 객체가 남지 않게)로 하도록(듯이) 충분히 주의해 주세요. 순서에는 다음의 것이 있습니다.
ComponentUI
내의 uninstallUI
c
- 이 UI 위양을 삭제하는 컴퍼넌트.
이 인수는 일반적으로 무시되지만,
UI 객체에 상태가 없고, 복수의 컴퍼넌트에 공유되고 있는 경우는
사용되는 일이 있는ComponentUI.installUI(javax.swing.JComponent)
,
JComponent.updateUI()
public void installComponents(JFileChooser fc)
public void uninstallComponents(JFileChooser fc)
protected void installListeners(JFileChooser fc)
protected void uninstallListeners(JFileChooser fc)
protected void installDefaults(JFileChooser fc)
protected void installIcons(JFileChooser fc)
protected void installStrings(JFileChooser fc)
protected void uninstallDefaults(JFileChooser fc)
protected void uninstallIcons(JFileChooser fc)
protected void uninstallStrings(JFileChooser fc)
protected void createModel()
public BasicDirectoryModel getModel()
public PropertyChangeListener createPropertyChangeListener(JFileChooser fc)
public String getFileName()
public String getDirectoryName()
public void setFileName(String filename)
public void setDirectoryName(String dirname)
public void rescanCurrentDirectory(JFileChooser fc)
FileChooserUI
내의 rescanCurrentDirectory
public void ensureFileIsVisible(JFileChooser fc, File f)
FileChooserUI
내의 ensureFileIsVisible
public JFileChooser getFileChooser()
public JPanel getAccessoryPanel()
protected JButton getApproveButton(JFileChooser fc)
public String getApproveButtonToolTipText(JFileChooser fc)
public void clearIconCache()
protected MouseListener createDoubleClickListener(JFileChooser fc, JList list)
public ListSelectionListener createListSelectionListener(JFileChooser fc)
protected boolean isDirectorySelected()
true
protected void setDirectorySelected(boolean b)
b
- 디렉토리가 현재 선택되고 있는 경우protected File getDirectory()
directory
프로퍼티의 값setDirectory(java.io.File)
protected void setDirectory(File f)
f
- 현재 선택된 디렉토리를 나타내는 File
객체public FileFilter getAcceptAllFileFilter(JFileChooser fc)
FileChooserUI
내의 getAcceptAllFileFilter
public FileView getFileView(JFileChooser fc)
FileChooserUI
내의 getFileView
public String getDialogTitle(JFileChooser fc)
FileChooserUI
내의 getDialogTitle
public int getApproveButtonMnemonic(JFileChooser fc)
public String getApproveButtonText(JFileChooser fc)
FileChooserUI
내의 getApproveButtonText
public Action getNewFolderAction()
public Action getGoHomeAction()
public Action getChangeToParentDirectoryAction()
public Action getApproveSelectionAction()
public Action getCancelSelectionAction()
public Action getUpdateAction()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요 : 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.