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

Class com.tolstoy.testjc.BrowserPanel

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Container
                       |
                       +----java.awt.Panel
                               |
                               +----com.tolstoy.testjc.BrowserPanel

Summary

    public class  BrowserPanel
         extends java.awt.Panel
    {
              // Fields 8
         DiskObject diskObject;
         int[] lgIconData;
         int lgIconH;
         int lgIconW;
         int[] smIconData;
         int smIconH;
         int smIconW;
         int which;

              // Constructors 1
         public BrowserPanel(int);

              // Methods 13
         String diskVolumeFlagsToString(int);
         private String getDateString(DiskFile);
         public DiskObject getDiskObject();
         private String getFinderInfoString(DiskFile);
         public void paint(Graphics);
         public Dimension preferredSize();
         public void setDiskObject(DiskObject);
         void showDiskAliasStrings(Graphics, int, int);
         void showDiskFileStrings(Graphics, int, int);
         void showDiskInformation(Graphics);
         void showDiskVolumeStrings(Graphics, int, int);
         void showLargeIcon(Graphics, int, int);
         void showSmallIcon(Graphics, int, int);
    }

Used by the DiskBrowser class. Displays information about a file, alias, directory, or volume. The disk object being displayed is set and retrieved by the BrowserFrame which contains this panel. Feel free to modify this file as you wish.

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

Fields

### · diskObject | Summary | Top

       DiskObject diskObject

### · smIconData | Summary | Top

       int[] smIconData

### · smIconW | Summary | Top

       int smIconW

### · smIconH | Summary | Top

       int smIconH

### · lgIconData | Summary | Top

       int[] lgIconData

### · lgIconW | Summary | Top

       int lgIconW

### · lgIconH | Summary | Top

       int lgIconH

### · which | Summary | Top

       int which

Constructors

### · BrowserPanel | Summary | Top

       public BrowserPanel(int i)

Methods

### · showDiskInformation | Summary | Top

       void showDiskInformation(Graphics g)

### · showLargeIcon | Summary | Top

       void showLargeIcon(Graphics g,
                          int x,
                          int y)

### · showSmallIcon | Summary | Top

       void showSmallIcon(Graphics g,
                          int x,
                          int y)

### · showDiskFileStrings | Summary | Top

       void showDiskFileStrings(Graphics g,
                                int x,
                                int y)

### · showDiskAliasStrings | Summary | Top

       void showDiskAliasStrings(Graphics g,
                                 int x,
                                 int y)

### · showDiskVolumeStrings | Summary | Top

       void showDiskVolumeStrings(Graphics g,
                                  int x,
                                  int y)

### · diskVolumeFlagsToString | Summary | Top

       String diskVolumeFlagsToString(int f)

### · getFinderInfoString | Summary | Top

       private String getFinderInfoString(DiskFile df)

### · getDateString | Summary | Top

       private String getDateString(DiskFile df)

### · getDiskObject | Summary | Top

       public DiskObject getDiskObject()

### · setDiskObject | Summary | Top

       public void setDiskObject(DiskObject dob)

### · preferredSize | Summary | Top

       public Dimension preferredSize()

> Overrides:
>   preferredSize in class Container

### · paint | Summary | Top

       public void paint(Graphics g)

> Overrides:
>   paint in class Container

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7