public class CachedComponent
extends java.lang.Object
| Constructor and Description |
|---|
CachedComponent(InstanceCache cache,
long windowId,
java.lang.String componentPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
changed()
You must call this if you modify this component so the system knows which windows to commit.
|
javax.swing.JComponent |
component()
Finds the component for the given path.
|
InstanceCache |
getCache() |
CachedComponent |
getChild(int index) |
java.lang.String |
getComponentPath() |
VisionDesignerInterface |
getDesigner() |
long |
getWindowId() |
java.lang.String |
getWindowPath()
safe to call whether the window is open or not, unlike FPMIWindow.getPath()
|
WindowWorkspace |
getWorkspace() |
void |
locate()
Opens the window in the WindowWorkspace and tries to select the component
|
TopLevelContainer |
window()
Pulls the top level container for the component's parent's resource id out of the cache.
|
public CachedComponent(InstanceCache cache, long windowId, java.lang.String componentPath)
public javax.swing.JComponent component()
throws WindowLockedException
WindowLockedExceptionpublic TopLevelContainer window() throws WindowLockedException
WindowLockedExceptionpublic VisionDesignerInterface getDesigner()
public WindowWorkspace getWorkspace()
public void changed()
public void locate()
public CachedComponent getChild(int index) throws WindowLockedException
WindowLockedExceptionpublic InstanceCache getCache()
public long getWindowId()
public java.lang.String getWindowPath()
public java.lang.String getComponentPath()