public class MemoryCleaner
extends java.lang.Object
Constructor and Description |
---|
MemoryCleaner() |
Modifier and Type | Method and Description |
---|---|
static int |
removeActionListeners(javax.swing.AbstractButton button)
Remove ActionListeners from an AbstractButton (such as a JMenuItem.
|
static int |
removeActionListeners(javax.swing.JComponent component)
Remove ActionMapListeners from a JComponent.
|
static int |
removeActionListeners(javax.swing.JMenuBar menubar)
Remove ActionListeners from a JMenuBar.
|
static int |
removeActionListeners(javax.swing.JToolBar toolbar)
Remove ActionListeners from a JToolBar.
|
static int |
removeWindowListeners(java.awt.Window window)
Remove WindowListeners from a Window.
|
public static int removeActionListeners(javax.swing.JMenuBar menubar)
menubar
- The menubar from which the ActionListeners
are to be removed.public static int removeActionListeners(javax.swing.AbstractButton button)
button
- The button from which the ActionListeners
are to be removed.public static int removeActionListeners(javax.swing.JComponent component)
component
- The JComponent from which the Action in a ActionMap
are to be removed.public static int removeWindowListeners(java.awt.Window window)
window
- The Window from which WindowListeners
are to be removed.public static int removeActionListeners(javax.swing.JToolBar toolbar)
toolbar
- The tool bar from which the ActionListeners
are to be removed.