public class WindowCache
extends java.lang.Object
Constructor and Description |
---|
WindowCache(ClientContext context) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.Object> |
_legacyDeserialize(java.io.InputStream is,
java.lang.Object owner) |
void |
applyDiff(Project diff,
ProgressListener listener) |
void |
clear()
Clears the entire cache.
|
void |
clear(long id)
Removes the id from the cache
|
void |
clearCache()
Clears the actual window references from any loaded WindowInfos
|
void |
closeWindow(FPMIWindow window) |
java.lang.Long |
getAboutWindow() |
java.util.List<java.lang.String> |
getStartupWindows()
Looks up the ids to all windows that are specified as startup windows
|
int |
getWindowCompressedSize(long id) |
int |
getWindowCount() |
WindowInfo |
getWindowInfo(long id)
Returns the WindowInfo for the window specified by the given resource id.
|
WindowInfo |
getWindowInfo(java.lang.String path)
Returns the WindowInfo for the window located at the given path.
|
java.util.List<java.lang.String> |
getWindowNamesAlphabetical()
Returns a flattened list of all window paths
|
java.awt.Dimension |
getWindowSize(java.lang.String path)
Returns a windows' size.
|
java.awt.image.BufferedImage |
getWindowThumbnail(long id)
Returns a thumbnail image for the named window, possibly null
|
boolean |
isWindowOpen(long id)
Deprecated.
|
boolean |
isWindowOpen(java.lang.String path)
Deprecated.
|
boolean |
isWindowPresent(java.lang.String path) |
FPMIWindow |
openWindow(java.lang.String path,
java.util.List<java.lang.String> credentials,
boolean openAdditional)
Returns the FPMIWindow object reference for the given window name.
|
void |
setRootPaneContainer(javax.swing.RootPaneContainer rootPaneContainer) |
public WindowCache(ClientContext context)
public void applyDiff(Project diff, ProgressListener listener)
public void setRootPaneContainer(javax.swing.RootPaneContainer rootPaneContainer)
public WindowInfo getWindowInfo(java.lang.String path)
public WindowInfo getWindowInfo(long id)
public static java.util.List<java.lang.Object> _legacyDeserialize(java.io.InputStream is, java.lang.Object owner) throws SerializationException
SerializationException
public void clear()
public void clear(long id)
public void clearCache()
public int getWindowCompressedSize(long id)
public int getWindowCount()
public java.awt.Dimension getWindowSize(java.lang.String path)
public boolean isWindowPresent(java.lang.String path)
public FPMIWindow openWindow(java.lang.String path, java.util.List<java.lang.String> credentials, boolean openAdditional)
public java.util.List<java.lang.String> getStartupWindows()
public java.lang.Long getAboutWindow()
public java.awt.image.BufferedImage getWindowThumbnail(long id)
public void closeWindow(FPMIWindow window)
@Deprecated public boolean isWindowOpen(java.lang.String path)
@Deprecated public boolean isWindowOpen(long id)
public java.util.List<java.lang.String> getWindowNamesAlphabetical()