container.h File Reference

Deklares the functions for Objects extending the Java Container-Class. More...

#include "../jnilib.h"

Include dependency graph for container.h:

This graph shows which files directly or indirectly include this file:

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

Deklares the functions for Objects extending the Java Container-Class.

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.h.


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