- 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
-
- scaleIcon(ImageIcon, int) - Static method in class org.pepsoft.util.IconUtils
-
Scale a square icon using bicubic scaling.
- scaleIcon(Image, 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(Image) - Static method in class org.pepsoft.util.GUIUtils
-
- scaleToUI(Image, boolean) - Static method in class org.pepsoft.util.GUIUtils
-
- scaleToUI(Container) - Static method in class org.pepsoft.util.GUIUtils
-
- 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(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.
- 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
-
- 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(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.
- 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.
- 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, int, 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.
- 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
-
- 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.
- valueOf(String) - Static method in enum org.pepsoft.util.swing.TiledImageViewer.BackgroundImageMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.pepsoft.util.swing.TiledImageViewer.BackgroundImageMode
-
Returns an array containing the constants of this enum type, 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(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(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, 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) - 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.
- 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.
- 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.