fr.inria.ketuk
Class Adders

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

public class Adders
extends java.lang.Object

A Collection of methods to add an object into another one

Author:
Claude Pasquier

Constructor Summary
Adders()
          Default constructor
 
Method Summary
 void add(java.awt.Container parent, java.awt.Component comp)
          Adder for an object of class Component into a Container
 void add(java.awt.Container parent, java.awt.Component comp, int index)
          Adder for an object of class Component at a given position into a Container
 void add(java.awt.Container parent, java.awt.Component comp, java.lang.Object constraints)
          Adder for an object of class Component into a Container with a given constraint
 void add(java.awt.Container parent, java.awt.Component comp, java.lang.Object constraints, int index)
          Adder for an object of class Component at a given position into a Container with a given constraint
 void add(java.util.Dictionary parent, java.lang.Object key, java.lang.Object value)
          Adder for a pair key, value into a Dictionary
 void add(javax.swing.JFrame parent, java.awt.Component comp)
          Adder for an object of class Component into a JFrame
 void add(javax.swing.JFrame parent, java.awt.Component comp, int index)
          Adder for an object of class Component at a given position into a JFrame
 void add(javax.swing.JFrame parent, java.awt.Component comp, java.lang.Object constraints)
          Adder for an object of class Component into a JFrame with a given constraint
 void add(javax.swing.JFrame parent, java.awt.Component comp, java.lang.Object constraints, int index)
          Adder for an object of class Component at a given position into a JFrame with a given constraint
 void add(javax.swing.JMenu menu, java.lang.String label)
          Adder for an object of class String into a JMenu
 void add(java.awt.MenuBar menubar, java.awt.Menu menu)
          Adder for an object of class Menu into a MenuBar
 void add(java.awt.Menu menu, java.awt.MenuItem item)
          Adder for an object of class MenuItem into a Menu
 void add(java.awt.Menu menu, java.lang.String label)
          Adder for an object of class String into a Menu
 void add(java.util.Vector parent, java.lang.Object obj)
          Adder for an object into a Vector
 void add(java.util.Vector parent, java.lang.Object obj, int index)
          Adder for an object at a specified position into a Vector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Adders

public Adders()
Default constructor
Method Detail

add

public void add(java.awt.Container parent,
                java.awt.Component comp)
Adder for an object of class Component into a Container
Parameters:
parent - the container of the component
comp - the component to add

add

public void add(java.awt.Container parent,
                java.awt.Component comp,
                int index)
Adder for an object of class Component at a given position into a Container
Parameters:
parent - the container of the component
comp - the component to add
index - the position where to add the component

add

public void add(java.awt.Container parent,
                java.awt.Component comp,
                java.lang.Object constraints)
Adder for an object of class Component into a Container with a given constraint
Parameters:
parent - the container of the component
comp - the component to add
constraints - the constraints used to add teh component

add

public void add(java.awt.Container parent,
                java.awt.Component comp,
                java.lang.Object constraints,
                int index)
Adder for an object of class Component at a given position into a Container with a given constraint
Parameters:
parent - the container of the component
comp - the component to add
constraints - the constraints used to add teh component
index - the position where to add the component

add

public void add(javax.swing.JFrame parent,
                java.awt.Component comp)
Adder for an object of class Component into a JFrame
Parameters:
parent - the JFrame where to add the component
comp - the component to add

add

public void add(javax.swing.JFrame parent,
                java.awt.Component comp,
                int index)
Adder for an object of class Component at a given position into a JFrame
Parameters:
parent - the JFrame where to add the component
comp - the component to add
index - the position where to add the component

add

public void add(javax.swing.JFrame parent,
                java.awt.Component comp,
                java.lang.Object constraints)
Adder for an object of class Component into a JFrame with a given constraint
Parameters:
parent - the JFrame where to add the component
comp - the component to add
constraints - the constraints used to add teh component

add

public void add(javax.swing.JFrame parent,
                java.awt.Component comp,
                java.lang.Object constraints,
                int index)
Adder for an object of class Component at a given position into a JFrame with a given constraint
Parameters:
parent - the JFrame where to add the component
comp - the component to add
constraints - the constraints used to add teh component
index - the position where to add the component

add

public void add(java.awt.Menu menu,
                java.awt.MenuItem item)
Adder for an object of class MenuItem into a Menu
Parameters:
menu - the Menu where to add the item
item - the menuItem to add

add

public void add(java.awt.Menu menu,
                java.lang.String label)
Adder for an object of class String into a Menu
Parameters:
menu - the Menu where to add the string
label - the string to add

add

public void add(java.awt.MenuBar menubar,
                java.awt.Menu menu)
Adder for an object of class Menu into a MenuBar
Parameters:
menubar - the MenuBar where to add the menu
manu - the Menu to add

add

public void add(javax.swing.JMenu menu,
                java.lang.String label)
Adder for an object of class String into a JMenu
Parameters:
menu - the JMenu where to add the string
label - the string to add

add

public void add(java.util.Vector parent,
                java.lang.Object obj)
Adder for an object into a Vector
Parameters:
parent - the Vector where to add the object
obj - the object to add

add

public void add(java.util.Vector parent,
                java.lang.Object obj,
                int index)
Adder for an object at a specified position into a Vector
Parameters:
parent - the Vector where to add the object
obj - the object to add
index - the position where to add the object

add

public void add(java.util.Dictionary parent,
                java.lang.Object key,
                java.lang.Object value)
Adder for a pair key, value into a Dictionary
Parameters:
parent - the Dictionary where to add the pair
key - the object to add
value - the value of the object to add