fr.inria.ketuk
Class Removers

java.lang.Object
  |
  +--fr.inria.ketuk.Removers

public class Removers
extends java.lang.Object

A Collection of methods to remove an object placed in a containing one

Author:
Claude Pasquier

Constructor Summary
Removers()
          Default constructor
 
Method Summary
 void remove(java.awt.Container parent, java.awt.Component comp)
          Remover for an object of class Component placed in a Container
 void remove(java.util.Dictionary parent, java.lang.Object key)
          Remover for an object of class Object placed in a Dictionnary
 void remove(javax.swing.JFrame parent, java.awt.Component comp)
          Remover for an object of class Component placed in a JFrame
 void remove(javax.swing.JMenu menu, java.awt.Component comp)
          Remover for an object of class Component placed in a JMenu
 void remove(javax.swing.JMenu menu, javax.swing.JMenuItem item)
          Remover for an object of class JMenuItem placed in a JMenu
 void remove(java.awt.MenuBar menubar, java.awt.MenuComponent menu)
          Remover for an object of class MenuComponent placed in a MenuBar
 void remove(java.awt.Menu menu, java.awt.MenuComponent item)
          Remover for an object of class MenuComponent placed in a Menu
 void remove(java.util.Vector parent, java.lang.Object obj)
          Remover for an object of class Object placed in a Vector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Removers

public Removers()
Default constructor
Method Detail

remove

public void remove(java.awt.Container parent,
                   java.awt.Component comp)
Remover for an object of class Component placed in a Container
Parameters:
parent - the container of the component
comp - the component to remove

remove

public void remove(javax.swing.JFrame parent,
                   java.awt.Component comp)
Remover for an object of class Component placed in a JFrame
Parameters:
parent - the JFrame containing the component
comp - the component to remove

remove

public void remove(java.awt.Menu menu,
                   java.awt.MenuComponent item)
Remover for an object of class MenuComponent placed in a Menu
Parameters:
menu - the menu containing the item
item - the menuComponent to remove

remove

public void remove(java.awt.MenuBar menubar,
                   java.awt.MenuComponent menu)
Remover for an object of class MenuComponent placed in a MenuBar
Parameters:
menubar - the menubar containing the item
menu - the menuComponent to remove

remove

public void remove(javax.swing.JMenu menu,
                   java.awt.Component comp)
Remover for an object of class Component placed in a JMenu
Parameters:
menu - the menu containing the component
comp - the component to remove

remove

public void remove(javax.swing.JMenu menu,
                   javax.swing.JMenuItem item)
Remover for an object of class JMenuItem placed in a JMenu
Parameters:
menu - the menu containing the item
item - the menuItem to remove

remove

public void remove(java.util.Vector parent,
                   java.lang.Object obj)
Remover for an object of class Object placed in a Vector
Parameters:
parent - the vector containing the object
obj - the object to remove

remove

public void remove(java.util.Dictionary parent,
                   java.lang.Object key)
Remover for an object of class Object placed in a Dictionnary
Parameters:
parent - the dictionnary containing the object
key - the object to remove