Crossfire JXClient, Trunk
Package Functions | Static Package Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Atom Class Reference
Collaboration diagram for Atom:
Collaboration graph

Package Functions

 Atom (int Rl, int Gl, int Bl)
 
void paint (Graphics gc, int x, int y, int r)
 

Static Package Functions

 [static initializer]
 
static void setApplet (Applet app)
 

Private Member Functions

int blend (int fg, int bg, float fgfactor)
 
void Setup ()
 

Private Attributes

Image balls []
 
int Bl
 
int Gl
 
int Rl
 

Static Private Attributes

static Applet applet
 
static final int bgGrey = 192
 
static byte[] data
 
static final int hx = 15
 
static final int hy = 15
 
static int maxr
 
static final int nBalls = 16
 
static final int R = 40
 

Detailed Description

Definition at line 503 of file XYZApp.java.

Constructor & Destructor Documentation

◆ Atom()

Atom.Atom ( int  Rl,
int  Gl,
int  Bl 
)
package

Definition at line 541 of file XYZApp.java.

References Bl, Gl, and Rl.

Member Function Documentation

◆ [static initializer]()

Atom.[static initializer]
staticpackage

◆ blend()

int Atom.blend ( int  fg,
int  bg,
float  fgfactor 
)
private

Definition at line 547 of file XYZApp.java.

Referenced by Setup().

Here is the caller graph for this function:

◆ paint()

void Atom.paint ( Graphics  gc,
int  x,
int  y,
int  r 
)
package

Definition at line 574 of file XYZApp.java.

References applet, balls, Setup(), and size.

Referenced by XYZChemModel.paint().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setApplet()

static void Atom.setApplet ( Applet  app)
staticpackage

Definition at line 537 of file XYZApp.java.

References applet.

Referenced by XYZApp.run().

Here is the caller graph for this function:

◆ Setup()

void Atom.Setup ( )
private

Definition at line 551 of file XYZApp.java.

References applet, balls, bgGrey, Bl, blend(), data, Gl, maxr, nBalls, R, and Rl.

Referenced by paint().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ applet

Applet Atom.applet
staticprivate

Definition at line 505 of file XYZApp.java.

Referenced by paint(), setApplet(), and Setup().

◆ balls

Image Atom.balls[]
private

Definition at line 516 of file XYZApp.java.

Referenced by paint(), and Setup().

◆ bgGrey

final int Atom.bgGrey = 192
staticprivate

Definition at line 510 of file XYZApp.java.

Referenced by Setup().

◆ Bl

int Atom.Bl
private

Definition at line 515 of file XYZApp.java.

Referenced by Atom(), and Setup().

◆ data

byte [] Atom.data
staticprivate

Definition at line 506 of file XYZApp.java.

Referenced by Setup().

◆ Gl

int Atom.Gl
private

Definition at line 514 of file XYZApp.java.

Referenced by Atom(), and Setup().

◆ hx

final int Atom.hx = 15
staticprivate

Definition at line 508 of file XYZApp.java.

◆ hy

final int Atom.hy = 15
staticprivate

Definition at line 509 of file XYZApp.java.

◆ maxr

int Atom.maxr
staticprivate

Definition at line 512 of file XYZApp.java.

Referenced by Setup().

◆ nBalls

final int Atom.nBalls = 16
staticprivate

Definition at line 511 of file XYZApp.java.

Referenced by Setup().

◆ R

final int Atom.R = 40
staticprivate

Definition at line 507 of file XYZApp.java.

Referenced by Setup().

◆ Rl

int Atom.Rl
private

Definition at line 513 of file XYZApp.java.

Referenced by Atom(), and Setup().


The documentation for this class was generated from the following file: