All Packages  This Package  Class Hierarchy  Class Search  Index

Class bmsi.fsp.PWin
java.lang.Object
   |
   +----bmsi.fsp.PWin

  Summary

public abstract class  PWin
     extends java.lang.Object
{
          // Fields 2
     int id;
     Rectangle loc;

          // Constructors 1
     public PWin(PWinMgr);

          // Methods 16
     public void fill(int, int, int, int, char) throws IOException;
     public int getScreenCols();
     public int getScreenRows();
     public boolean isOnTop();
     public boolean isVisible();
     public void paint() throws IOException;
     protected abstract void paint(int, int, int, int) throws IOException;
     public void repaint();
     public void repaint(int, int, int, int);
     void set();
     public void setAttr(int);
     public void setBounds(int, int, int, int);
     public void setVisible(boolean);
     public void toBack();
     public void toFront();
     public void write(int, int, char[], int, int) throws IOException;
}

A physical screen window. This class uses actual screen coordinates and windowizes the basic terminal operations: write, fill, copyArea.

Author:
Stuart D. Gathman Copyright (C) 2000 Business Management Systems, Inc.


  Cross Reference

Extended By:
FSComponent, FSMenuBar, FSMenuComponent

Returned By:
PWinMgr.delWin(), PWinMgr.getWin()





  Fields

· id

Summary  |  Top
   int id


· loc

Summary  |  Top
   Rectangle loc


  Constructors

· PWin

Summary  |  Top

   public PWin(PWinMgr wm) 


  Methods

· paint

Summary  |  Top
   protected abstract void paint(int x, 
                                 int y, 
                                 int w, 
                                 int h)  throws IOException

Called by PWinMgr when repainting a part of the screen owned by this PWin.



· getScreenRows

Summary  |  Top
   public int getScreenRows() 


· getScreenCols

Summary  |  Top
   public int getScreenCols() 


· repaint

Summary  |  Top
   public void repaint(int x, 
                       int y, 
                       int w, 
                       int h) 


· repaint

Summary  |  Top
   public void repaint() 


· set

Summary  |  Top
   void set() 


· paint

Summary  |  Top
   public void paint()  throws IOException


· isOnTop

Summary  |  Top
   public boolean isOnTop() 


· isVisible

Summary  |  Top
   public boolean isVisible() 


· setVisible

Summary  |  Top
   public void setVisible(boolean vis) 


· setBounds

Summary  |  Top
   public void setBounds(int x, 
                         int y, 
                         int w, 
                         int h) 


· toFront

Summary  |  Top
   public void toFront() 


· toBack

Summary  |  Top
   public void toBack() 


· setAttr

Summary  |  Top
   public void setAttr(int a) 


· fill

Summary  |  Top
   public void fill(int x, 
                    int y, 
                    int w, 
                    int h, 
                    char c)  throws IOException


· write

Summary  |  Top
   public void write(int x, 
                     int y, 
                     char[] c, 
                     int pos, 
                     int w)  throws IOException


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7