|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JFileChooser
org.esa.beam.util.io.BeamFileChooser
org.esa.beam.framework.ui.product.ProductFileChooser
public class ProductFileChooser
A file chooser designed for data products.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JFileChooser |
|---|
JFileChooser.AccessibleJFileChooser |
| 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 javax.swing.JComponent |
|---|
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 | |
|---|---|
ProductFileChooser(String title,
Product product)
Constructs an "Export" file chooser with the given title and for the given product. |
|
ProductFileChooser(String title,
ProductReaderPlugIn readerPlugIn)
Constructs an "Import" file chooser with the given title and the given reader plug-in. |
|
| Method Summary | |
|---|---|
void |
clearProductSubsetDef()
Clears the currently used product subset definition. |
protected void |
createUI()
Creates the UI of this file chooser. |
Product |
getProduct()
Returns the product. |
ProductSubsetDef |
getProductSubsetDef()
Returns the product subset definition. |
boolean |
isExportDialog()
Returns whether or not this file chooser is a product export dialog. |
boolean |
isImportDialog()
Returns whether or not this file chooser is a product import dialog. |
protected void |
openHistoryDialog()
Called if the user clicks the 'History' button. |
protected void |
openProductSubsetDialog()
Called if the user clicks the 'Subset' button. |
void |
setProduct(Product product)
Sets the product. |
protected void |
updateUIState()
Updates the state of this file chooser's assessory. |
| Methods inherited from class org.esa.beam.util.io.BeamFileChooser |
|---|
approveSelection, checkExtension, createDialog, getBeamFileFilter, getCurrentFilename, getDefaultExtension, getDialogBounds, getIcon, getWindow, isTraversable, setCurrentFilename, setDialogBounds |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProductFileChooser(String title,
ProductReaderPlugIn readerPlugIn)
title - the dialog title, must not be nullreaderPlugIn - the reader plug-in for a particular product type, must not be null
public ProductFileChooser(String title,
Product product)
title - the dialog title, must not be nullproduct - the product to export, must not be null| Method Detail |
|---|
public Product getProduct()
null, if this is an "Import" file chooser.public void setProduct(Product product)
product - the product which must not be null, if this is an "Export" file chooser.public ProductSubsetDef getProductSubsetDef()
nullpublic void clearProductSubsetDef()
public boolean isImportDialog()
true if sopublic boolean isExportDialog()
true if soprotected void openProductSubsetDialog()
protected void openHistoryDialog()
protected void createUI()
protected void updateUIState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||