Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

HX Class Reference

A small set of convenience functions. More...

List of all members.

Static Public Methods

void addGridComp (JComponent parent, JComponent child, int gridX, int gridY, int gridWidth, int gridHeight, int fill, double weightX, double weightY, int insetWidth, int insetHeight)
 Add a component child to the parent container. More...

Color stringToColor (String input)
 Convert a String to a Color. More...

String colorToString (Color c)
 Convert a String to a Color. More...


Detailed Description

A small set of convenience functions.


Member Function Documentation

void HX::addGridComp JComponent    parent,
JComponent    child,
int    gridX,
int    gridY,
int    gridWidth,
int    gridHeight,
int    fill,
double    weightX,
double    weightY,
int    insetWidth,
int    insetHeight
[inline, static]
 

Add a component child to the parent container.

The parent is taken to have a GridBagLayout.

Color HX::stringToColor String    input [inline, static]
 

Convert a String to a Color.

The format of the string is expected to be: (r, g, b) where r, g, and b are integer values is the range 0 - 255.

String HX::colorToString Color    c [inline, static]
 

Convert a String to a Color.

The format of the string is expected to be: (r, g, b) where r, g, and b are integer values is the range 0 - 255.


The documentation for this class was generated from the following file:
Generated on Tue Jan 8 14:14:25 2002 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001