public class RmiFileDialog
extends rma.swing.RmaJDialog
| Modifier and Type | Class and Description |
|---|---|
class |
RmiFileDialog.NewDirDialog
dialog to prompt the user for the name of the new directory
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DIRECTORY_SELECTED_PROPERTY |
static java.lang.String |
FILE_SELECTED_PROPERTY |
static java.lang.String |
PATHS_SELECTED_PROPERTY |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT| Constructor and Description |
|---|
RmiFileDialog(java.awt.Dialog owner,
boolean modal) |
RmiFileDialog(java.awt.Dialog owner,
boolean modal,
boolean remote) |
RmiFileDialog(java.awt.Dialog owner,
boolean modal,
java.lang.String startDir,
java.util.List fileMask) |
RmiFileDialog(java.awt.Dialog owner,
boolean modal,
java.lang.String startDir,
java.util.List fileMask,
hec.appInterface.FileOpener fileOpener) |
RmiFileDialog(java.awt.Frame owner,
boolean modal) |
RmiFileDialog(java.awt.Frame owner,
boolean modal,
boolean bRemote) |
RmiFileDialog(java.awt.Frame owner,
boolean modal,
java.lang.String startDir,
java.util.List fileMask) |
RmiFileDialog(java.awt.Frame owner,
boolean modal,
java.lang.String startDir,
java.util.List fileMask,
boolean remote) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotify() |
void |
addShortcutButton(java.lang.String buttonText,
java.lang.String location,
java.lang.String iconName)
add a shortcut button to the shortcut panel
|
static void |
addStaticShortcutButton(java.lang.String buttonText,
java.lang.String location,
java.lang.String iconName)
add a shortcut that appears in all the RmiFileDialogs displayed in this client
|
void |
fileProperties(java.awt.event.MouseEvent me) |
void |
fillForm() |
java.lang.String |
getDirectory() |
Identifier |
getIdentifier()
returns an identifier that contains the selected file
|
Identifier[] |
getIdentifierList()
returns the list of identifiers that contain the selected files
|
boolean |
getLocal()
return whether a local file is selected or not
|
boolean |
isCanceled()
return whether this dialog was canceled
|
void |
setCancelInvisible()
Set when there abosutely needs to be a file selected
|
void |
setDefaultFilename(java.lang.String defaultFilename)
sets the default file name
|
void |
setFileMask(java.util.List fileMask)
sets the list for the file mask
|
void |
setFileOpener(hec.appInterface.FileOpener fileOpener) |
void |
setLocal(boolean local)
sets whether the local or remote radio is selected
|
void |
setLocalOnly(boolean b)
set so that only the Local radio button can be selected or not.
|
void |
setMultipleSelectionAllowed(boolean b) |
void |
setOkButtonVisible(boolean visible) |
void |
setOpenDirectory()
set the title to be an open directory
removes the list of files
|
void |
setOpenDirectoryOrFiles()
set the title to be an open directory or files, and allows both selections
|
void |
setOpenTitle()
sets the title to be an open dialog
|
void |
setSaveTitle()
sets the title to be a save dialog
|
void |
setStartDir(java.lang.String startDir)
sets the starting directory
|
void |
setVisible(boolean b)
fills in the drives, lists and displays the dialog in the center (roughly) of
the parent frame
|
void |
setVisibleActionsEnabled(boolean tf) |
void |
windowClosingEvent(java.awt.event.WindowEvent event)
window closing
|
apply, cancel, clearForm, clearForm, clickButton, clickCheckBox, clickRadioButton, componentHidden, componentMoved, componentResized, componentShown, escapeKeyPressed, getActiveDialog, getCancelButtonSearchString, getModalDialog, getOKButtonSearchString, getOpenWindows, getOpenWindowsOfClass, getSnapToDefaultSize, getTimeZone, getUnitSystem, getWindow, isEditable, isIgnoreModifiedEvents, isModified, isSystemClosable, ok, setCancelButtonSearchString, setComponentsEditable, setComponentsEditable, setDefaultHeight, setDefaultSize, setDefaultWidth, setDisplayScale, setEditable, setIgnoreModifiedEvents, setLocation, setModified, setOKButtonSearchString, setPrintLocations, setSnapToDefaultSize, setSystemClosable, setTimeZone, setUnitSystem, updateDisplayScale, updateTimeZone, updateUnitSystem, validateComponents, validateComponentsgetAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, updategetModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBackaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validateaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final java.lang.String DIRECTORY_SELECTED_PROPERTY
public static final java.lang.String PATHS_SELECTED_PROPERTY
public static final java.lang.String FILE_SELECTED_PROPERTY
public RmiFileDialog(java.awt.Dialog owner,
boolean modal)
public RmiFileDialog(java.awt.Dialog owner,
boolean modal,
boolean remote)
public RmiFileDialog(java.awt.Frame owner,
boolean modal)
public RmiFileDialog(java.awt.Frame owner,
boolean modal,
boolean bRemote)
public RmiFileDialog(java.awt.Dialog owner,
boolean modal,
java.lang.String startDir,
java.util.List fileMask)
public RmiFileDialog(java.awt.Dialog owner,
boolean modal,
java.lang.String startDir,
java.util.List fileMask,
hec.appInterface.FileOpener fileOpener)
public RmiFileDialog(java.awt.Frame owner,
boolean modal,
java.lang.String startDir,
java.util.List fileMask)
public RmiFileDialog(java.awt.Frame owner,
boolean modal,
java.lang.String startDir,
java.util.List fileMask,
boolean remote)
public void addShortcutButton(java.lang.String buttonText,
java.lang.String location,
java.lang.String iconName)
buttonText - the text for the buttonlocation - the directory locationiconName - the name of the icon. If null then Images/directory.gif is usedpublic static void addStaticShortcutButton(java.lang.String buttonText,
java.lang.String location,
java.lang.String iconName)
buttonText - the text for the buttonlocation - the directory (also tooltip)iconName - the name of the icon.If null then Images/directory.gif is usedpublic void setFileOpener(hec.appInterface.FileOpener fileOpener)
public void addNotify()
addNotify in class rma.swing.RmaJDialogpublic void windowClosingEvent(java.awt.event.WindowEvent event)
public void setOpenTitle()
public void setSaveTitle()
public void setOpenDirectory()
public void setOpenDirectoryOrFiles()
public void setStartDir(java.lang.String startDir)
public void setDefaultFilename(java.lang.String defaultFilename)
public boolean getLocal()
public void setLocal(boolean local)
public void setLocalOnly(boolean b)
public void setFileMask(java.util.List fileMask)
public void setVisible(boolean b)
setVisible in class rma.swing.RmaJDialogpublic void fillForm()
public boolean isCanceled()
public Identifier getIdentifier()
public Identifier[] getIdentifierList()
public java.lang.String getDirectory()
public void setCancelInvisible()
public void setOkButtonVisible(boolean visible)
public void setVisibleActionsEnabled(boolean tf)
public void setMultipleSelectionAllowed(boolean b)
public void fileProperties(java.awt.event.MouseEvent me)