All Packages  This Package  Class Hierarchy  Class Search  Index

Class COM.tolstoy.jconfig.MonitorPlain
java.lang.Object
   |
   +----COM.tolstoy.jconfig.MonitorPlain

  Summary

public class  MonitorPlain
     extends java.lang.Object
     implements COM.tolstoy.jconfig.Monitor
{
          // Constructors 1
     public MonitorPlain();

          // Methods 7
     public void dumpInfo(PrintStream, String);
     public Rectangle getBounds();
     public int getDepth();
     public Rectangle getWorkarea();
     public boolean isMainMonitor();
     public int setDepth(int, int);
     public int setResolution(Dimension, Dimension, int);
}

Represents a monitor in cases where FileRegistryPlain is being used. Since this can only rely on standard Java, it can't return too much information.

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




  Constructors

· MonitorPlain

Summary  |  Top

   public MonitorPlain() 


  Methods

· getBounds

Summary  |  Top
   public Rectangle getBounds() 

Uses Toolkit.getDefaultToolkit().getScreenSize() to return this information.

Implements:
getBounds in interface Monitor


· getWorkarea

Summary  |  Top
   public Rectangle getWorkarea() 

Returns the same value as getBounds().

Implements:
getWorkarea in interface Monitor


· getDepth

Summary  |  Top
   public int getDepth() 

Unimplemented.

Implements:
getDepth in interface Monitor


· isMainMonitor

Summary  |  Top
   public boolean isMainMonitor() 

Always returns true.

Implements:
isMainMonitor in interface Monitor


· setDepth

Summary  |  Top
   public int setDepth(int newDepth, 
                       int flags) 

Unimplemented.

Implements:
setDepth in interface Monitor


· setResolution

Summary  |  Top
   public int setResolution(Dimension requestedRes, 
                            Dimension newRes, 
                            int flags) 

Unimplemented.

Implements:
setResolution in interface Monitor


· dumpInfo

Summary  |  Top
   public void dumpInfo(PrintStream ps, 
                        String indent) 


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