A C D F G H I L M O P R S T U

A

AbstractScreenPositioner - Class in org.fuin.utils4swing.common
Base class for FramePositioner implementations.
AbstractScreenPositioner(int, int) - Constructor for class org.fuin.utils4swing.common.AbstractScreenPositioner
Constructor with an offset.

C

cancel() - Method in class org.fuin.utils4swing.dialogs.DirectorySelector
The user canceled the dialog.
canceled() - Method in interface org.fuin.utils4swing.dialogs.DirectorySelectorListener
The user canceled the selection.
CanceledException - Exception in org.fuin.utils4swing.dialogs
The user canceled an operation.
CanceledException() - Constructor for exception org.fuin.utils4swing.dialogs.CanceledException
 
checkMaxSize(Dimension, Dimension) - Method in class org.fuin.utils4swing.common.AbstractScreenPositioner
Adjusts the width and height of the fraem if it's greater than the screen.
close() - Method in class org.fuin.utils4swing.dialogs.DirectorySelector
Close the frame and free all resources.
close() - Method in class org.fuin.utils4swing.progress.FileCopyProgressInputStream
close() - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Close the frame and free all resources.
createShowAndPosition(String, Container, boolean, FramePositioner) - Static method in class org.fuin.utils4swing.common.Utils4Swing
Create a new resizeable frame with a panel as it's content pane and position the frame.
createShowAndPosition(String, Container, boolean, boolean, FramePositioner) - Static method in class org.fuin.utils4swing.common.Utils4Swing
 

D

DirectorySelectionPanel - Class in org.fuin.utils4swing.dialogs
Panel for directory selection.
DirectorySelectionPanel(DirectorySelector) - Constructor for class org.fuin.utils4swing.dialogs.DirectorySelectionPanel
This is the constructor with parent.
DirectorySelector - Class in org.fuin.utils4swing.dialogs
Helper class for selecting a directory.
DirectorySelector(String, String, DirectorySelectorListener) - Constructor for class org.fuin.utils4swing.dialogs.DirectorySelector
Constructor with title and start directory.
DirectorySelector(String, String, boolean, DirectorySelectorListener) - Constructor for class org.fuin.utils4swing.dialogs.DirectorySelector
Constructor with title and start directory.
DirectorySelector.Result - Class in org.fuin.utils4swing.dialogs
Immutable directory selection result.
DirectorySelector.Result(String, boolean) - Constructor for class org.fuin.utils4swing.dialogs.DirectorySelector.Result
Constructor with directory and subdirectory inclusion.
DirectorySelectorListener - Interface in org.fuin.utils4swing.dialogs
Listener for the result of selecting a directory.

F

FileCopyProgressInputStream - Class in org.fuin.utils4swing.progress
Updates the attached FileCopyProgressMonitor while bytes are read.
FileCopyProgressInputStream(FileCopyProgressListener, InputStream, int) - Constructor for class org.fuin.utils4swing.progress.FileCopyProgressInputStream
Constructor with monitor, stream and file size.
FileCopyProgressListener - Interface in org.fuin.utils4swing.progress
Gets informed about file copy progress.
FileCopyProgressMonitor - Class in org.fuin.utils4swing.progress
A class to monitor the progress of a copying a list of files using frame.
FileCopyProgressMonitor(Cancelable, String, int) - Constructor for class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Constructor with basic arguments.
FileCopyProgressMonitor(Cancelable, String, String, String, String, int) - Constructor for class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Constructor with basic arguments.
FileCopyProgressPanel - Class in org.fuin.utils4swing.progress
A progress panel with two progress bars: One for the number of processed files and a second for the number of transferred bytes for the current file.
FileCopyProgressPanel() - Constructor for class org.fuin.utils4swing.progress.FileCopyProgressPanel
No arguments Constructor.
findRootPaneContainer(Component) - Static method in class org.fuin.utils4swing.common.Utils4Swing
Find the root pane container in the current hierarchy.
finished(String, boolean) - Method in interface org.fuin.utils4swing.dialogs.DirectorySelectorListener
The user finished the selection successfully.
FramePositioner - Interface in org.fuin.utils4swing.common
Positions a frame at a special position on the screen or desktop.

G

getButtonCancel() - Method in class org.fuin.utils4swing.dialogs.DirectorySelectionPanel
Returns the 'Cancel' button for usage as default button.
getButtonOK() - Method in class org.fuin.utils4swing.dialogs.DirectorySelectionPanel
Returns the 'OK' button for usage as default button.
getCancelable() - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
The unit that gets notified when the user presses the "cancel" button - If null the "cancel" button is disabled.
getCurrentByte() - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Returns the byte counter.
getCurrentFile() - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Returns the file counter.
getCursor() - Method in class org.fuin.utils4swing.common.Utils4Swing.GlassPaneState
Cursor of the glass pane before it was shown.
getDestLabelText() - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Returns the text for the "destination" label.
getDirectory() - Method in class org.fuin.utils4swing.dialogs.DirectorySelectionPanel
Returns the currently selected directory.
getDirectory() - Method in class org.fuin.utils4swing.dialogs.DirectorySelector.Result
Selected directory.
getFileMax() - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Return the total number of files to be copied.
getFocusOwner() - Method in class org.fuin.utils4swing.common.Utils4Swing.GlassPaneState
Owner of the focus before the glass pane was shown.
getGlassPane() - Method in class org.fuin.utils4swing.common.Utils4Swing.GlassPaneState
Glass pane.
getHeightOffset() - Method in class org.fuin.utils4swing.common.AbstractScreenPositioner
Returns the height.
getMouseListener() - Method in class org.fuin.utils4swing.common.Utils4Swing.GlassPaneState
Mouse listener to remove from the glass pane.
getSrcLabelText() - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Returns the text for the "source" label.
getTitle() - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Returns the title for the panel and frame.
getTransferText() - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Returns the text for the "file transfer" (Example: "Transferring file $N of $M...").
getWidthOffset() - Method in class org.fuin.utils4swing.common.AbstractScreenPositioner
Returns the width.

H

hideGlassPane(Utils4Swing.GlassPaneState) - Static method in class org.fuin.utils4swing.common.Utils4Swing
Hides the glass pane and restores the saved state.

I

initLookAndFeel(String) - Static method in class org.fuin.utils4swing.common.Utils4Swing
Initializes the look and feel and wraps exceptions into a runtime exception.
initSystemLookAndFeel() - Static method in class org.fuin.utils4swing.common.Utils4Swing
Initializes the system look and feel and wraps exceptions into a runtime exception.If this method is called outside the EDT it will switch automatically to the UI thread using invokeAndWait(Runnable) .
isCanceled() - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Returns if the monitor was canceled.
isIncludeSubdirs() - Method in class org.fuin.utils4swing.dialogs.DirectorySelectionPanel
Returns if sub directories should be included.
isIncludeSubdirs() - Method in class org.fuin.utils4swing.dialogs.DirectorySelector.Result
Returns if sub directories should be included.

L

loadIcon(Class, String) - Static method in class org.fuin.utils4swing.common.Utils4Swing
Load an icon located in the same package as a given class.

M

main(String[]) - Static method in class org.fuin.utils4swing.dialogs.DirectorySelector
Starts the selector for a test.
main(String[]) - Static method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Main method to test the monitor.
main(String[]) - Static method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Main method to test the panel.

O

ok() - Method in class org.fuin.utils4swing.dialogs.DirectorySelector
The dialog was successfully finished.
open() - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Show the monitor dialog.If called outside the EDT this method will switch to the UI thread using SwingUtilities.invokeAndWait(Runnable).
org.fuin.utils4swing.common - package org.fuin.utils4swing.common
Common helper classes for use in Swing applications and libraries.
org.fuin.utils4swing.dialogs - package org.fuin.utils4swing.dialogs
Common dialogs useful in typical Swing applications.
org.fuin.utils4swing.progress - package org.fuin.utils4swing.progress
Enhanced version of the well known ProgressMonitor with two progress bars instead of one.
org.fuin.utils4swing.threadsafe - package org.fuin.utils4swing.threadsafe
Standard Swing controls that can be used safely from other threads without violating the "Single Thread Rule".

P

position(JFrame) - Method in interface org.fuin.utils4swing.common.FramePositioner
Set the frame's position to a new location.
position(JFrame) - Method in class org.fuin.utils4swing.common.ScreenCenterPositioner
Set the frame's position to a new location.
position(JFrame) - Method in class org.fuin.utils4swing.common.ScreenLeftLowerCornerPositioner
Set the frame's position to a new location.
position(JFrame) - Method in class org.fuin.utils4swing.common.ScreenLeftUpperCornerPositioner
Set the frame's position to a new location.
position(JFrame) - Method in class org.fuin.utils4swing.common.ScreenRightLowerCornerPositioner
Set the frame's position to a new location.
position(JFrame) - Method in class org.fuin.utils4swing.common.ScreenRightUpperCornerPositioner
Set the frame's position to a new location.

R

read() - Method in class org.fuin.utils4swing.progress.FileCopyProgressInputStream
read(byte[]) - Method in class org.fuin.utils4swing.progress.FileCopyProgressInputStream
read(byte[], int, int) - Method in class org.fuin.utils4swing.progress.FileCopyProgressInputStream
reset() - Method in class org.fuin.utils4swing.progress.FileCopyProgressInputStream

S

ScreenCenterPositioner - Class in org.fuin.utils4swing.common
Centers a frame on the Desktop.
ScreenCenterPositioner() - Constructor for class org.fuin.utils4swing.common.ScreenCenterPositioner
Default constructor.
ScreenCenterPositioner(int, int) - Constructor for class org.fuin.utils4swing.common.ScreenCenterPositioner
Constructor with an offset.
ScreenLeftLowerCornerPositioner - Class in org.fuin.utils4swing.common
Move a frame to the lower right corner of the desktop.
ScreenLeftLowerCornerPositioner() - Constructor for class org.fuin.utils4swing.common.ScreenLeftLowerCornerPositioner
Default constructor.
ScreenLeftLowerCornerPositioner(int, int) - Constructor for class org.fuin.utils4swing.common.ScreenLeftLowerCornerPositioner
Constructor with an offset.
ScreenLeftUpperCornerPositioner - Class in org.fuin.utils4swing.common
Move a frame to the lower right corner of the desktop.
ScreenLeftUpperCornerPositioner() - Constructor for class org.fuin.utils4swing.common.ScreenLeftUpperCornerPositioner
Default constructor.
ScreenLeftUpperCornerPositioner(int, int) - Constructor for class org.fuin.utils4swing.common.ScreenLeftUpperCornerPositioner
Constructor with an offset.
ScreenRightLowerCornerPositioner - Class in org.fuin.utils4swing.common
Move a frame to the lower right corner of the desktop.
ScreenRightLowerCornerPositioner() - Constructor for class org.fuin.utils4swing.common.ScreenRightLowerCornerPositioner
Default constructor.
ScreenRightLowerCornerPositioner(int, int) - Constructor for class org.fuin.utils4swing.common.ScreenRightLowerCornerPositioner
Constructor with an offset.
ScreenRightUpperCornerPositioner - Class in org.fuin.utils4swing.common
Move a frame to the lower right corner of the desktop.
ScreenRightUpperCornerPositioner() - Constructor for class org.fuin.utils4swing.common.ScreenRightUpperCornerPositioner
Default constructor.
ScreenRightUpperCornerPositioner(int, int) - Constructor for class org.fuin.utils4swing.common.ScreenRightUpperCornerPositioner
Constructor with an offset.
selectDirectory(String, String) - Static method in class org.fuin.utils4swing.dialogs.DirectorySelector
Blocks the current thread and waits for the result of the selection dialog.
selectDirectory(String, String, boolean) - Static method in class org.fuin.utils4swing.dialogs.DirectorySelector
Blocks the current thread and waits for the result of the selection dialog.
setCancelable(Cancelable) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Sets the listener to inform about the user cancelling the current transfer.
setCurrentByte(int) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Set the number of the current byte transferred.
setCurrentFile(int) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Set the number of the current file.
setDestFile(String) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Set the name of the destination file currently copied.If called outside the EDT this method will switch to the UI thread using SwingUtilities.invokeLater(Runnable).
setDestText(String) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Set the text for the "Destination" label.
setDirectory(String) - Method in class org.fuin.utils4swing.dialogs.DirectorySelectionPanel
Set the directory.
setIncludeSubdirsVisible(boolean) - Method in class org.fuin.utils4swing.dialogs.DirectorySelectionPanel
Set the "Include subdirectories" checkbox visible.
setMaxByte(int) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Set the number of max bytes transferred.If called outside the EDT this method will switch to the UI thread using SwingUtilities.invokeLater(Runnable).
setMaxFile(int) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Set the number of the max file.If called outside the EDT this method will switch to the UI thread using SwingUtilities.invokeLater(Runnable).
setSourceFile(String) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Sets the name of the source file currently copied.If called outside the EDT this method will switch to the UI thread using SwingUtilities.invokeLater(Runnable).
setSourceText(String) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Set the text for the "Source" label.
setTitle(String) - Method in class org.fuin.utils4swing.dialogs.DirectorySelectionPanel
Set the title.
setTitle(String) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Sets the title inside the panel.
setTransferText(String) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Set the transfer text.
show() - Method in class org.fuin.utils4swing.dialogs.DirectorySelector
Show the monitor dialog.If called outside the EDT this method will switch to the UI thread using SwingUtilities.invokeAndWait(Runnable).
showConfirmDialog(Component, Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up a dialog with the options Yes, No and Cancel; with the title, Select an Option.
showConfirmDialog(Component, Object, String, int) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up a dialog where the number of choices is determined by the optionType parameter.
showConfirmDialog(Component, Object, String, int, int) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up a dialog where the number of choices is determined by the optionType parameter, where the messageType parameter determines the icon to display.
showConfirmDialog(Component, Object, String, int, int, Icon) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up a dialog with a specified icon, where the number of choices is determined by the optionType parameter.
showGlassPane(Component) - Static method in class org.fuin.utils4swing.common.Utils4Swing
Makes the glass pane visible and focused and stores the saves the current state.
showInputDialog(Component, Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Shows a question-message dialog requesting input from the user parented to parentComponent.
showInputDialog(Component, Object, Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Shows a question-message dialog requesting input from the user and parented to parentComponent.
showInputDialog(Component, Object, String, int) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Shows a dialog requesting input from the user parented to parentComponent with the dialog having the title title and message type messageType.
showInputDialog(Component, Object, String, int, Icon, Object[], Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Prompts the user for input in a blocking dialog where the initial selection, possible selections, and all other options can be specified.
showInputDialog(Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Shows a question-message dialog requesting input from the user.
showInputDialog(Object, Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Shows a question-message dialog requesting input from the user, with the input value initialized to initialSelectionValue.
showInternalConfirmDialog(Component, Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up an internal dialog panel with the options Yes, No and Cancel; with the title, Select an Option.
showInternalConfirmDialog(Component, Object, String, int) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up a internal dialog panel where the number of choices is determined by the optionType parameter.
showInternalConfirmDialog(Component, Object, String, int, int) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up an internal dialog panel where the number of choices is determined by the optionType parameter, where the messageType parameter determines the icon to display.
showInternalConfirmDialog(Component, Object, String, int, int, Icon) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up an internal dialog panel with a specified icon, where the number of choices is determined by the optionType parameter.
showInternalInputDialog(Component, Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Shows an internal question-message dialog requesting input from the user parented to parentComponent.
showInternalInputDialog(Component, Object, String, int) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Shows an internal dialog requesting input from the user parented to parentComponent with the dialog having the title title and message type messageType.
showInternalInputDialog(Component, Object, String, int, Icon, Object[], Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Prompts the user for input in a blocking internal dialog where the initial selection, possible selections, and all other options can be specified.
showInternalMessageDialog(Component, Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up an internal confirmation dialog panel.
showInternalMessageDialog(Component, Object, String, int) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up an internal dialog panel that displays a message using a default icon determined by the messageType parameter.
showInternalMessageDialog(Component, Object, String, int, Icon) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up an internal dialog panel displaying a message, specifying all parameters.
showInternalOptionDialog(Component, Object, String, int, int, Icon, Object[], Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up an internal dialog panel with a specified icon, where the initial choice is determined by the initialValue parameter and the number of choices is determined by the optionType parameter.
showMessageDialog(Component, Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up an information-message dialog titled "Message".
showMessageDialog(Component, Object, String, int) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up a dialog that displays a message using a default icon determined by the messageType parameter.
showMessageDialog(Component, Object, String, int, Icon) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up a dialog displaying a message, specifying all parameters.
showOptionDialog(Component, Object, String, int, int, Icon, Object[], Object) - Static method in class org.fuin.utils4swing.threadsafe.ThreadSafeJOptionPane
Brings up a dialog with a specified icon, where the initial choice is determined by the initialValue parameter and the number of choices is determined by the optionType parameter.
skip(long) - Method in class org.fuin.utils4swing.progress.FileCopyProgressInputStream

T

ThreadSafeJOptionPane - Class in org.fuin.utils4swing.threadsafe
1:1 version of JOptionPane for usage outside the EDT.

U

updateByte(int) - Method in interface org.fuin.utils4swing.progress.FileCopyProgressListener
Updates the current byte number of the file transferred.
updateByte(int) - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Updates the current byte number of the file transferred.If called outside the EDT this method will switch to the UI thread using SwingUtilities.invokeLater(Runnable).
updateFile(String, String, int, int) - Method in interface org.fuin.utils4swing.progress.FileCopyProgressListener
A new file transfer started.
updateFile(String, String, int, int) - Method in class org.fuin.utils4swing.progress.FileCopyProgressMonitor
Starts a new file being transferred.If called outside the EDT this method will switch to the UI thread using SwingUtilities.invokeLater(Runnable).
updateFile(String, String, int, int) - Method in class org.fuin.utils4swing.progress.FileCopyProgressPanel
Set the file information for the currently transferred file.
Utils4Swing - Class in org.fuin.utils4swing.common
Common utility methods for use in Swing applications and libraries.
Utils4Swing.GlassPaneState - Class in org.fuin.utils4swing.common
State of the UI before showing a glass pane.
Utils4Swing.GlassPaneState(Component, MouseListener, Component, Cursor) - Constructor for class org.fuin.utils4swing.common.Utils4Swing.GlassPaneState
Constructor with all data.

A C D F G H I L M O P R S T U

Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.