container.c File Reference

Implementation of the CONTAINER functions. More...

#include "container.h"

Include dependency graph for container.c:

Go to the source code of this file.

Functions

void addComponent (jobject obj, jobject comp)
 Adds a Component to a Container.
void addComponentWithConstraint (jobject obj, jobject comp, jobject constraint)
 Adds a Component to a Container at a position.
void setLayout (jobject obj, jobject layoutmanager)
 Sets a LayoutManager to a Container.


Detailed Description

Implementation of the CONTAINER functions.

These functions are for objects of classes which extend the Java AWT Container class like the Frame and the Panel. The functions allow you to add components and set a LayoutManager.

Author:
Stefan Gruber
Date:
01.02.2005

Definition in file container.c.


Function Documentation

void addComponent jobject  obj,
jobject  comp
 

Adds a Component to a Container.

Parameters:
obj - The Container to add the Component to.
comp - The Component to add.
See also:
addComponentWithConstraint(jobject obj, jobject comp, jobject constraint)

Definition at line 40 of file container.c.

void addComponentWithConstraint jobject  obj,
jobject  comp,
jobject  constraint
 

Adds a Component to a Container at a position.

Parameters:
obj - The Container to add the Component to.
comp - The Component to add.
constraint - The constraint for the Layoutmanager.
See also:
addComponent(jobject obj, jobject comp)

Definition at line 27 of file container.c.

void setLayout jobject  obj,
jobject  layoutmanager
 

Sets a LayoutManager to a Container.

Parameters:
obj - The Container to add the Component to.
layoutmanager - The LayoutManager to set.

Definition at line 52 of file container.c.


Generated on Sat Nov 19 14:11:13 2005 for GrubC by  doxygen 1.4.4