Back to index

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

List of all members.

Public Member Functions

void init ()
void paletteUserSelected (PaletteButton button)
 Handles a user selection in the palette.
void paletteUserOver (PaletteButton button, boolean inside)
 Handles when the mouse enters or leaves a palette button.

Static Public Attributes

static final String IMAGES = "images/"

Private Attributes

transient ToolButton fDefaultToolButton
Iconkit fIconkit

Static Private Attributes

static final String fgDrawPath = "/CH/ifa/draw/"

Detailed Description

Definition at line 21 of file TestApplet.java.


Member Function Documentation

Definition at line 32 of file TestApplet.java.

                       {
        fIconkit = new Iconkit(this);
/*
       ImageIcon icon = new ImageIcon( IMAGES.substring(1)+"SEL1.gif");
       JButton fred = new JButton(icon);
       add(fred);
*/
        fDefaultToolButton = new ToolButton(this, IMAGES+"SEL",
                                       "Selection Tool",
                                       null);
        add(fDefaultToolButton);
    }

Here is the caller graph for this function:

void CH.ifa.draw.applet.TestApplet.paletteUserOver ( PaletteButton  button,
boolean  inside 
) [inline]

Handles when the mouse enters or leaves a palette button.

See also:
PaletteListener

Definition at line 56 of file TestApplet.java.

                                                                      {
        if (inside)
            showStatus(((ToolButton) button).name());
        else
           showStatus("Not over");
    }
void CH.ifa.draw.applet.TestApplet.paletteUserSelected ( PaletteButton  button) [inline]

Handles a user selection in the palette.

See also:
PaletteListener

Definition at line 49 of file TestApplet.java.

                                                          {
    }

Member Data Documentation

transient ToolButton CH.ifa.draw.applet.TestApplet.fDefaultToolButton [private]

Definition at line 25 of file TestApplet.java.

final String CH.ifa.draw.applet.TestApplet.fgDrawPath = "/CH/ifa/draw/" [static, private]

Definition at line 29 of file TestApplet.java.

Definition at line 27 of file TestApplet.java.

final String CH.ifa.draw.applet.TestApplet.IMAGES = "images/" [static]

Definition at line 30 of file TestApplet.java.


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