public class MDIFrame extends javax.swing.JFrame implements java.awt.event.ComponentListener, java.awt.event.ContainerListener, java.awt.event.ActionListener, MainFrame
| Modifier and Type | Class and Description |
|---|---|
class |
MDIFrame.TooltipListener |
javax.swing.JFrame.AccessibleJFramejava.awt.Window.AccessibleAWTWindow, java.awt.Window.TypeaccessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabledCROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSORBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTMAIN_FRAME_EXT_STATE, MAIN_FRAME_EXT_STATE_DEFAULT, MAIN_FRAME_POS, MAIN_FRAME_POS_DEFAULT, MAIN_FRAME_SIZE, MAIN_FRAME_SIZE_DEFAULT| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Metodo de callback invocado cuando se selecciona un menu o un boton
de
la barra de herramientas.
|
void |
addMenu(ActionInfo action,
java.lang.String text) |
void |
addMenu(Menu menu,
java.awt.event.ActionListener listener,
PluginClassLoader loader)
Adds the provided menu to the menu bar.
|
void |
addMenu(PluginClassLoader loader,
SkinExtensionType ext,
Menu menu)
Añade la informacion del menu al framework.
|
void |
addPopupMenu(PluginClassLoader loader,
PopupMenu menu) |
void |
addPopupMenuListener(java.lang.String popupName,
java.awt.Component c,
java.awt.event.ActionListener listener,
PluginClassLoader loader) |
void |
addSelectableTool(ActionInfo action,
java.lang.String toolBarName,
java.lang.String groupName,
boolean useText) |
void |
addStatusBarControl(java.lang.Class<?> extensionClass,
IControl control)
Adds a control to the status bar and associate it with the
provided extension.
|
void |
addTool(ActionInfo action,
java.lang.String toolBarName) |
void |
addTool(ActionInfo action,
java.lang.String toolBarName,
boolean useText) |
void |
addTool(ActionInfo action,
java.lang.String toolBarName,
java.lang.String dropDownName) |
void |
addTool(PluginClassLoader loader,
SkinExtensionType ext,
ToolBar toolBar,
ActionTool actionTool) |
void |
addTool(PluginClassLoader loader,
SkinExtensionType ext,
ToolBar toolBar,
SelectableTool selectableTool) |
SelectableToolBar |
addToolBar(java.lang.String toolBarName,
java.lang.String description,
int position) |
void |
addToolBarControl(java.lang.Class<?> extensionClass,
javax.swing.JToolBar control,
java.lang.String name) |
void |
changeMenuName(java.lang.String[] menu,
java.lang.String newName,
PluginClassLoader loader)
Changes the menu name, and thus also its location, as the name determines
the location of the menu.
|
void |
componentAdded(java.awt.event.ContainerEvent arg0) |
void |
componentHidden(java.awt.event.ComponentEvent arg0) |
void |
componentMoved(java.awt.event.ComponentEvent arg0) |
void |
componentRemoved(java.awt.event.ContainerEvent arg0) |
void |
componentResized(java.awt.event.ComponentEvent arg0) |
void |
componentShown(java.awt.event.ComponentEvent arg0) |
int |
confirmDialog(java.lang.String message,
java.lang.String title,
int optionType,
int messageType)
Show a JOptionPane confirm dialog.
|
int |
confirmDialog(java.lang.String message,
java.lang.String title,
int optionType,
int messageType,
java.lang.String msgid) |
java.awt.Component |
createComponent(java.lang.Class<? extends java.awt.Component> theClass,
java.lang.Object... parameters)
Creates an return a new instance of the component specified
This method ensure that the component is created in the event dispatch thread of swing.
|
java.awt.Component |
createComponentWithParams(java.lang.Class<? extends java.awt.Component> theClass,
java.lang.Object[] parameters)
Creates an return a new instance of the component specified
This method ensure that the component is created in the event dispatch thread of swing.
|
void |
enableControls()
Loop on the controls to enable/disable and show/hide them, according to
its associated action (ActionInfo)
|
javax.swing.JComponent |
getComponentByName(java.lang.String name)
Get a previously added JComponent by name.
|
java.util.HashMap |
getInitialSelectedTools() |
static MDIFrame |
getInstance() |
MDIManager |
getMDIManager() |
javax.swing.JMenuItem |
getMenuEntry(java.lang.String[] menuPath)
Gets the menu entry corresponding the provided menu path.
|
java.util.Map |
getSelectedTools() |
NewStatusBar |
getStatusBar()
Gets the status bar, the bar located in the bottom part of the main window.
|
java.lang.String |
getTitlePrefix() |
SelectableToolBar[] |
getToolbars()
Gets an array containing all the toolbars.
|
boolean |
getToolbarVisibility(java.lang.String name)
Gets wheter or not this toolbar should be shown by Andami.
|
void |
init()
Makes some initialization tasks.
|
java.lang.String |
inputDialog(java.lang.String message,
java.lang.String title)
Show a JOptionPane input dialog.
|
java.lang.String |
inputDialog(java.lang.String message,
java.lang.String title,
int messageType,
java.lang.String initialValue)
Show a JOptionPane input dialog.
|
static boolean |
isInitialized() |
void |
message(java.lang.String msg,
int messageTyoe)
Show the message in the status bar of the application.
|
void |
messageDialog(java.lang.String message,
java.lang.String[] messageArgs,
java.lang.String title,
int messageType)
Create a message dialog with ok button.
|
void |
messageDialog(java.lang.String message,
java.lang.String[] messageArgs,
java.lang.String title,
int messageType,
java.lang.String msgid) |
void |
messageDialog(java.lang.String message,
java.lang.String title,
int messageType)
Create a message dialog with an ok button.
|
void |
refreshControls()
This method is thread safe.
|
void |
removeMenu(Menu menu)
Deletes the provided menu, if found.
|
void |
removePopupMenuListener(java.lang.String name,
java.awt.event.ActionListener listener) |
void |
removeStatusBarControl(java.lang.String name)
Removes the providedcontrol from the status bar.
|
void |
removeStatusBarLabels(java.lang.Class<?> clase)
Removes the labels associated with the provided class.
|
void |
setClassesExtensions(java.util.Map<java.lang.Class<? extends IExtension>,ExtensionDecorator> classesExtensions) |
void |
setLocale(java.util.Locale locale) |
void |
setSelectedTool(java.lang.String actionCommand)
You can use this function to select the appropiate
tool inside the toolbars
|
void |
setSelectedTool(java.lang.String groupName,
java.lang.String actionCommand)
You can use this function to select the appropiate
tool inside the toolbars
|
void |
setSelectedTools(java.util.Map selectedTools)
You can use this function to select the appropiate
tool inside the toolbars
|
void |
setStatusBarLabels(java.lang.Class<?> clase,
Label[] label)
DOCUMENT ME!
|
void |
setTitle(java.lang.String title)
Sets the main window title.
|
void |
setTitlePrefix(java.lang.String titlePrefix) |
boolean |
setToolbarVisibility(java.lang.String name,
boolean visibility)
Sets wheter or not this toolbar should be shown by Andami.
|
java.io.File[] |
showChooserDialog(java.lang.String title,
int type,
int selectionMode,
boolean multiselection,
java.io.File initialPath,
javax.swing.filechooser.FileFilter filter,
boolean fileHidingEnabled)
Creates and show a JFileChooser dialog.
|
<any> |
showChooserDialog(java.lang.String title,
int type,
int selectionMode,
boolean multiselection,
java.io.File initialPath,
javax.swing.filechooser.FileFilter filter,
boolean fileHidingEnabled,
boolean askCharset)
Creates and show a JFileChooser dialog.This method return an array whit the selected files.
|
java.io.File[] |
showChooserDialog(java.lang.String title,
int type,
int selectionMode,
boolean multiselection,
java.io.File initialPath,
javax.swing.filechooser.FileFilter filter,
boolean fileHidingEnabled,
javax.swing.JComponent accesory) |
void |
showDialog(java.awt.Component contents,
java.lang.String title)
Create a window with the contents and title specified as parameters
and show as a dialog windows of gvSIG.
|
java.io.File[] |
showOpenDirectoryDialog(java.lang.String title,
java.io.File initialPath)
Creates and show a JFileChooser dialog for folder selection.
|
java.io.File[] |
showOpenFileDialog(java.lang.String title,
java.io.File initialPath)
Creates and show a JFileChooser dialog for selection a file for open.
|
java.io.File[] |
showSaveFileDialog(java.lang.String title,
java.io.File initialPath)
Creates and show a JFileChooser dialog for selection a file for save.
|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setUndecoratedaddPropertyChangeListener, 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, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, 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, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static boolean isInitialized()
public static MDIFrame getInstance()
public void init()
java.lang.RuntimeExceptionpublic void setTitle(java.lang.String title)
MainFramepublic SelectableToolBar addToolBar(java.lang.String toolBarName, java.lang.String description, int position)
public void addTool(PluginClassLoader loader, SkinExtensionType ext, ToolBar toolBar, SelectableTool selectableTool) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic void addTool(PluginClassLoader loader, SkinExtensionType ext, ToolBar toolBar, ActionTool actionTool) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic void addTool(ActionInfo action, java.lang.String toolBarName, java.lang.String dropDownName)
public void addTool(ActionInfo action, java.lang.String toolBarName)
public void addTool(ActionInfo action, java.lang.String toolBarName, boolean useText)
public void addSelectableTool(ActionInfo action, java.lang.String toolBarName, java.lang.String groupName, boolean useText)
addSelectableTool in interface MainFramepublic void addMenu(PluginClassLoader loader, SkinExtensionType ext, Menu menu) throws java.lang.ClassNotFoundException
loader - Posicion del menu. Se ordena por este campoext - Array con los nombres de los padres del menumenu - Texto del menujava.lang.ClassNotFoundExceptionjava.lang.RuntimeExceptionpublic void addMenu(ActionInfo action, java.lang.String text)
public void setClassesExtensions(java.util.Map<java.lang.Class<? extends IExtension>,ExtensionDecorator> classesExtensions)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - Evento producidopublic void addPopupMenu(PluginClassLoader loader, PopupMenu menu)
public void removePopupMenuListener(java.lang.String name,
java.awt.event.ActionListener listener)
public void addPopupMenuListener(java.lang.String popupName,
java.awt.Component c,
java.awt.event.ActionListener listener,
PluginClassLoader loader)
public void enableControls()
enableControls in interface MainFramejava.lang.RuntimeExceptionpublic void refreshControls()
MainFramerefreshControls in interface MainFramepublic void message(java.lang.String msg,
int messageTyoe)
MainFramemessage in interface MainFramemessage in interface ThreadSafeDialogsManagermsg - to showmessageTyoe - type of message.public MDIManager getMDIManager()
public NewStatusBar getStatusBar()
MainFramegetStatusBar in interface MainFramepublic void setSelectedTool(java.lang.String actionCommand)
setSelectedTool in interface MainFramepublic void setSelectedTool(java.lang.String groupName,
java.lang.String actionCommand)
public void setSelectedTools(java.util.Map selectedTools)
public void setStatusBarLabels(java.lang.Class<?> clase,
Label[] label)
setStatusBarLabels in interface MainFrameclase - label - public void removeStatusBarLabels(java.lang.Class<?> clase)
MainFrameremoveStatusBarLabels in interface MainFrameclase - The class whose associated labels are to be removed.public void addStatusBarControl(java.lang.Class<?> extensionClass,
IControl control)
MainFrameaddStatusBarControl in interface MainFrameextensionClass - Extension which will determine whether the
control is enabled and visible.control - The control to add.public void addToolBarControl(java.lang.Class<?> extensionClass,
javax.swing.JToolBar control,
java.lang.String name)
addToolBarControl in interface MainFramepublic void removeStatusBarControl(java.lang.String name)
MainFrameremoveStatusBarControl in interface MainFramename - The name of the control to removepublic void removeMenu(Menu menu)
MainFrameremoveMenu in interface MainFramemenu - The menu to delete from the menu barpublic void addMenu(Menu menu, java.awt.event.ActionListener listener, PluginClassLoader loader)
MainFramepublic void changeMenuName(java.lang.String[] menu,
java.lang.String newName,
PluginClassLoader loader)
MainFramechangeMenuName in interface MainFramemenu - An array of Strings which represents the full menu path,
for example, {"Vista", "export", "imagen"} is a reference to the menu
"Vista/export/imagen" (that is, the menu Image within the submenu
View-Export). Menu names are translation keys, "Vista", "export", etc will
be translated to the suitable language when they are displayed.newName - New menu's name, in the syntax "Vista/export/symbols". Each
part of the name is a translation key.loader - ClassLoader of the plug-in that added the menupublic void componentHidden(java.awt.event.ComponentEvent arg0)
componentHidden in interface java.awt.event.ComponentListenerpublic void componentMoved(java.awt.event.ComponentEvent arg0)
componentMoved in interface java.awt.event.ComponentListenerpublic void componentResized(java.awt.event.ComponentEvent arg0)
componentResized in interface java.awt.event.ComponentListenerpublic void componentShown(java.awt.event.ComponentEvent arg0)
componentShown in interface java.awt.event.ComponentListenerpublic void componentAdded(java.awt.event.ContainerEvent arg0)
componentAdded in interface java.awt.event.ContainerListenerpublic void componentRemoved(java.awt.event.ContainerEvent arg0)
componentRemoved in interface java.awt.event.ContainerListenerpublic java.lang.String getTitlePrefix()
public void setTitlePrefix(java.lang.String titlePrefix)
public java.util.Map getSelectedTools()
public java.util.HashMap getInitialSelectedTools()
public javax.swing.JComponent getComponentByName(java.lang.String name)
getComponentByName in interface MainFramename - public SelectableToolBar[] getToolbars()
MainFramegetToolbars in interface MainFramepublic boolean getToolbarVisibility(java.lang.String name)
MainFramegetToolbarVisibility in interface MainFramename - The toolbar's namepublic boolean setToolbarVisibility(java.lang.String name,
boolean visibility)
MainFramesetToolbarVisibility in interface MainFramename - The toolbar's name.public javax.swing.JMenuItem getMenuEntry(java.lang.String[] menuPath)
MainFramegetMenuEntry in interface MainFramemenuPath - The menu path to the menu entry that we want to
retrieve. For example, if we want to retrieve the menu entry
corresponding to the XML menu "Layer/Export/Export_to_PDF" we
will provide an array containing ["Layer", "Export", "Export_to_PDF"].javax.swing.JMenuItem,
javax.swing.JMenu or
com.iver.andami.ui.mdiFrame.JMenuItem.public void messageDialog(java.lang.String message,
java.lang.String title,
int messageType)
ThreadSafeDialogsManagermessageDialog in interface ThreadSafeDialogsManagermessage - to present in the dialogtitle - title of the dialogmessageType - type of icon to use.JOptionPane.showMessageDialog(Component, Object, String, int)public void messageDialog(java.lang.String message,
java.lang.String[] messageArgs,
java.lang.String title,
int messageType)
ThreadSafeDialogsManagermessageDialog in interface ThreadSafeDialogsManagermessage - to present in the dialogmessageArgs - string array of arguments used to format the messagetitle - title of the dialogmessageType - type of icon to use.JOptionPane.showMessageDialog(Component, Object, String, int)public void messageDialog(java.lang.String message,
java.lang.String[] messageArgs,
java.lang.String title,
int messageType,
java.lang.String msgid)
messageDialog in interface ThreadSafeDialogsmessageDialog in interface ThreadSafeDialogsManagerpublic int confirmDialog(java.lang.String message,
java.lang.String title,
int optionType,
int messageType)
ThreadSafeDialogsManagerconfirmDialog in interface ThreadSafeDialogsManagerJOptionPane.showConfirmDialog(Component, Object, String, int, int)public int confirmDialog(java.lang.String message,
java.lang.String title,
int optionType,
int messageType,
java.lang.String msgid)
confirmDialog in interface ThreadSafeDialogsconfirmDialog in interface ThreadSafeDialogsManagerpublic java.lang.String inputDialog(java.lang.String message,
java.lang.String title,
int messageType,
java.lang.String initialValue)
ThreadSafeDialogsManagerinputDialog in interface ThreadSafeDialogsManagermessageType - an integer designating the kind of message this is;
primarily used to determine the icon from the pluggable
Look and Feel: ERROR_MESSAGE, INFORMATION_MESSAGE,
WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGEJOptionPane.showInputDialog(Component, Object, String, int)public java.lang.String inputDialog(java.lang.String message,
java.lang.String title)
ThreadSafeDialogsManagerinputDialog in interface ThreadSafeDialogsManagerJOptionPane.showInputDialog(Component, Object, String, int)public void showDialog(java.awt.Component contents,
java.lang.String title)
ThreadSafeDialogsshowDialog in interface ThreadSafeDialogspublic java.awt.Component createComponent(java.lang.Class<? extends java.awt.Component> theClass,
java.lang.Object... parameters)
ThreadSafeDialogsManagercreateComponent in interface ThreadSafeDialogsManagertheClass - of component to be createdparameters - passed to the constructor of the componentpublic java.awt.Component createComponentWithParams(java.lang.Class<? extends java.awt.Component> theClass,
java.lang.Object[] parameters)
ThreadSafeDialogsManagercreateComponentWithParams in interface ThreadSafeDialogsManagertheClass - of component to be createdparameters - passed to the constructor of the componentpublic java.io.File[] showChooserDialog(java.lang.String title,
int type,
int selectionMode,
boolean multiselection,
java.io.File initialPath,
javax.swing.filechooser.FileFilter filter,
boolean fileHidingEnabled)
ThreadSafeDialogsManagershowChooserDialog in interface ThreadSafeDialogsManagertype - of the dialog, JFileChooser.SAVE_DIALOG or JFileChooser.OPEN_DIALOGselectionMode - of the dialog, values are: JFileChooser.FILES_ONLY, JFileChooser.DIRECTORIES_ONLY, JFileChooser.FILES_AND_DIRECTORIESfilter - used to filter the files show in the dialog.public <any> showChooserDialog(java.lang.String title,
int type,
int selectionMode,
boolean multiselection,
java.io.File initialPath,
javax.swing.filechooser.FileFilter filter,
boolean fileHidingEnabled,
boolean askCharset)
ThreadSafeDialogsManagershowChooserDialog in interface ThreadSafeDialogsManagertype - of the dialog, JFileChooser.SAVE_DIALOG or JFileChooser.OPEN_DIALOGselectionMode - of the dialog, values are: JFileChooser.FILES_ONLY, JFileChooser.DIRECTORIES_ONLY, JFileChooser.FILES_AND_DIRECTORIESfilter - used to filter the files show in the dialog.public java.io.File[] showChooserDialog(java.lang.String title,
int type,
int selectionMode,
boolean multiselection,
java.io.File initialPath,
javax.swing.filechooser.FileFilter filter,
boolean fileHidingEnabled,
javax.swing.JComponent accesory)
showChooserDialog in interface ThreadSafeDialogsManagerpublic java.io.File[] showOpenDirectoryDialog(java.lang.String title,
java.io.File initialPath)
ThreadSafeDialogsManagershowOpenDirectoryDialog in interface ThreadSafeDialogsManagerThreadSafeDialogsManager.showChooserDialog(String, int, int, boolean, File, FileFilter, boolean)public java.io.File[] showOpenFileDialog(java.lang.String title,
java.io.File initialPath)
ThreadSafeDialogsManagerThreadSafeDialogsManager.showChooserDialog(String, int, int, boolean, File, FileFilter, boolean) call.showOpenFileDialog in interface ThreadSafeDialogsManagerThreadSafeDialogsManager.showChooserDialog(String, int, int, boolean, File, FileFilter, boolean)public java.io.File[] showSaveFileDialog(java.lang.String title,
java.io.File initialPath)
ThreadSafeDialogsManagerThreadSafeDialogsManager.showChooserDialog(String, int, int, boolean, File, FileFilter, boolean) call.showSaveFileDialog in interface ThreadSafeDialogsManagerThreadSafeDialogsManager.showChooserDialog(String, int, int, boolean, File, FileFilter, boolean)