Main Page
    Cookbook/Overview     ImageMeister     the jcprops file     Licensing
    Binary Installation & Configuration [ Win · Mac · Nix · OSX ]     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 · OSX ]     Distribution Issues

All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.jconfig.MonitorPlain
java.lang.Object
   |
   +----com.jconfig.MonitorPlain

  Summary

public class  MonitorPlain
     extends java.lang.Object
     implements com.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-2002 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.

Returns:
always returns 0
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.

Throws: UnimplementedException
this method always throws an UnimplementedException
Implements:
setDepth in interface Monitor


· setResolution

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

Unimplemented.

Throws: UnimplementedException
this method always throws an UnimplementedException
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