|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mebigfatguy.pixelle.FrameMgr
public class FrameMgr
manages the set of open windows
Field Summary | |
---|---|
java.util.Set<javax.swing.JFrame> |
frames
|
Method Summary | |
---|---|
void |
add(javax.swing.JFrame frame)
add a window to the frame manager |
java.util.Set<javax.swing.JFrame> |
getFrames()
retrieves all the active windows currently on the desktop |
static FrameMgr |
getInstance()
return the singleton frame manager |
void |
remove(javax.swing.JFrame frame)
removes the window from the frame manager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.Set<javax.swing.JFrame> frames
Method Detail |
---|
public static FrameMgr getInstance()
public void add(javax.swing.JFrame frame)
frame
- the new window that is about to be shownpublic void remove(javax.swing.JFrame frame)
frame
- the window to removepublic java.util.Set<javax.swing.JFrame> getFrames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |