|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscone.accesstracking.FrameAccessObject
public abstract class FrameAccessObject
This Class can be inherited by classes that want to be informed on any change of open frames.
| Constructor Summary | |
|---|---|
FrameAccessObject()
The constructor with out parameters gets the instance handle of FrameAccess, but does not register and ask to be called everytime a new frame opens or an open frame closes. |
|
FrameAccessObject(boolean register)
The constructor with the register parameter gets the instance handle of FrameAccess and, depending on the value of register, registers at FrameAccess and asks to be
informed everytime a new frame opens or an open frame closes. |
|
| Method Summary | |
|---|---|
boolean |
contains(java.lang.String parentFrameAndFrameName)
Returns true if a frame is open that matches the parentFrameAndFrameName. |
boolean |
contains(java.lang.String parentFrameName,
java.lang.String frameName)
Returns true if a frame is open that matches the parentFrameName and frameName. |
abstract void |
framesChanged(java.util.Set contents)
This abstract method has to be implemented by its subclass. |
AppletConnector |
get(java.lang.String parentFrameAndFrameName)
Gets the AppletConnector object for a specific parentFrameAndFrameName. |
AppletConnector |
get(java.lang.String parentFrameName,
java.lang.String frameName)
Gets the AppletConnector object for a specific frameName. |
Access |
getAccessObject(java.lang.String parentFrameAndFrameName)
Gets the Access object for a specific parentFrameAndFrameName. |
Access |
getAccessObject(java.lang.String parentFrameName,
java.lang.String frameName)
Gets the Access object for a specific frameName. |
java.util.Set |
getSetOfContents()
Returns a Set of frame names which are open right now. |
void |
notifyMe()
notifyMe allows other objects to register for a callback on any change of the FrameList and send the new Framelist. |
void |
showOpenFrames()
Show all parent frame names concatinated with the frame names in the list to stdout. |
void |
stopNotifyMe()
stopNotifyMe clears the caller's reference from the list of regeistered objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FrameAccessObject()
public FrameAccessObject(boolean register)
register, registers at FrameAccess and asks to be
informed everytime a new frame opens or an open frame closes.
register - If true, the constructor registers at FrameAccess and
and asks to be notified everytime a frames opens or closes.| Method Detail |
|---|
public void notifyMe()
public void stopNotifyMe()
public boolean contains(java.lang.String parentFrameName,
java.lang.String frameName)
parentframeName - The name of the parent frameframeName - The String to be tested
public boolean contains(java.lang.String parentFrameAndFrameName)
parentFrameAndFrameName - The name of the parent frame and the name of the frame concatinated
public AppletConnector get(java.lang.String parentFrameName,
java.lang.String frameName)
parentframeName - The name of the parent frameframeName - The name of the frame
public AppletConnector get(java.lang.String parentFrameAndFrameName)
parentFrameAndFrameName - parentFrameName and frameName concatinated
public Access getAccessObject(java.lang.String parentFrameName,
java.lang.String frameName)
parentframeName - The name of the parent frameframeName - The name of the frame
public Access getAccessObject(java.lang.String parentFrameAndFrameName)
parentFrameAndFrameName - parentFrameName and frameName concatinated
public void showOpenFrames()
public java.util.Set getSetOfContents()
public abstract void framesChanged(java.util.Set contents)
contents - A Set of string containing the parent frame names and frame names of the open frames
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||