|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.AbstractButton javax.swing.JButton net.sf.japi.swing.JFileChooserButton
public class JFileChooserButton
JButton for choosing a file from hd.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JButton |
---|
JButton.AccessibleJButton |
Nested classes/interfaces inherited from class javax.swing.AbstractButton |
---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
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.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
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 javax.swing.SwingConstants |
---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
JFileChooserButton(File base,
JFileChooser chooser,
JTextField textField,
int fileSelectionMode)
Create a ChooserButton. |
|
JFileChooserButton(File base,
JTextField textField,
int fileSelectionMode)
Create a ChooseButton. |
|
JFileChooserButton(JFileChooser chooser,
JTextField textField,
int fileSelectionMode)
Create a ChooseButton. |
|
JFileChooserButton(JTextField textField,
int fileSelectionMode)
Create a ChooseButton. |
Method Summary | |
---|---|
File |
getBase()
Get the base directory to choose files from. |
JFileChooser |
getChooser()
Get the JFileChooser associated with this JFileChooserButton. |
void |
optionsChooseFile()
Action method. |
void |
setBase(File base)
Set the base directory to choose files from. |
void |
setChooser(JFileChooser chooser)
Set the JFileChooser associated with this JFileChooserButton. |
Methods inherited from class javax.swing.JButton |
---|
configurePropertiesFromAction, getAccessibleContext, getUIClassID, isDefaultButton, isDefaultCapable, paramString, removeNotify, setDefaultCapable, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JFileChooserButton(JTextField textField, int fileSelectionMode)
textField
- JTextField to create button forfileSelectionMode
- see JFileChooser
public JFileChooserButton(File base, JTextField textField, int fileSelectionMode)
base
- base directory to usetextField
- JTextField to create button forfileSelectionMode
- see JFileChooser
public JFileChooserButton(JFileChooser chooser, JTextField textField, int fileSelectionMode)
chooser
- JFileChooser to associate withtextField
- JTextField to create button forfileSelectionMode
- see JFileChooser
public JFileChooserButton(File base, JFileChooser chooser, JTextField textField, int fileSelectionMode)
base
- base directory to usechooser
- JFileChooser to associate withtextField
- JTextField to create button forfileSelectionMode
- see JFileChooser
Method Detail |
---|
public void setChooser(JFileChooser chooser)
chooser
- new JFileChooser to associate or null
to instruct the button to create its ownpublic void setBase(File base)
base
- directory to choose files frompublic File getBase()
public JFileChooser getChooser()
public void optionsChooseFile()
|
JAPI Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |