|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.jidesoft.combobox.PopupPanel
com.jidesoft.combobox.FileChooserPanel
public class FileChooserPanel
FileChooserPanel is a popup panel that can choose File.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class com.jidesoft.combobox.PopupPanel |
---|
_previousSelectedObject, SELECTED_BY_MOUSE_ROLLOVER |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
FileChooserPanel()
Creates a new FileChooserPanel. |
|
FileChooserPanel(File currentDirectory)
Creates a new FileChooserPanel. |
|
FileChooserPanel(String currentDirectoryPath)
Creates a new FileChooserPanel. |
Method Summary | |
---|---|
protected JFileChooser |
createFileChooser()
|
protected JComponent |
createFileChooserPanel()
|
File |
getCurrentDirectory()
Gets the current directory when the file chooser opens. |
String |
getCurrentDirectoryPath()
Gets the current directory path. |
protected void |
initComponents()
|
boolean |
needsButtons()
Always return false because JFileChooser has its own button defined. |
void |
setCurrentDirectory(File currentDirectory)
Sets the current directory when the file chooser opens. |
void |
setCurrentDirectoryPath(String currentDirectoryPath)
Sets the current directory path when the file chooser opens. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileChooserPanel()
public FileChooserPanel(String currentDirectoryPath)
currentDirectoryPath
- current pathpublic FileChooserPanel(File currentDirectory)
currentDirectory
- current pathMethod Detail |
---|
protected void initComponents()
public File getCurrentDirectory()
public void setCurrentDirectory(File currentDirectory)
currentDirectory
- the current directorypublic String getCurrentDirectoryPath()
public void setCurrentDirectoryPath(String currentDirectoryPath)
setCurrentDirectory(java.io.File)
which set the directory using file, this method uses a string. This method
will call setCurrentDirectory(java.io.File)
internally.
currentDirectoryPath
- the current directory path.protected JComponent createFileChooserPanel()
protected JFileChooser createFileChooser()
public boolean needsButtons()
To disable the buttons in JFileChooser, please override createFileChooser()
and invoke JFileChooser.setControlButtonsAreShown(boolean)
needsButtons
in class PopupPanel
PopupPanel.setNeedButtons(boolean)
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |