|
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
java.lang.Object | +----com.jconfig.win.MonitorMSVM
| Summary |
class MonitorMSVM
extends java.lang.Object
implements com.jconfig.Monitor
{
// Fields 17
private boolean bIsMainMonitor;
private Rectangle boundsRect;
private static final String copyrightString;
private int depth;
private static final int kOffsBoundsBottom;
private static final int kOffsBoundsLeft;
private static final int kOffsBoundsRight;
private static final int kOffsBoundsTop;
private static final int kOffsDepth;
private static final int kOffsIsMainMonitor;
private static final int kOffsRefNum;
private static final int kOffsWorkareaBottom;
private static final int kOffsWorkareaLeft;
private static final int kOffsWorkareaRight;
private static final int kOffsWorkareaTop;
private int refNum;
private Rectangle workareaRect;
// Constructors 1
MonitorMSVM(int[], int, int);
// 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 video monitor on Windows. See the Monitor interface for a description of each method.
| Fields |
· copyrightString | Summary | Top |
private static final String copyrightString
· boundsRect | Summary | Top |
private Rectangle boundsRect
· workareaRect | Summary | Top |
private Rectangle workareaRect
· depth | Summary | Top |
private int depth
· refNum | Summary | Top |
private int refNum
· bIsMainMonitor | Summary | Top |
private boolean bIsMainMonitor
· kOffsBoundsTop | Summary | Top |
private static final int kOffsBoundsTop
Offset of the top of the global bounds of the monitor.
· kOffsBoundsLeft | Summary | Top |
private static final int kOffsBoundsLeft
Offset of the left of the global bounds of the monitor.
· kOffsBoundsBottom | Summary | Top |
private static final int kOffsBoundsBottom
Offset of the bottom of the global bounds of the monitor.
· kOffsBoundsRight | Summary | Top |
private static final int kOffsBoundsRight
Offset of the right of the global bounds of the monitor.
· kOffsWorkareaTop | Summary | Top |
private static final int kOffsWorkareaTop
Offset of the top of the global work area of the monitor.
· kOffsWorkareaLeft | Summary | Top |
private static final int kOffsWorkareaLeft
Offset of the left of the global work area of the monitor.
· kOffsWorkareaBottom | Summary | Top |
private static final int kOffsWorkareaBottom
Offset of the bottom of the global work area of the monitor.
· kOffsWorkareaRight | Summary | Top |
private static final int kOffsWorkareaRight
Offset of the right of the global work area of the monitor.
· kOffsDepth | Summary | Top |
private static final int kOffsDepth
Offset of the depth of the monitor.
· kOffsIsMainMonitor | Summary | Top |
private static final int kOffsIsMainMonitor
Offset of a boolean indicating whether this is the main monitor.
· kOffsRefNum | Summary | Top |
private static final int kOffsRefNum
Offset of the reference number of the monitor.
| Constructors |
· MonitorMSVM | Summary | Top |
MonitorMSVM(int[] data,
int dataOffset,
int dataLen)
Create from any array of ints containing information on the monitor. See the 'kOffsXXX' constants for the significance of each int in the array.
| Methods |
· getBounds | Summary | Top |
public Rectangle getBounds()
- Implements:
- getBounds in interface Monitor
· getWorkarea | Summary | Top |
public Rectangle getWorkarea()
- Implements:
- getWorkarea in interface Monitor
· getDepth | Summary | Top |
public int getDepth()
- Implements:
- getDepth in interface Monitor
· isMainMonitor | Summary | Top |
public boolean isMainMonitor()
- Implements:
- isMainMonitor in interface Monitor
· setDepth | Summary | Top |
public int setDepth(int newDepth,
int flags)
- 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)
- 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 IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7