Back to index

moin  1.9.0~rc2
Public Member Functions | Private Attributes
CH.ifa.draw.twiki.TestFrame Class Reference
Collaboration diagram for CH.ifa.draw.twiki.TestFrame:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TestFrame ()
 TestFrame (String title)
void setImage (Image theImage)
void paint (Graphics g)
void update (Graphics g)

Private Attributes

Image image = null

Detailed Description

Definition at line 9 of file TestFrame.java.


Constructor & Destructor Documentation

Definition at line 13 of file TestFrame.java.

       {
              super();
       }
CH.ifa.draw.twiki.TestFrame.TestFrame ( String  title) [inline]

Definition at line 18 of file TestFrame.java.

       {
              super(title);
       }

Member Function Documentation

void CH.ifa.draw.twiki.TestFrame.paint ( Graphics  g) [inline]

Definition at line 33 of file TestFrame.java.

       {
              if(image != null) {
                     g.drawImage(image, 0, 20, this);
              }
//            g.setColor(Color.red);
//            g.fillOval(0, 20, 32, 52);
       }

Here is the caller graph for this function:

void CH.ifa.draw.twiki.TestFrame.setImage ( Image  theImage) [inline]

Definition at line 23 of file TestFrame.java.

       {
              image = theImage;
              MediaTracker tracker = new MediaTracker(this);
              tracker.addImage(theImage, 0);
              try {
                     tracker.waitForAll();
              } catch (Exception e) {  }
       }
void CH.ifa.draw.twiki.TestFrame.update ( Graphics  g) [inline]

Definition at line 42 of file TestFrame.java.

       {
              paint(g);
       }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Image CH.ifa.draw.twiki.TestFrame.image = null [private]

Definition at line 11 of file TestFrame.java.


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