JComponentPack 1.3.0

com.zfqjava.swing.plaf.basic
Class BasicDirChooserUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by com.zfqjava.swing.plaf.DirChooserUI
          extended by com.zfqjava.swing.plaf.basic.BasicDirChooserUI

public class BasicDirChooserUI
extends DirChooserUI

Basic DirChooserUI implements.


Constructor Summary
BasicDirChooserUI()
           
 
Method Summary
protected  XTree createTree()
          Creates the JTree for this JDirChooser.
static ComponentUI createUI(JComponent c)
           
 void ensureFileIsVisible(JDirChooser dirChooser, File f)
           
 File getRootFile(JDirChooser dirChooser)
           
 XTree getTree()
          Returns the JTree for this JDirChooser.
protected  void installComponents(JDirChooser dirChooser)
           
protected  void installDefaults(JDirChooser dirChooser)
           
protected  void installListeners(JDirChooser dirChooser)
           
 void installUI(JComponent c)
           
 boolean isSelectable(JDirChooser dirChooser, File f)
           
 void newFolder(JDirChooser dirChooser)
           
 void refresh(JDirChooser dirChooser)
           
 void refresh(JDirChooser dirChooser, File dir)
           
protected  void uninstallComponents(JDirChooser dirChooser)
           
protected  void uninstallDefaults(JDirChooser dirChooser)
           
protected  void uninstallListeners(JDirChooser dirChooser)
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicDirChooserUI

public BasicDirChooserUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI

installDefaults

protected void installDefaults(JDirChooser dirChooser)

uninstallDefaults

protected void uninstallDefaults(JDirChooser dirChooser)

installComponents

protected void installComponents(JDirChooser dirChooser)

uninstallComponents

protected void uninstallComponents(JDirChooser dirChooser)

installListeners

protected void installListeners(JDirChooser dirChooser)

uninstallListeners

protected void uninstallListeners(JDirChooser dirChooser)

getTree

public XTree getTree()
Returns the JTree for this JDirChooser.

Returns:
the JTree
See Also:
createTree()

createTree

protected XTree createTree()
Creates the JTree for this JDirChooser.

Returns:
the JTree
See Also:
getTree()

getRootFile

public File getRootFile(JDirChooser dirChooser)
Specified by:
getRootFile in class DirChooserUI

refresh

public void refresh(JDirChooser dirChooser,
                    File dir)
Specified by:
refresh in class DirChooserUI

refresh

public void refresh(JDirChooser dirChooser)
Specified by:
refresh in class DirChooserUI

newFolder

public void newFolder(JDirChooser dirChooser)
Specified by:
newFolder in class DirChooserUI

isSelectable

public boolean isSelectable(JDirChooser dirChooser,
                            File f)
Specified by:
isSelectable in class DirChooserUI

ensureFileIsVisible

public void ensureFileIsVisible(JDirChooser dirChooser,
                                File f)
Specified by:
ensureFileIsVisible in class DirChooserUI

JComponentPack 1.3.0

Send your Feedback
JComponentPack 1.3.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.