Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix ] Distribution Issues

    All Packages  This Package  Class Hierarchy  Class Search  Index

Interface com.tolstoy.imagemeister.GSPCallback

Summary

    interface  GSPCallback
    {
              // Fields 1
         public static final String copyright;

              // Methods 3
         public abstract boolean handleKeyPress(Event, int);
         public abstract void itemDoubleClicked(int);
         public abstract void paintItem(Graphics, int, int, int, int, int, boolean);
    }

The GridScrollerPanel class is used to display the grid of file/folder icons. When creating that class, you pass it an object which implements the GSPCallback interface. The GridScrollerPanel class will call the paintItem() method to draw the individual icons which make up the grid. It will call the itemDoubleClicked() method when an item is double-clicked, and the handleKeyPress() method when a key is pressed.

Author:
  Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.

Cross Reference

Implemented By:
  BrowserDisplay

Fields

### · copyright | Summary | Top

       public static final String copyright

Methods

### · itemDoubleClicked | Summary | Top

       public abstract void itemDoubleClicked(int which)

### · paintItem | Summary | Top

       public abstract void paintItem(Graphics g,
                                      int which,
                                      int x,
                                      int y,
                                      int w,
                                      int h,
                                      boolean bSelected)

### · handleKeyPress | Summary | Top

       public abstract boolean handleKeyPress(Event e,
                                              int curChic)

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7