|
|||||||||
| Home >> All >> org >> gtk >> java >> swing >> plaf >> [ gtk overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.gtk.java.swing.plaf.gtk
Class GtkFileChooserUI

java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.FileChooserUI
javax.swing.plaf.basic.BasicFileChooserUI
org.gtk.java.swing.plaf.gtk.GtkFileChooserUI
- public class GtkFileChooserUI
- extends javax.swing.plaf.basic.BasicFileChooserUI
Gtk FileChooserUI.
- Version:
- 1.19 08/26/98
| Nested Class Summary | |
protected class |
GtkFileChooserUI.DirectoryCellRenderer
|
protected class |
GtkFileChooserUI.FileCellRenderer
|
protected class |
GtkFileChooserUI.FilterComboBoxModel
Data model for a type-face selection combo-box. |
class |
GtkFileChooserUI.FilterComboBoxRenderer
Render different type sizes and styles. |
protected class |
GtkFileChooserUI.GtkDirectoryListModel
|
protected class |
GtkFileChooserUI.GtkFileListModel
|
| Nested classes inherited from class javax.swing.plaf.basic.BasicFileChooserUI |
javax.swing.plaf.basic.BasicFileChooserUI.AcceptAllFileFilter, javax.swing.plaf.basic.BasicFileChooserUI.ApproveSelectionAction, javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView, javax.swing.plaf.basic.BasicFileChooserUI.CancelSelectionAction, javax.swing.plaf.basic.BasicFileChooserUI.ChangeToParentDirectoryAction, javax.swing.plaf.basic.BasicFileChooserUI.DoubleClickListener, javax.swing.plaf.basic.BasicFileChooserUI.GoHomeAction, javax.swing.plaf.basic.BasicFileChooserUI.NewFolderAction, javax.swing.plaf.basic.BasicFileChooserUI.SelectionListener, javax.swing.plaf.basic.BasicFileChooserUI.UpdateAction |
| Constructor Summary | |
GtkFileChooserUI(javax.swing.JFileChooser filechooser)
|
|
| Method Summary | |
protected void |
align(javax.swing.JComponent c)
|
protected javax.swing.JScrollPane |
createDirectoryList()
|
protected javax.swing.JScrollPane |
createFilesList()
|
protected GtkFileChooserUI.FilterComboBoxModel |
createFilterComboBoxModel()
|
protected GtkFileChooserUI.FilterComboBoxRenderer |
createFilterComboBoxRenderer()
|
java.beans.PropertyChangeListener |
createPropertyChangeListener(javax.swing.JFileChooser fc)
Creates a listener to handle changes to the properties of the given file chooser component. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Returns a UI delegate for the given component. |
void |
ensureFileIsVisible(javax.swing.JFileChooser fc,
java.io.File f)
NOT YET IMPLEMENTED. |
protected javax.swing.JButton |
getApproveButton(javax.swing.JFileChooser fc)
Returns the approve (open or save) button for the dialog. |
java.lang.String |
getDirectoryName()
Returns the current directory name. |
java.lang.String |
getFileName()
Returns the current file name. |
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent x)
Determines the maximum size of a component. |
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent x)
Determines the minimum size of a component. |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent x)
Determines the preferred size of a component. |
void |
installComponents(javax.swing.JFileChooser fc)
Creates and install the subcomponents for the file chooser. |
protected void |
installIcons(javax.swing.JFileChooser fc)
Installs the icons for this UI delegate. |
protected void |
installStrings(javax.swing.JFileChooser fc)
Installs the strings used by this UI delegate. |
void |
installUI(javax.swing.JComponent c)
Installs the UI for the specified component. |
void |
rescanCurrentDirectory(javax.swing.JFileChooser fc)
Rescans the current directory. |
void |
setDirectoryName(java.lang.String dirname)
Sets the directory name (NOT IMPLEMENTED). |
void |
setFileName(java.lang.String filename)
Sets the file name. |
void |
uninstallComponents(javax.swing.JFileChooser fc)
Uninstalls the components from the file chooser. |
protected void |
uninstallIcons(javax.swing.JFileChooser fc)
Uninstalls the icons previously added by this UI delegate. |
void |
uninstallUI(javax.swing.JComponent c)
Uninstalls this UI from the given component. |
| Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, paint, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
filterComboBoxModel
private GtkFileChooserUI.FilterComboBoxModel filterComboBoxModel
directoryList
protected javax.swing.JList directoryList
fileList
protected javax.swing.JList fileList
pathField
protected javax.swing.JTextField pathField
filterComboBox
protected javax.swing.JComboBox filterComboBox
filenameTextField
protected javax.swing.JTextField filenameTextField
hstrut10
private static final java.awt.Dimension hstrut10
vstrut10
private static final java.awt.Dimension vstrut10
insets
private static final java.awt.Insets insets
prefListSize
private static java.awt.Dimension prefListSize
WITH_ACCELERATOR_PREF_SIZE
private static java.awt.Dimension WITH_ACCELERATOR_PREF_SIZE
PREF_SIZE
private static java.awt.Dimension PREF_SIZE
MIN_SIZE
private static java.awt.Dimension MIN_SIZE
PREF_ACC_SIZE
private static java.awt.Dimension PREF_ACC_SIZE
ZERO_ACC_SIZE
private static java.awt.Dimension ZERO_ACC_SIZE
MAX_SIZE
private static java.awt.Dimension MAX_SIZE
buttonMargin
private static final java.awt.Insets buttonMargin
directoryPanel
private javax.swing.JPanel directoryPanel
approveButton
protected javax.swing.JButton approveButton
enterFileNameLabelText
private java.lang.String enterFileNameLabelText
enterFileNameLabelMnemonic
private int enterFileNameLabelMnemonic
filesLabelText
private java.lang.String filesLabelText
filesLabelMnemonic
private int filesLabelMnemonic
foldersLabelText
private java.lang.String foldersLabelText
foldersLabelMnemonic
private int foldersLabelMnemonic
pathLabelText
private java.lang.String pathLabelText
pathLabelMnemonic
private int pathLabelMnemonic
filterLabelText
private java.lang.String filterLabelText
filterLabelMnemonic
private int filterLabelMnemonic
| Constructor Detail |
GtkFileChooserUI
public GtkFileChooserUI(javax.swing.JFileChooser filechooser)
| Method Detail |
getFileName
public java.lang.String getFileName()
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Returns the current file name.
setFileName
public void setFileName(java.lang.String filename)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Sets the file name.
getDirectoryName
public java.lang.String getDirectoryName()
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Returns the current directory name.
setDirectoryName
public void setDirectoryName(java.lang.String dirname)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Sets the directory name (NOT IMPLEMENTED).
ensureFileIsVisible
public void ensureFileIsVisible(javax.swing.JFileChooser fc, java.io.File f)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - NOT YET IMPLEMENTED.
rescanCurrentDirectory
public void rescanCurrentDirectory(javax.swing.JFileChooser fc)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Rescans the current directory.
createPropertyChangeListener
public java.beans.PropertyChangeListener createPropertyChangeListener(javax.swing.JFileChooser fc)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Creates a listener to handle changes to the properties of the given
file chooser component.
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Returns a UI delegate for the given component.
installUI
public void installUI(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Installs the UI for the specified component.
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Uninstalls this UI from the given component.
installComponents
public void installComponents(javax.swing.JFileChooser fc)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Creates and install the subcomponents for the file chooser.
uninstallComponents
public void uninstallComponents(javax.swing.JFileChooser fc)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Uninstalls the components from the file chooser.
installStrings
protected void installStrings(javax.swing.JFileChooser fc)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Installs the strings used by this UI delegate.
installIcons
protected void installIcons(javax.swing.JFileChooser fc)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Installs the icons for this UI delegate.
uninstallIcons
protected void uninstallIcons(javax.swing.JFileChooser fc)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Uninstalls the icons previously added by this UI delegate.
createFilesList
protected javax.swing.JScrollPane createFilesList()
createDirectoryList
protected javax.swing.JScrollPane createDirectoryList()
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent x)
- Description copied from class:
javax.swing.plaf.ComponentUI - Determines the preferred size of a component. The default
implementation returns
null, which means thatc’s layout manager should be asked to calculate the preferred size.
getMinimumSize
public java.awt.Dimension getMinimumSize(javax.swing.JComponent x)
- Description copied from class:
javax.swing.plaf.ComponentUI - Determines the minimum size of a component. The default
implementation calls ComponentUI.getPreferredSize(javax.swing.JComponent)>
ComponentUI.getPreferredSize(javax.swing.JComponent)55 , but subclasses might want to override this.
getMaximumSize
public java.awt.Dimension getMaximumSize(javax.swing.JComponent x)
- Description copied from class:
javax.swing.plaf.ComponentUI - Determines the maximum size of a component. The default
implementation calls ComponentUI.getPreferredSize(javax.swing.JComponent)>
ComponentUI.getPreferredSize(javax.swing.JComponent)55 , but subclasses might want to override this.
align
protected void align(javax.swing.JComponent c)
createFilterComboBoxModel
protected GtkFileChooserUI.FilterComboBoxModel createFilterComboBoxModel()
createFilterComboBoxRenderer
protected GtkFileChooserUI.FilterComboBoxRenderer createFilterComboBoxRenderer()
getApproveButton
protected javax.swing.JButton getApproveButton(javax.swing.JFileChooser fc)
- Description copied from class:
javax.swing.plaf.basic.BasicFileChooserUI - Returns the approve (open or save) button for the dialog.
|
|||||||||
| Home >> All >> org >> gtk >> java >> swing >> plaf >> [ gtk overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC