|
||||||||||
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 java.awt.Panel visad.data.netcdf.FileDialogPanel
public class FileDialogPanel
A non-Window equivalent of FileDialog.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Panel |
---|
Panel.AccessibleAWTPanel |
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 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 | |
---|---|
FileDialogPanel(String filter,
String initialPathname)
Construct. |
Method Summary | |
---|---|
protected void |
addButton(Panel panel,
Button button)
Add a button to a panel. |
protected void |
addComponent(Component component,
int gridx,
int gridy,
int fill)
Add a component. |
String |
getFile()
Gets the pathname. |
static void |
main(String[] args)
Test this class. |
protected Component |
newButtonsComponent()
Return a buttons component. |
protected Component |
newFileComponent(String initialPathname)
Return a file component. |
protected Component |
newFilesListComponent()
Return a files list component. |
protected Component |
newFilterComponent(String pattern)
Return a filter component. |
protected Component |
newFolderComponent()
Return a folder component. |
protected Component |
newFoldersListComponent()
Return a folders list component. |
protected Component |
newLabeledComponent(String title,
Component component)
Return a labeled component. |
protected Component |
newListComponent(String title,
String[] items)
Return a list component. |
protected Component |
newTextComponent(String title,
String initialText)
Return a text component (label and text field). |
void |
setFile(String pathname)
Sets the pathname. |
Methods inherited from class java.awt.Panel |
---|
addNotify, getAccessibleContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileDialogPanel(String filter, String initialPathname)
Method Detail |
---|
protected void addComponent(Component component, int gridx, int gridy, int fill)
protected Component newFolderComponent()
protected Component newFilterComponent(String pattern)
protected Component newFilesListComponent()
protected Component newFoldersListComponent()
protected Component newFileComponent(String initialPathname)
protected Component newButtonsComponent()
protected void addButton(Panel panel, Button button)
protected Component newListComponent(String title, String[] items)
protected Component newTextComponent(String title, String initialText)
protected Component newLabeledComponent(String title, Component component)
public String getFile()
public void setFile(String pathname)
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |