|
||||||||||
| 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.JPanel
ucar.unidata.ui.imagery.GarpImageSelector
public class GarpImageSelector
Simulates the NSAT/GARP image selection widget.
| 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 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 | |
|---|---|
GarpImageSelector(File topLevelDirectory)
Construct an image selection widget. |
|
GarpImageSelector(File topLevelDirectory,
int columns)
Construct an image selection widget. |
|
GarpImageSelector(String topLevelDirectoryPath)
Construct an image selection widget. |
|
GarpImageSelector(String topLevelDirectoryPath,
int columns)
Construct an image selection widget. |
|
| Method Summary | |
|---|---|
List |
getImageList()
Returns a list of the images to load or null if none have been selected. |
void |
itemStateChanged(ItemEvent e)
Method to handle the events when an item is selected. |
static void |
main(String[] args)
The main. |
void |
setTopLevelDirectory(File topLevelDirectory)
Set the top level directory for the widget |
void |
setTopLevelDirectory(String directory)
Set the top level directory for the widget |
| 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 GarpImageSelector(String topLevelDirectoryPath)
topLevelDirectoryPath - top level directory path name
public GarpImageSelector(String topLevelDirectoryPath,
int columns)
topLevelDirectoryPath - top level directory path namecolumns - number of columns for layoutpublic GarpImageSelector(File topLevelDirectory)
topLevelDirectory - top level directory
public GarpImageSelector(File topLevelDirectory,
int columns)
topLevelDirectory - top level directorycolumns - number of columns for layout| Method Detail |
|---|
public void itemStateChanged(ItemEvent e)
itemStateChanged in interface ItemListenere - ItemEvent to handlepublic List getImageList()
getImageList in interface ImageSelectorpublic void setTopLevelDirectory(String directory)
directory - top level directorypublic void setTopLevelDirectory(File topLevelDirectory)
topLevelDirectory - top level directorypublic static void main(String[] args)
java ucar.unidata.ui.imagery.GarpImageSelector top_level_image_dir
args - top level directory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||