Package org.astrogrid.samp.bridge
Class ProxyManager.ProxyIconAdjuster
- java.lang.Object
-
- org.astrogrid.samp.bridge.IconAdjuster
-
- org.astrogrid.samp.bridge.ProxyManager.ProxyIconAdjuster
-
- All Implemented Interfaces:
HttpServer.Handler
- Enclosing class:
- ProxyManager
private class ProxyManager.ProxyIconAdjuster extends IconAdjuster
Class which can turn a client's icon into the icon for the proxy of the same client. Some visually distinctive adjustment is made to make it obvious from the icon that it's a proxy.
-
-
Constructor Summary
Constructors Constructor Description ProxyIconAdjuster()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.RenderedImage
adjustImage(java.awt.image.BufferedImage inImage)
Produces an adjusted image for serving.-
Methods inherited from class org.astrogrid.samp.bridge.IconAdjuster
exportAdjustedIcon, serveRequest
-
-
-
-
Method Detail
-
adjustImage
public java.awt.image.RenderedImage adjustImage(java.awt.image.BufferedImage inImage)
Description copied from class:IconAdjuster
Produces an adjusted image for serving.- Specified by:
adjustImage
in classIconAdjuster
- Parameters:
inImage
- input image- Returns:
- adjusted version of
inImage
-
-