#include "component.h"
#include "container.h"
#include "panel.h"
Include dependency graph for panel.c:
Go to the source code of this file.
Functions | |
void | addPanelComponent (Panel *panel, jobject comp) |
Adds a Component to the Panel. | |
jobject | addPanelComponentListener (Panel *panel, void(*func)(jint, jobject)) |
Adds a ComponentListener for a Panel to call back the specified function. | |
void | addPanelComponentWithConstraint (Panel *panel, jobject comp, jobject constraint) |
Adds a Component to the Panel at a position. | |
MouseListener | addPanelMouseListener (Panel *panel, void(*func)(jint, Component, jint, jint, jint, jint)) |
Adds a MouseListener for a Panel to call back the specified function. | |
void | createPanel_ (Panel *panel) |
Creates the Panel by getting the Java Panel-Class, the method ids and createing a new Java Panel-Object. | |
void | createPanelC (Panel_ *panel) |
Function is called when working with C and calling the function createPanel. | |
void | createPanelCPP (PanelCPP_ *panel) |
Function is called when working with C++ and calling the function createPanel. | |
void | deletePanel_ (Panel *panel) |
Deletes the Panel by deleting the global references. | |
void | deletePanelC (Panel_ *panel) |
Function is called when working with C and calling the function deletePanel. | |
void | deletePanelCPP (PanelCPP_ *panel) |
Function is called when working with C++ and calling the function deletePanel. | |
Color | getPanelBackgroundColor (Panel *panel) |
Gets the background color of the Panel. | |
Color | getPanelForegroundColor (Panel *panel) |
Gets the foreground color of the Panel. | |
jint | getPanelHeight (Panel *panel) |
Gets the height of the Panel. | |
jobject | getPanelObject (Panel *panel) |
Gets the reference to the java panel object. | |
jint | getPanelWidth (Panel *panel) |
Gets the width of the Panel. | |
jint | getPanelX (Panel *panel) |
Gets the X-Pos of the Panel. | |
jint | getPanelY (Panel *panel) |
Gets the Y-Pos of the Panel. | |
void | initPanel_ (Panel_ *panel) |
Initializes the Panel_ structure by setting the function pointers. | |
void | removePanelComponentListener (Panel *panel, jobject cl) |
Removes a ComponentListener from a Panel and deletes the global reference to the ComponentListener. | |
void | removePanelMouseListener (Panel *panel, MouseListener ml) |
Removes a MouseListener from a Panel and deletes the global reference to the MouseListener. | |
void | setPanelBackgroundColor (Panel *panel, const Color c) |
Sets the background color of the Panel. | |
void | setPanelForegroundColor (Panel *panel, const Color c) |
Sets the foreground color of the Panel. | |
void | setPanelLayout (Panel *panel, jobject layoutmanager) |
Sets a LayoutManager to the Panel. | |
void | setPanelLocation (Panel *panel, jint x, jint y) |
Sets the location of the Panel. | |
void | setPanelSize (Panel *panel, jint width, jint height) |
Sets Size of the Panel. |
A Panel is a container where you can place control elements. A Panel has the FlowLayout as standard LayoutManager.
Definition in file panel.c.
|
Adds a Component to the Panel.
|
|
Adds a ComponentListener for a Panel to call back the specified function. For more information see: addComponentListener
|
|
Adds a Component to the Panel at a position.
|
|
Adds a MouseListener for a Panel to call back the specified function. For more information see: addMouseListener
|
|
Creates the Panel by getting the Java Panel-Class, the method ids and createing a new Java Panel-Object.
|
|
Function is called when working with C and calling the function createPanel. It initializes the Panel_ structure.
|
|
Function is called when working with C++ and calling the function createPanel. It initializes the PanelCPP_ structure.
|
|
Deletes the Panel by deleting the global references.
|
|
Function is called when working with C and calling the function deletePanel.
|
|
Function is called when working with C++ and calling the function deletePanel.
|
|
Gets the background color of the Panel.
|
|
Gets the foreground color of the Panel.
|
|
Gets the height of the Panel.
|
|
Gets the reference to the java panel object.
|
|
Gets the width of the Panel.
|
|
Gets the X-Pos of the Panel.
|
|
Gets the Y-Pos of the Panel.
|
|
Initializes the Panel_ structure by setting the function pointers.
|
|
Removes a ComponentListener from a Panel and deletes the global reference to the ComponentListener.
|
|
Removes a MouseListener from a Panel and deletes the global reference to the MouseListener.
|
|
Sets the background color of the Panel.
|
|
Sets the foreground color of the Panel.
|
|
Sets a LayoutManager to the Panel.
|
|
Sets the location of the Panel.
|
|
Sets Size of the Panel.
|