All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.ui.RFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----javax.swing.JFrame
|
+----com.sgi.sysadm.ui.RFrame
- public class RFrame
- extends JFrame
RFrame is a JFrame that de-iconifies itself if toFront is
called and it is iconified. RFrame also calls
extraCleanup on every Component in its hierarchy that
implements the ExtraCleanup interface when RFrame.dispose
is called. This gives Components a convenient hook for cleaning up
when they are no longer needed. As the component tree is traversed
all parent - child relationships are broken to facilitate garbage
collection in light of certain Java bugs such as 4129207.
removeNotify is not
suitable as a cleanup hook because when an RFrame is de-iconified
removeNotify and then addNotify will be called on
all Components in the hierarchy.
- See Also:
- ExtraCleanup
-
RFrame()
- Construct an RFrame.
-
RFrame(String)
- Construct an RFrame with a title.
-
dispose()
- Called when this RFrame is no longer to be used.
-
finalize()
- Called when we are garbage-collected.
-
toFront()
- In addition to bringing the window to the front, de-iconify it
if it is iconified.
RFrame
public RFrame(String title)
- Construct an RFrame with a title.
- Parameters:
- title - Title bar string.
RFrame
public RFrame()
- Construct an RFrame.
finalize
protected void finalize() throws Throwable
- Called when we are garbage-collected. For debugging.
- Throws: Throwable
- if there is an error during destruction.
- Overrides:
- finalize in class Object
toFront
public void toFront()
- In addition to bringing the window to the front, de-iconify it
if it is iconified.
- Overrides:
- toFront in class Window
dispose
public void dispose()
- Called when this RFrame is no longer to be used. Calls the
extraCleanup method on every Component in our
hierarchy that implements the ExtraCleanup interface.
As the component tree is traversed
all parent - child relationships are broken to facilitate garbage
collection in light of certain Java bugs such as 4129207.
- Overrides:
- dispose in class Frame
- See Also:
- ExtraCleanup
All Packages Class Hierarchy This Package Previous Next Index