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

Public Member Functions

void destroy ()
 
String getAppletInfo ()
 
String[][] getParameterInfo ()
 
void init ()
 
void run ()
 
void start ()
 
void stop ()
 

Static Public Member Functions

static void main (String args[])
 

Private Member Functions

void applyMethod (int c[], int methodIndex, int step, int total, int vals[])
 
Image calculateImage ()
 
DitherMethod colorMethod (String s, int vals[])
 

Private Attributes

DitherCanvas canvas
 
Thread runner
 
DitherControls XControls
 
DitherControls YControls
 

Detailed Description

Definition at line 75 of file DitherTest.java.

Member Function Documentation

◆ applyMethod()

void DitherTest.applyMethod ( int  c[],
int  methodIndex,
int  step,
int  total,
int  vals[] 
)
private

Definition at line 213 of file DitherTest.java.

References DitherMethod.NOOP.

◆ calculateImage()

Image DitherTest.calculateImage ( )
private

Calculates and returns the image. Halts the calculation and returns null if the Applet is stopped during the calculation.

Definition at line 177 of file DitherTest.java.

References canvas(), DitherControls.getParams(), and runner.

Here is the call graph for this function:

◆ colorMethod()

DitherMethod DitherTest.colorMethod ( String  s,
int  vals[] 
)
private

Definition at line 125 of file DitherTest.java.

References DitherMethod.NOOP.

◆ destroy()

void DitherTest.destroy ( )

Definition at line 272 of file DitherTest.java.

References canvas().

Here is the call graph for this function:

◆ getAppletInfo()

String DitherTest.getAppletInfo ( )

Definition at line 279 of file DitherTest.java.

◆ getParameterInfo()

String [][] DitherTest.getParameterInfo ( )

Definition at line 284 of file DitherTest.java.

◆ init()

void DitherTest.init ( )

Definition at line 93 of file DitherTest.java.

References DitherControls.addRenderButton(), and canvas().

Referenced by main().

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

◆ main()

static void DitherTest.main ( String  args[])
static

Definition at line 82 of file DitherTest.java.

References init(), and start().

Here is the call graph for this function:

◆ run()

void DitherTest.run ( )

Definition at line 258 of file DitherTest.java.

References canvas(), and runner.

Here is the call graph for this function:

◆ start()

void DitherTest.start ( )

Definition at line 252 of file DitherTest.java.

References runner.

Referenced by main().

Here is the caller graph for this function:

◆ stop()

void DitherTest.stop ( )

Definition at line 267 of file DitherTest.java.

References runner.

Member Data Documentation

◆ canvas

DitherCanvas DitherTest.canvas
private

Definition at line 80 of file DitherTest.java.

◆ runner

Thread DitherTest.runner
private

Definition at line 77 of file DitherTest.java.

◆ XControls

DitherControls DitherTest.XControls
private

Definition at line 78 of file DitherTest.java.

◆ YControls

DitherControls DitherTest.YControls
private

Definition at line 79 of file DitherTest.java.


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