Index

A B C D E F G H I L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

aboutRequested() - Method in interface org.pepsoft.util.MacUtils.AboutHandler
Invoked when the user has requested to view the About screen.
actionPerformed(ActionEvent) - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
actionPerformed(ActionEvent) - Method in class org.pepsoft.util.swing.ProgressComponent
 
addButton(JButton) - Method in class org.pepsoft.util.swing.MultiProgressComponent
Add a JButton to the panel, to the left of the Cancel button.
addOverlay(String, int, Component, BufferedImage) - Method in class org.pepsoft.util.swing.TiledImageViewer
Add an overlay.
addTileListener(TileListener) - Method in interface org.pepsoft.util.swing.TileProvider
Register a tile listener which will be notified if the contents of a tile change.
adjustmentValueChanged(AdjustmentEvent) - Method in class org.pepsoft.util.swing.TiledImageViewerContainer
 
ADVANCED_SETTING_MAX_TILE_RENDER_THREADS - Static variable in class org.pepsoft.util.swing.TiledImageViewer
 
AwtUtils - Class in org.pepsoft.util
Utility methods for working with the AWT.
AwtUtils() - Constructor for class org.pepsoft.util.AwtUtils
 

B

beep() - Static method in class org.pepsoft.util.DesktopUtils
Sound a beep, bell or other kind of audible alert, if supported by the desktop system.
beepAndShowError(Component, String, String) - Static method in class org.pepsoft.util.swing.MessageUtils
 
beepAndShowWarning(Component, String, String) - Static method in class org.pepsoft.util.swing.MessageUtils
 
BetterAction - Class in org.pepsoft.util.swing
 
BetterAction(String) - Constructor for class org.pepsoft.util.swing.BetterAction
 
BetterAction(String, Icon) - Constructor for class org.pepsoft.util.swing.BetterAction
 
BetterJPopupMenu - Class in org.pepsoft.util.swing
 
BetterJPopupMenu() - Constructor for class org.pepsoft.util.swing.BetterJPopupMenu
 
BetterJPopupMenu(String) - Constructor for class org.pepsoft.util.swing.BetterJPopupMenu
 

C

cancelled() - Method in interface org.pepsoft.util.swing.ProgressComponent.Listener
 
cancelled() - Method in class org.pepsoft.util.swing.ProgressDialog
 
CENTRE - Enum constant in enum class org.pepsoft.util.swing.TiledImageViewer.BackgroundImageMode
 
CENTRE_REPEAT - Enum constant in enum class org.pepsoft.util.swing.TiledImageViewer.BackgroundImageMode
 
checkForCancellation() - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
checkForCancellation() - Method in class org.pepsoft.util.swing.ProgressComponent
 
checkForCancellation() - Method in class org.pepsoft.util.TaskbarProgressReceiver
 
clone() - Method in class org.pepsoft.util.swing.TiledImageViewer
Create clone of this tiled image viewer with a copy of the current tile providers and tile provider caches, so that it can immediately display the same content, but then behave independently with regard to zooming and panning.
clone(BufferedImage) - Static method in class org.pepsoft.util.ImageUtils
Create a deep copy of a BufferedImage.
componentHidden(ComponentEvent) - Method in class org.pepsoft.util.swing.ProgressDialog
 
componentHidden(ComponentEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
componentMoved(ComponentEvent) - Method in class org.pepsoft.util.swing.ProgressDialog
 
componentMoved(ComponentEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
componentResized(ComponentEvent) - Method in class org.pepsoft.util.swing.ProgressDialog
 
componentResized(ComponentEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
componentShown(ComponentEvent) - Method in class org.pepsoft.util.swing.ProgressDialog
 
componentShown(ComponentEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
copyToClipboard(String) - Static method in class org.pepsoft.util.DesktopUtils
Copy a string of text to the default system clipboard.
createColourSquare(int, int) - Static method in class org.pepsoft.util.ImageUtils
Create a square image of a specific size with a specific solid colour.
createScaledColourIcon(int) - Static method in class org.pepsoft.util.IconUtils
Create a 16x16 pixel icon of a solid colour.
createScaledLetterIcon(char, Color) - Static method in class org.pepsoft.util.IconUtils
 

D

DesktopUtils - Class in org.pepsoft.util
Utility methods for integrating into desktop environments.
doLaterOnEventThread(Runnable) - Static method in class org.pepsoft.util.AwtUtils
Schedule a task for later execution on the event dispatch thread and return immediately.
doLaterOnEventThread(String, int, Runnable) - Static method in class org.pepsoft.util.AwtUtils
Schedule a task for later execution on the event dispatch thread and return immediately.
done() - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
done() - Method in class org.pepsoft.util.swing.ProgressComponent
 
done() - Method in class org.pepsoft.util.TaskbarProgressReceiver
 
done(T) - Method in interface org.pepsoft.util.swing.ProgressComponent.Listener
 
done(T) - Method in class org.pepsoft.util.swing.ProgressDialog
 
doOnEventThread(Runnable) - Static method in class org.pepsoft.util.AwtUtils
Execute a task on the even dispatch thread.
doOnEventThreadAndWait(Runnable) - Static method in class org.pepsoft.util.AwtUtils
Execute a task on the even dispatch thread and wait for it to finish.

E

exceptionThrown(Throwable) - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
exceptionThrown(Throwable) - Method in class org.pepsoft.util.swing.ProgressComponent
 
exceptionThrown(Throwable) - Method in interface org.pepsoft.util.swing.ProgressComponent.Listener
 
exceptionThrown(Throwable) - Method in class org.pepsoft.util.swing.ProgressDialog
 
exceptionThrown(Throwable) - Method in class org.pepsoft.util.TaskbarProgressReceiver
 
execute(ProgressReceiver) - Method in interface org.pepsoft.util.swing.ProgressTask
Perform the task, optionally reporting progress to a progress receiver and optionally returning a value.
executeTask(Window, String, Callable<T>, ProgressDialog.Option...) - Static method in class org.pepsoft.util.swing.ProgressDialog
Execute a task in the background with progress reporting via a modal dialog with a progress bar.
executeTask(Window, ProgressTask<T>, ProgressDialog.Option...) - Static method in class org.pepsoft.util.swing.ProgressDialog
Execute a task in the background with progress reporting via a modal dialog with a progress bar.

F

filesOpened(List<File>) - Method in interface org.pepsoft.util.MacUtils.OpenFilesHandler
Invoked when the user has requested to open (a) file(s) associated with this application.
FIT - Enum constant in enum class org.pepsoft.util.swing.TiledImageViewer.BackgroundImageMode
 
FIT_REPEAT - Enum constant in enum class org.pepsoft.util.swing.TiledImageViewer.BackgroundImageMode
 
fromBytes(byte[]) - Static method in class org.pepsoft.util.ImageUtils
Deserialise an image previously serialised using ImageUtils.toBytes(RenderedImage) to a BufferedImage.

G

getAcceleratorKey() - Method in class org.pepsoft.util.swing.BetterAction
 
getBackgroundImage() - Method in class org.pepsoft.util.swing.TiledImageViewer
 
getBackgroundImageMode() - Method in class org.pepsoft.util.swing.TiledImageViewer
 
getCancelable() - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
getCancelable() - Method in class org.pepsoft.util.swing.ProgressComponent
 
getDocumentsFolder() - Static method in class org.pepsoft.util.DesktopUtils
Get the default documents folder of the current user.
getExtent() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the combined and zoom-corrected extent or main area of interest of all the tile providers, in component coordinates.
getExtent() - Method in interface org.pepsoft.util.swing.TileProvider
Get the coordinates of the "main area of interest" of this tile provider, if any, in tile coordinates and disregarding the current zoom level.
getGridColour() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the colour in which the grid is painted.
getGridSize() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the current size in image coordinates of the grid.
getLabelScale() - Method in class org.pepsoft.util.swing.TiledImageViewer
 
getListener() - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
getListener() - Method in class org.pepsoft.util.swing.ProgressComponent
 
getMarkerCoords() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the coordinates in image coordinates of the marker (displayed as a red crosshair), if configured.
getName() - Method in class org.pepsoft.util.swing.BetterAction
 
getName() - Method in interface org.pepsoft.util.swing.ProgressTask
Get the short descriptive name of the task.
getPicturesFolder() - Static method in class org.pepsoft.util.DesktopUtils
Get the default images folder of the current user.
getPreferredScrollableViewportSize() - Method in class org.pepsoft.util.swing.ScrollablePanel
 
getScrollableBlockIncrement(Rectangle, int, int) - Method in class org.pepsoft.util.swing.ScrollablePanel
 
getScrollableTracksViewportHeight() - Method in class org.pepsoft.util.swing.ScrollablePanel
 
getScrollableTracksViewportWidth() - Method in class org.pepsoft.util.swing.ScrollablePanel
 
getScrollableUnitIncrement(Rectangle, int, int) - Method in class org.pepsoft.util.swing.ScrollablePanel
 
getTask() - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
getTask() - Method in class org.pepsoft.util.swing.ProgressComponent
 
getTheme() - Static method in class org.pepsoft.util.IconUtils
 
getTileBounds(int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the bounds of a tile in component coordinates, taking the current zoom level into account.
getTileBounds(int, int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the bounds of a tile in component coordinates, taking a specific zoom level into account.
getTileBounds(int, int, int, int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the bounds of a rectangular area of tiles in component coordinates, taking a specific zoom level into account.
getTilePriority(int, int) - Method in interface org.pepsoft.util.swing.TileProvider
Get the priority with which a specific tile should be rendered.
getTileProviderCount() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the number of currently configured tile providers.
getTileProviders() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get an unmodifiable view of the currently configured list of tile providers.
getTileSize() - Method in interface org.pepsoft.util.swing.TileProvider
Get the width and height of tiles (which must be square) in pixels.
getUIScale() - Static method in class org.pepsoft.util.GUIUtils
How many times to scale pixel sizes to display at approximately the originally intended size for assets which were designed for 96 dpi screens.
getUIScaleInt() - Static method in class org.pepsoft.util.GUIUtils
How many times to scale pixel sizes to display at approximately the originally intended size for assets which were designed for 92-96 dpi screens.
getView() - Method in class org.pepsoft.util.swing.TiledImageViewerContainer
 
getViewListener() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the view listener.
getViewLocation() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the coordinate in image coordinates of the centre of the view.
getViewX() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the X coordinate in image coordinates of the centre of the view.
getViewY() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the Y coordinate in image coordinates of the centre of the view.
getVisibleArea() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the currently visible area in world coordinates.
getZoom() - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the current zoom level in powers of two.
getZoom() - Method in interface org.pepsoft.util.swing.TileProvider
Get the zoom as an exponent of two.
GUIUtils - Class in org.pepsoft.util
System properties you can set before this class is initialised:
GUIUtils() - Constructor for class org.pepsoft.util.GUIUtils
 

H

hierarchyChanged(HierarchyEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 

I

IconUtils - Class in org.pepsoft.util
Utility methods for loading and scaling images and icons, with automatic support for HiDPI displays.
ImageUtils - Class in org.pepsoft.util
 
ImageUtils() - Constructor for class org.pepsoft.util.ImageUtils
 
installAboutHandler(MacUtils.AboutHandler) - Static method in class org.pepsoft.util.MacUtils
When the user requests to view the About screen, invokes the specified handler on the event dispatch thread.
installOpenFilesHandler(MacUtils.OpenFilesHandler) - Static method in class org.pepsoft.util.MacUtils
When the user requests to open (a) file(s) associated with the application, invokes the specified handler on the event dispatch thread.
installPreferencesHandler(MacUtils.PreferencesHandler) - Static method in class org.pepsoft.util.MacUtils
 
installQuitHandler(MacUtils.QuitHandler) - Static method in class org.pepsoft.util.MacUtils
When the user requests to quit the application, invokes the specified handler on the event dispatch thread and allows the quit to proceed if it returns true or cancels it otherwise.
isInhibitUpdates() - Method in class org.pepsoft.util.swing.TiledImageViewer
 
isPaintGrid() - Method in class org.pepsoft.util.swing.TiledImageViewer
Determine whether the grid is currently painted.
isSelected() - Method in class org.pepsoft.util.swing.BetterAction
 
isTilePresent(int, int) - Method in interface org.pepsoft.util.swing.TileProvider
Determines, if possible, if there is a tile present at a specified location.
isTileVisible(int, int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Determine whether a tile is currently visible in the viewport.
isZoomSupported() - Method in interface org.pepsoft.util.swing.TileProvider
Indicates whether the tile provider implements zooming itself (when true) or whether the tile consumer should implement it (when false).

L

loadScaledIcon(ClassLoader, String) - Static method in class org.pepsoft.util.IconUtils
Load an icon from the classpath using a specific class loader.
loadScaledIcon(String) - Static method in class org.pepsoft.util.IconUtils
Load an icon from the classpath using the system class loader.
loadScaledImage(ClassLoader, String) - Static method in class org.pepsoft.util.IconUtils
Load an image from the classpath using a specific class loader.
loadScaledImage(String) - Static method in class org.pepsoft.util.IconUtils
Load an image from the classpath using the system class loader.
loadUnscaledIcon(String) - Static method in class org.pepsoft.util.IconUtils
Load an icon from the classpath using the system class loader.
loadUnscaledImage(String) - Static method in class org.pepsoft.util.IconUtils
Load an image from the classpath using the system class loader.

M

MacUtils - Class in org.pepsoft.util
Utility methods for integrating into the Mac OS X desktop environment.
MacUtils.AboutHandler - Interface in org.pepsoft.util
 
MacUtils.OpenFilesHandler - Interface in org.pepsoft.util
 
MacUtils.PreferencesHandler - Interface in org.pepsoft.util
 
MacUtils.QuitHandler - Interface in org.pepsoft.util
 
main(String[]) - Static method in class org.pepsoft.util.DesktopUtils
 
ManagesScale - Interface in org.pepsoft.util.swing
This is a marker interface for Swing components that managed their own scale, so should be skipped by the utility methods on the GUIUtils class.
markerX - Variable in class org.pepsoft.util.swing.TiledImageViewer
The image coordindates of the marker (if any) to paint as a red crosshair.
markerY - Variable in class org.pepsoft.util.swing.TiledImageViewer
The image coordindates of the marker (if any) to paint as a red crosshair.
MessageUtils - Class in org.pepsoft.util.swing
 
mouseClicked(MouseEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
mouseDragged(MouseEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
mouseEntered(MouseEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
mouseExited(MouseEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
mouseMoved(MouseEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
mousePressed(MouseEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
mouseReleased(MouseEvent) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
moveBy(int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Move the view by a number of pixels.
moveTo(int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Centre the view on a particular location in image coordinates.
moveTo(Point) - Method in class org.pepsoft.util.swing.TiledImageViewer
Centre the view on a particular location in image coordinates.
moveToMarker() - Method in class org.pepsoft.util.swing.TiledImageViewer
Centre the view on the currently configured marker.
moveToOrigin() - Method in class org.pepsoft.util.swing.TiledImageViewer
Centre the view on the image origin (coordinates 0,0).
MultiProgressComponent<T> - Class in org.pepsoft.util.swing
A component which can execute a task in the background, reporting its progress on a progress bar, displaying status messages from the task, and optionally allowing the user to cancel the task.
MultiProgressComponent() - Constructor for class org.pepsoft.util.swing.MultiProgressComponent
Creates a new ProgressComponent

N

NO_FOCUS_STEALING - Static variable in class org.pepsoft.util.swing.ProgressDialog
Option to pass to prevent the popup that opens while the task is running to display its progress, from stealing the keyboard focus.
NOT_CANCELABLE - Static variable in class org.pepsoft.util.swing.ProgressDialog
Option to pass to make the Cancel button inactive, forcing the user to wait until the task is completed.

O

open(File) - Static method in class org.pepsoft.util.DesktopUtils
Open a file in the associated application, or a directory in the default file manager.
open(URL) - Static method in class org.pepsoft.util.DesktopUtils
Open a URL in the default browser.
Option() - Constructor for class org.pepsoft.util.swing.ProgressDialog.Option
 
org.pepsoft.util - package org.pepsoft.util
 
org.pepsoft.util.swing - package org.pepsoft.util.swing
 

P

paintComponent(Graphics) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
paintTile(Image, int, int, int, int) - Method in interface org.pepsoft.util.swing.TileProvider
Paint the tile at the specified tile coordinates to an image.
PLATFORM_COMMAND_MASK - Static variable in class org.pepsoft.util.DesktopUtils
The input event mask that corresponds to this platform's default modifier key(s) for command keyboard shortcuts.
preferencesRequested() - Method in interface org.pepsoft.util.MacUtils.PreferencesHandler
 
previousX - Variable in class org.pepsoft.util.swing.TiledImageViewer
The previously displayed location in scaled coordinates.
previousY - Variable in class org.pepsoft.util.swing.TiledImageViewer
The previously displayed location in scaled coordinates.
ProgressComponent<T> - Class in org.pepsoft.util.swing
A component which can execute a task in the background, reporting its progress on a progress bar, displaying status messages from the task, and optionally allowing the user to cancel the task.
ProgressComponent() - Constructor for class org.pepsoft.util.swing.ProgressComponent
Creates a new ProgressComponent
ProgressComponent.Listener<T> - Interface in org.pepsoft.util.swing
 
ProgressDialog<T> - Class in org.pepsoft.util.swing
 
ProgressDialog(Window, ProgressTask<T>, ProgressDialog.Option...) - Constructor for class org.pepsoft.util.swing.ProgressDialog
Creates new form ProgressDialog.
ProgressDialog.Option - Class in org.pepsoft.util.swing
 
ProgressTask<T> - Interface in org.pepsoft.util.swing
A named task which may report its progress and may return a value.

Q

quitRequested() - Method in interface org.pepsoft.util.MacUtils.QuitHandler
Invoked when the user has requested to quit the application.

R

refresh() - Method in class org.pepsoft.util.swing.TiledImageViewer
Immediately throws away and refreshes all tiles of all tile providers.
refresh(boolean) - Method in class org.pepsoft.util.swing.TiledImageViewer
Refreshes all tiles of all tile providers.
refresh(TileProvider, int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Refresh a single tile for a single tile provider.
refresh(TileProvider, Set<Point>) - Method in class org.pepsoft.util.swing.TiledImageViewer
Refresh a number of tiles for a single tile provider.
RemoteJCheckBox - Class in org.pepsoft.util.swing
A checkbox which binds to the model of another checkbox so that their states are synced.
RemoteJCheckBox(JCheckBox, String) - Constructor for class org.pepsoft.util.swing.RemoteJCheckBox
 
removeAllTileProviders() - Method in class org.pepsoft.util.swing.TiledImageViewer
Remove all tile providers.
removeOverlay(String) - Method in class org.pepsoft.util.swing.TiledImageViewer
Remove a previously added overlay.
removeTileListener(TileListener) - Method in interface org.pepsoft.util.swing.TileProvider
Remove a previously registered tile listener.
removeTileProvider(int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Remove a tile provider.
REPEAT - Enum constant in enum class org.pepsoft.util.swing.TiledImageViewer.BackgroundImageMode
 
reset() - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
reset() - Method in class org.pepsoft.util.swing.ProgressComponent
 
reset() - Method in class org.pepsoft.util.swing.TiledImageViewer
Deprecated.
reset() - Method in class org.pepsoft.util.TaskbarProgressReceiver
 
resetZoom() - Method in class org.pepsoft.util.swing.TiledImageViewer
 
resultOfOnEventThread(Callable<T>) - Static method in class org.pepsoft.util.AwtUtils
Execute a task on the event dispatch thread and return the result.
rotateIcon(Icon, int) - Static method in class org.pepsoft.util.IconUtils
Rotate a square icon clockwise by the specified number of degrees.

S

scaleIcon(Image, int) - Static method in class org.pepsoft.util.IconUtils
Scale a square icon using bicubic scaling.
scaleIcon(ImageIcon, int) - Static method in class org.pepsoft.util.IconUtils
Scale a square icon using bicubic scaling.
scaleLookAndFeel(float) - Static method in class org.pepsoft.util.GUIUtils
Adjusts the UIManager defaults to show the Java 2D UI at the specified scale.
scaleToUI(Container) - Static method in class org.pepsoft.util.GUIUtils
 
scaleToUI(Image) - Static method in class org.pepsoft.util.GUIUtils
Scale an image according to GUIUtils.UI_SCALE.
scaleToUI(Image, boolean) - Static method in class org.pepsoft.util.GUIUtils
Scale an image according to GUIUtils.UI_SCALE_FLOAT or GUIUtils.UI_SCALE.
scaleWindow(Window) - Static method in class org.pepsoft.util.GUIUtils
 
ScrollablePanel - Class in org.pepsoft.util.swing
Created by Pepijn Schmitz on 20-07-16.
ScrollablePanel() - Constructor for class org.pepsoft.util.swing.ScrollablePanel
 
setAcceleratorKey(KeyStroke) - Method in class org.pepsoft.util.swing.BetterAction
 
setBackgroundImage(BufferedImage) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
setBackgroundImageMode(TiledImageViewer.BackgroundImageMode) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
setBlockIncrement(int) - Method in class org.pepsoft.util.swing.ScrollablePanel
 
setCancelable(boolean) - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
setCancelable(boolean) - Method in class org.pepsoft.util.swing.ProgressComponent
 
setGridColour(Color) - Method in class org.pepsoft.util.swing.TiledImageViewer
Set the colour in which to paint the grid.
setGridSize(int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Set the size in image coordinates at which the grid should be painted.
setInhibitUpdates(boolean) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
setInhibitUpdates(boolean) - Method in class org.pepsoft.util.swing.TiledImageViewerContainer
When set to true, prevents the scrollbars from updating on view changed events.
setLabelScale(int) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
setListener(ProgressComponent.Listener<T>) - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
setListener(ProgressComponent.Listener<T>) - Method in class org.pepsoft.util.swing.ProgressComponent
 
setMarkerCoords(Point) - Method in class org.pepsoft.util.swing.TiledImageViewer
Set the coordinates in image coordinates where a red crosshair marker should be displayed, if any.
setMaximum(JSpinner, Comparable<?>) - Static method in class org.pepsoft.util.swing.SpinnerUtils
Set the maximum of a JSpinner with a number spinner model to a new value, adjusting the current value first if necessary.
setMaximum(SpinnerNumberModel, Comparable<?>) - Static method in class org.pepsoft.util.swing.SpinnerUtils
Set the maximum of a number spinner model to a new value, adjusting the current value first if necessary.
setMessage(String) - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
setMessage(String) - Method in class org.pepsoft.util.swing.ProgressComponent
 
setMessage(String) - Method in class org.pepsoft.util.TaskbarProgressReceiver
 
setMinimum(JSpinner, Comparable<?>) - Static method in class org.pepsoft.util.swing.SpinnerUtils
Set the minimum of a JSpinner with a number spinner model to a new value, adjusting the current value first if necessary.
setMinimum(SpinnerNumberModel, Comparable<?>) - Static method in class org.pepsoft.util.swing.SpinnerUtils
Set the minimum of a number spinner model to a new value, adjusting the current value first if necessary.
setPaintGrid(boolean) - Method in class org.pepsoft.util.swing.TiledImageViewer
Set whether the gid should be painted.
setProgress(float) - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
setProgress(float) - Method in class org.pepsoft.util.swing.ProgressComponent
 
setProgress(float) - Method in class org.pepsoft.util.TaskbarProgressReceiver
 
setProgress(Window, int) - Static method in class org.pepsoft.util.DesktopUtils
Indicates the progress of an operation in the form of a progress bar on the task bar for supported systems; does nothing on unsupported systems.
setProgressDone(Window) - Static method in class org.pepsoft.util.DesktopUtils
Indicates that progress should no longer be displayed on the task bar for supported systems; does nothing on unsupported systems.
setProgressError(Window) - Static method in class org.pepsoft.util.DesktopUtils
Indicates that an operation for which progress was being displayed on the task bar for supported systems has failed, for example by turning the progress bar red; does nothing on unsupported systems.
setSelected(boolean) - Method in class org.pepsoft.util.swing.BetterAction
 
setShortDescription(String) - Method in class org.pepsoft.util.swing.BetterAction
 
setTask(ProgressTask<T>) - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
setTask(ProgressTask<T>) - Method in class org.pepsoft.util.swing.ProgressComponent
 
setTheme(String) - Static method in class org.pepsoft.util.IconUtils
 
setTileProvider(int, TileProvider) - Method in class org.pepsoft.util.swing.TiledImageViewer
Set or replace a tile provider on a specific layer and reuse the existing provider's cached tile images as stale tile images for the new provider.
setTileProvider(TileProvider) - Method in class org.pepsoft.util.swing.TiledImageViewer
Set or replace a tile provider on layer 0 and reuse the existing provider's cached tile images as stale tile images for the new provider.
setTileProviderZoom(TileProvider, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
setTrackViewportHeight(boolean) - Method in class org.pepsoft.util.swing.ScrollablePanel
 
setTrackViewportWidth(boolean) - Method in class org.pepsoft.util.swing.ScrollablePanel
 
setUIScale(float) - Static method in class org.pepsoft.util.GUIUtils
Override the detected system default UI scale.
setUnitIncrement(int) - Method in class org.pepsoft.util.swing.ScrollablePanel
 
setView(Component) - Method in class org.pepsoft.util.swing.TiledImageViewerContainer
 
setViewListener(TiledImageViewer.ViewListener) - Method in class org.pepsoft.util.swing.TiledImageViewer
Get the currently configured view listener, if any.
setVisible(boolean) - Method in class org.pepsoft.util.swing.ProgressDialog
When invoked with true, displays the dialog and starts the configured ProgressTask in a background thread, then blocks until the task has completed and the dialog is disposed of.
setZoom(int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Set the zoom level in powers of two.
setZoom(int) - Method in interface org.pepsoft.util.swing.TileProvider
Set the zoom as an exponent of two.
setZoom(int, int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Set the zoom level in powers of two.
show(Component, int, int) - Method in class org.pepsoft.util.swing.BetterJPopupMenu
Displays the popup menu at the position x,y in the coordinate space of the component invoker.
showInfo(Component, String, String) - Static method in class org.pepsoft.util.swing.MessageUtils
 
showWarning(Component, String, String) - Static method in class org.pepsoft.util.swing.MessageUtils
 
SpinnerUtils - Class in org.pepsoft.util.swing
 
start() - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
start() - Method in class org.pepsoft.util.swing.ProgressComponent
 
STRETCH - Enum constant in enum class org.pepsoft.util.swing.TiledImageViewer.BackgroundImageMode
 
subProgressStarted(SubProgressReceiver) - Method in class org.pepsoft.util.swing.MultiProgressComponent
 
subProgressStarted(SubProgressReceiver) - Method in class org.pepsoft.util.swing.ProgressComponent
 
subProgressStarted(SubProgressReceiver) - Method in class org.pepsoft.util.TaskbarProgressReceiver
 
SYSTEM_UI_SCALE - Static variable in class org.pepsoft.util.GUIUtils
How many times to scale pixel sizes to display at approximately the originally intended size for assets which were designed for 92-96 dpi screens.
SYSTEM_UI_SCALE_FLOAT - Static variable in class org.pepsoft.util.GUIUtils
The detected system default UI scale.

T

TaskbarProgressReceiver - Class in org.pepsoft.util
Created by Pepijn on 26-11-2016.
TaskbarProgressReceiver(Window, ProgressReceiver) - Constructor for class org.pepsoft.util.TaskbarProgressReceiver
 
TILE_SIZE - Static variable in class org.pepsoft.util.swing.TiledImageViewer
 
TILE_SIZE_BITS - Static variable in class org.pepsoft.util.swing.TiledImageViewer
 
TILE_SIZE_MASK - Static variable in class org.pepsoft.util.swing.TiledImageViewer
 
tileChanged(TileProvider, int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
tileChanged(TileProvider, int, int) - Method in interface org.pepsoft.util.swing.TileListener
Invoked when the contents of a tile have changed and the tile should be retrieved again.
TiledImageViewer - Class in org.pepsoft.util.swing
A generic visual component which can display one or more layers of large or even endless tile-based images, with support for scrolling and scaling the images.
TiledImageViewer() - Constructor for class org.pepsoft.util.swing.TiledImageViewer
Create a new tiled image viewer which allows panning by dragging with the left mouse button and which paints the central crosshair.
TiledImageViewer(boolean, boolean) - Constructor for class org.pepsoft.util.swing.TiledImageViewer
Create a new tiled image viewer.
TiledImageViewer(boolean, boolean, int) - Constructor for class org.pepsoft.util.swing.TiledImageViewer
Create a new tiled image viewer.
TiledImageViewer.BackgroundImageMode - Enum Class in org.pepsoft.util.swing
 
TiledImageViewer.ViewListener - Interface in org.pepsoft.util.swing
A listener for changes to a TiledImageViewer view.
TiledImageViewerContainer - Class in org.pepsoft.util.swing
A container for a TiledImageViewer, which adds scrollbars around it.
TiledImageViewerContainer() - Constructor for class org.pepsoft.util.swing.TiledImageViewerContainer
 
TiledImageViewerContainer(Component) - Constructor for class org.pepsoft.util.swing.TiledImageViewerContainer
 
TileListener - Interface in org.pepsoft.util.swing
A listener for changes in the contents of tiles.
TileProvider - Interface in org.pepsoft.util.swing
A provider of image tiles.
tilesChanged(TileProvider, Set<Point>) - Method in class org.pepsoft.util.swing.TiledImageViewer
 
tilesChanged(TileProvider, Set<Point>) - Method in interface org.pepsoft.util.swing.TileListener
Invoked when the contents of one or more tiles have changed and the tile(s) should be retrieved again.
toBytes(RenderedImage) - Static method in class org.pepsoft.util.ImageUtils
Serialise a RenderedImage (such as a BufferedImage) to a byte array.
transformGraphics(Graphics2D) - Method in class org.pepsoft.util.swing.TiledImageViewer
Apply translation and scaling to a graphics canvas according to the current location and zoom settings such that it can be painted using image coordinates.

U

UnknownTileProviderException - Exception in org.pepsoft.util.swing
Created by Pepijn on 27-11-2016.
UnknownTileProviderException(TileProvider) - Constructor for exception org.pepsoft.util.swing.UnknownTileProviderException
 

V

valueOf(String) - Static method in enum class org.pepsoft.util.swing.TiledImageViewer.BackgroundImageMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.pepsoft.util.swing.TiledImageViewer.BackgroundImageMode
Returns an array containing the constants of this enum class, in the order they are declared.
viewChanged(TiledImageViewer) - Method in interface org.pepsoft.util.swing.TiledImageViewer.ViewListener
Invoked when the view has changed in one of these ways: The location has changed The zoom level has changed A TileProvider has been added, replaced or removed The offset of a tile provider has changed
viewChanged(TiledImageViewer) - Method in class org.pepsoft.util.swing.TiledImageViewerContainer
 
viewToWorld(int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from component (pixels relative to the top left corner) coordinates to image (world) coordinates, taking the current zoom level into account.
viewToWorld(int, int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from component (pixels relative to the top left corner) coordinates to image (world) coordinates, using a specific zoom level.
viewToWorld(int, int, int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from component (pixels relative to the top left corner) coordinates to image (world) coordinates, taking the current zoom level into account.
viewToWorld(Point) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from component (pixels relative to the top left corner) coordinates to image (world) coordinates, taking the current zoom level into account.
viewToWorld(Point, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from component (pixels relative to the top left corner) coordinates to image (world) coordinates, using a specific zoom level.
viewToWorld(Rectangle) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from component (pixels relative to the top left corner) coordinates to image (world) coordinates, taking the current zoom level into account.
viewX - Variable in class org.pepsoft.util.swing.TiledImageViewer
The currently displayed location in scaled coordinates.
viewY - Variable in class org.pepsoft.util.swing.TiledImageViewer
The currently displayed location in scaled coordinates.

W

worldToView(int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from image (world) coordinates to component (pixels relative to the top left corner) coordinates, taking the current zoom level into account.
worldToView(int, int, int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from image (world) coordinates to component (pixels relative to the top left corner) coordinates, taking the current zoom level into account.
worldToView(int, int, int, int, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from image (world) coordinates to component (pixels relative to the top left corner) coordinates, using a specific zoom level.
worldToView(Point) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from image (world) coordinates to component (pixels relative to the top left corner) coordinates, taking the current zoom level into account.
worldToView(Rectangle) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from image (world) coordinates to component (pixels relative to the top left corner) coordinates, taking the current zoom level into account.
worldToView(Rectangle, int) - Method in class org.pepsoft.util.swing.TiledImageViewer
Transform coordinates from image (world) coordinates to component (pixels relative to the top left corner) coordinates, using a specific zoom level.

X

xOffset - Variable in class org.pepsoft.util.swing.TiledImageViewer
The offset to apply to the image so that the view coordinates are displayed in the centre of the view.

Y

yOffset - Variable in class org.pepsoft.util.swing.TiledImageViewer
The offset to apply to the image so that the view coordinates are displayed in the centre of the view.
A B C D E F G H I L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form