fr.inria.ketuk
Class Replacers

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

public class Replacers
extends java.lang.Object

A Collection of methods which replace, in the context of a containing object, an object by another one

Author:
Claude Pasquier

Constructor Summary
Replacers()
          Default constructor
 
Method Summary
 void replace(java.awt.Container parent, java.awt.Component c1, java.awt.Component c2)
          Default replacer for two objects of class Component placed in a Container
 void replace(javax.swing.JFrame parent, java.awt.Component c1, java.awt.Component c2)
          Default replacer for two objects of class Component placed in a JFrame
 void replace(java.util.Vector parent, java.lang.Object obj1, java.lang.Object obj2)
          Default replacer for two objects 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

Replacers

public Replacers()
Default constructor
Method Detail

replace

public void replace(java.awt.Container parent,
                    java.awt.Component c1,
                    java.awt.Component c2)
Default replacer for two objects of class Component placed in a Container
Parameters:
parent - the container of the first component
c1 - the component to replace
c2 - the new component

replace

public void replace(javax.swing.JFrame parent,
                    java.awt.Component c1,
                    java.awt.Component c2)
Default replacer for two objects of class Component placed in a JFrame
Parameters:
parent - the frame containing the first component
c1 - the component to replace
c2 - the new component

replace

public void replace(java.util.Vector parent,
                    java.lang.Object obj1,
                    java.lang.Object obj2)
Default replacer for two objects of class Object placed in a Vector
Parameters:
parent - the Vector containing the first object
obj1 - the object to replace
obj2 - the new object