Added a getter for the frame's manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3285 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: ManagedJFrame.java,v 1.6 2004/08/27 02:12:37 mdb Exp $
|
// $Id$
|
||||||
//
|
//
|
||||||
// Narya library - tools for developing networked games
|
// Narya library - tools for developing networked games
|
||||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||||
@@ -70,6 +70,14 @@ public class ManagedJFrame extends JFrame
|
|||||||
_fmgr = fmgr;
|
_fmgr = fmgr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the frame manager managing this frame.
|
||||||
|
*/
|
||||||
|
public FrameManager getFrameManager ()
|
||||||
|
{
|
||||||
|
return _fmgr;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We catch paint requests and forward them on to the repaint
|
* We catch paint requests and forward them on to the repaint
|
||||||
* infrastructure.
|
* infrastructure.
|
||||||
|
|||||||
Reference in New Issue
Block a user