public class DownloadManagerDialog extends JDialog implements DownloadListChangedListener
JDialog.AccessibleJDialogDialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityTypeWindow.AccessibleAWTWindow, Window.TypeContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyaccessibleContext, rootPane, rootPaneCheckingEnabledDEFAULT_MODALITY_TYPEBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Modifier and Type | Method and Description |
|---|---|
static void |
close()
Deprecated.
use getInstance().closeWindow() instead
|
void |
closeWindow()
Closes the DownloadManagerDialog.
|
void |
destinationDirectoryChanged()
DOCUMENT ME!
|
void |
downloadListChanged(DownloadListChangedEvent event)
Opens a file manager pointing to the destination directory for downloads.
|
static DownloadManagerDialog |
getInstance()
DOCUMENT ME!
|
static String |
getJobname()
Deprecated.
use getInstance().getJobName() instead
|
String |
getJobName()
Returns the jobname.
|
static DownloadManagerDialog |
instance(Component parent)
Deprecated.
Use getInstance() instead.
|
static DownloadManagerDialog |
instance(Frame parent)
Deprecated.
Use getInstance() instead.
|
static boolean |
isAskForJobname()
Deprecated.
use getInstance().isAskForJobNameEnabled() instead
|
boolean |
isAskForJobNameEnabled()
If the user wants to be asked for a jobname.
|
static boolean |
isCloseAutomatically()
Deprecated.
use getInstance().isCloseAutomaticallyEnabled() instead
|
boolean |
isCloseAutomaticallyEnabled()
If the user the DownloadManagerDialog to close automatically.
|
static boolean |
isJobnameConfirmed()
Deprecated.
use getInstance().isJobNameConfirmed() instead
|
boolean |
isJobNameConfirmed()
DOCUMENT ME!
|
static boolean |
isOpenAutomatically()
Deprecated.
use getInstance().isOpenAutomaticallyEnabled() instead
|
boolean |
isOpenAutomaticallyEnabled()
If the user wants the last download to be opened automatically.
|
static void |
setAskForJobname(boolean askForJobname)
Deprecated.
use getInstance().setAskForJobNameEnabled(askForJobname) instead
|
void |
setAskForJobNameEnabled(boolean askForJobNameEnabled)
Sets the flag whether the user wants to be asked for a jobname.
|
static void |
setCloseAutomatically(boolean closeAutomatically)
Deprecated.
use getInstance().setCloseAutomaticallyEnabled(closeAutomatically) instead
|
void |
setCloseAutomaticallyEnabled(boolean closeAutomaticallyEnabled)
Sets the flag whether the user wants the DownloadManagerDialog to close automatically.
|
static void |
setJobname(String jobname)
Deprecated.
use getInstance().setJobName(jobname) instead
|
void |
setJobName(String jobName)
Sets the jobname.
|
static void |
setJobnameConfirmed(boolean isJobNameConfirmed)
Deprecated.
use getInstance().setJobNameConfirmed(isJobnameConfirmed) instead
|
void |
setJobNameConfirmed(boolean jobNameConfirmed)
DOCUMENT ME!
|
static void |
setOpenAutomatically(boolean openAutomatically)
Deprecated.
use getInstance().setOpenAutomaticallyEnabled(openAutomatically) instead
|
void |
setOpenAutomaticallyEnabled(boolean openAutomaticallyEnabled)
Sets the flag whether the user wants the last download to be opened automatically.
|
static void |
show(Component parent)
If no download manager dialog exists, this method will instantiate and display a download manager dialog.
|
static boolean |
showAskingForUserTitle(Component parent)
Deprecated.
use getInstance().showAskingForUserTitleDialog(Component) instead.
|
static boolean |
showAskingForUserTitle(Frame parent)
Deprecated.
use getInstance().showAskingForUserTitleDialog(Component) instead.
|
boolean |
showAskingForUserTitleDialog(Component parent)
DOCUMENT ME!
|
static void |
showExceptionDialog(Download download)
Deprecated.
use getInstance().showTheExceptionDialog(download) instead
|
void |
showTheExceptionDialog(Download download)
Shows an exception dialog which visualizes the exception provided by download.getCaughtException().
|
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, 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, processEvent, processWindowFocusEvent, processWindowStateEvent, 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, 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, remove, 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, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static DownloadManagerDialog getInstance()
public static DownloadManagerDialog instance(Frame parent)
parent - The parent frame of this dialog.public static DownloadManagerDialog instance(Component parent)
parent - The parent frame of this dialog.public static void show(Component parent)
parent - The parent frame of this dialog.public static boolean showAskingForUserTitle(Frame parent)
parent - The parent frame.public boolean showAskingForUserTitleDialog(Component parent)
parent - DOCUMENT ME!public static boolean showAskingForUserTitle(Component parent)
parent - The parent frame.public static void showExceptionDialog(Download download)
download - DOCUMENT ME!public void showTheExceptionDialog(Download download)
download - The erroneous download.public static void close()
public void closeWindow()
public static String getJobname()
public static void setJobname(String jobname)
jobname - DOCUMENT ME!public static boolean isAskForJobname()
public static void setAskForJobname(boolean askForJobname)
askForJobname - DOCUMENT ME!public static boolean isOpenAutomatically()
public static void setOpenAutomatically(boolean openAutomatically)
openAutomatically - DOCUMENT ME!public static boolean isCloseAutomatically()
public static void setCloseAutomatically(boolean closeAutomatically)
closeAutomatically - DOCUMENT ME!public static boolean isJobnameConfirmed()
public static void setJobnameConfirmed(boolean isJobNameConfirmed)
isJobNameConfirmed - DOCUMENT ME!public void destinationDirectoryChanged()
public String getJobName()
public void setJobName(String jobName)
jobName - The jobname.public boolean isAskForJobNameEnabled()
public void setAskForJobNameEnabled(boolean askForJobNameEnabled)
askForJobNameEnabled - The flag whether the user wants to be asked for a jobname.public boolean isOpenAutomaticallyEnabled()
public void setOpenAutomaticallyEnabled(boolean openAutomaticallyEnabled)
openAutomaticallyEnabled - The flag whether the user wants the last download to be opened automatically.public boolean isCloseAutomaticallyEnabled()
public void setCloseAutomaticallyEnabled(boolean closeAutomaticallyEnabled)
closeAutomaticallyEnabled - The flag whether the user wants the DownloadManagerDialog to close
automatically.public boolean isJobNameConfirmed()
public void setJobNameConfirmed(boolean jobNameConfirmed)
jobNameConfirmed - DOCUMENT ME!public void downloadListChanged(DownloadListChangedEvent event)
downloadListChanged in interface DownloadListChangedListenerevent - The event object.Copyright © 2012–2026 cismet GmbH. All rights reserved.