com.esri.arcgis.display
Class MonitorSettings

java.lang.Object
  extended by com.esri.arcgis.display.MonitorSettings
All Implemented Interfaces:
IMonitorSettings, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class MonitorSettings
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IMonitorSettings

This object stores color settings specifically for one monitor to optimize color representation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Singleton:

This type is a singleton.

See Also:
Serialized Form

Constructor Summary
MonitorSettings()
          Constructs a MonitorSettings using ArcGIS Engine.
MonitorSettings(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MonitorSettings theMonitorSettings = (MonitorSettings) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 void getBluePoint(double[] x, double[] y)
          The blue point of the monitor (0 <= x <= 1, 0 <= y <= 1.
static String getClsid()
          getClsid.
 double getGamma()
          The gamma value of the monitor.
 void getGreenPoint(double[] x, double[] y)
          The green point of the monitor (0 <= x <= 1, 0 <= y <= 1.
 String getMonitorName()
          The name of the monitor.
 String getPhosphorName()
          The phosphor name of the monitor.
 void getRedPoint(double[] x, double[] y)
          The red point of the monitor (0 <= x <= 1, 0 <= y <= 1.
 void getWhitePoint(double[] x, double[] y)
          The white point of the monitor (0 <= x <= 1, 0 <= y <= 1.
 String getWhitePointName()
          The white point name of the monitor.
 int hashCode()
          the hashcode for this object
 void setBluePoint(double x, double y)
          The blue point of the monitor (0 <= x <= 1, 0 <= y <= 1.
 void setGamma(double gamma)
          The gamma value of the monitor.
 void setGreenPoint(double x, double y)
          The green point of the monitor (0 <= x <= 1, 0 <= y <= 1.
 void setMonitorName(String name)
          The name of the monitor.
 void setPhosphorName(String name)
          The phosphor name of the monitor.
 void setRedPoint(double x, double y)
          The red point of the monitor (0 <= x <= 1, 0 <= y <= 1.
 void setWhitePoint(double x, double y)
          The white point of the monitor (0 <= x <= 1, 0 <= y <= 1.
 void setWhitePointName(String name)
          The white point name of the monitor.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

MonitorSettings

public MonitorSettings()
                throws IOException,
                       UnknownHostException
Constructs a MonitorSettings using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

MonitorSettings

public MonitorSettings(Object obj)
                throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MonitorSettings theMonitorSettings = (MonitorSettings) obj;

Construct a MonitorSettings using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to MonitorSettings.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setMonitorName

public void setMonitorName(String name)
                    throws IOException,
                           AutomationException
The name of the monitor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setMonitorName in interface IMonitorSettings
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMonitorName

public String getMonitorName()
                      throws IOException,
                             AutomationException
The name of the monitor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getMonitorName in interface IMonitorSettings
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGamma

public void setGamma(double gamma)
              throws IOException,
                     AutomationException
The gamma value of the monitor. ( 1 <= gamma value <= 3).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setGamma in interface IMonitorSettings
Parameters:
gamma - The gamma (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGamma

public double getGamma()
                throws IOException,
                       AutomationException
The gamma value of the monitor. ( 1 <= gamma value <= 3).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getGamma in interface IMonitorSettings
Returns:
The gamma
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWhitePointName

public void setWhitePointName(String name)
                       throws IOException,
                              AutomationException
The white point name of the monitor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setWhitePointName in interface IMonitorSettings
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWhitePointName

public String getWhitePointName()
                         throws IOException,
                                AutomationException
The white point name of the monitor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getWhitePointName in interface IMonitorSettings
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPhosphorName

public void setPhosphorName(String name)
                     throws IOException,
                            AutomationException
The phosphor name of the monitor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setPhosphorName in interface IMonitorSettings
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPhosphorName

public String getPhosphorName()
                       throws IOException,
                              AutomationException
The phosphor name of the monitor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getPhosphorName in interface IMonitorSettings
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWhitePoint

public void setWhitePoint(double x,
                          double y)
                   throws IOException,
                          AutomationException
The white point of the monitor (0 <= x <= 1, 0 <= y <= 1.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setWhitePoint in interface IMonitorSettings
Parameters:
x - The x (in)
y - The y (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWhitePoint

public void getWhitePoint(double[] x,
                          double[] y)
                   throws IOException,
                          AutomationException
The white point of the monitor (0 <= x <= 1, 0 <= y <= 1.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getWhitePoint in interface IMonitorSettings
Parameters:
x - The x (out: use single element array)
y - The y (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRedPoint

public void setRedPoint(double x,
                        double y)
                 throws IOException,
                        AutomationException
The red point of the monitor (0 <= x <= 1, 0 <= y <= 1.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setRedPoint in interface IMonitorSettings
Parameters:
x - The x (in)
y - The y (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRedPoint

public void getRedPoint(double[] x,
                        double[] y)
                 throws IOException,
                        AutomationException
The red point of the monitor (0 <= x <= 1, 0 <= y <= 1.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRedPoint in interface IMonitorSettings
Parameters:
x - The x (out: use single element array)
y - The y (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGreenPoint

public void setGreenPoint(double x,
                          double y)
                   throws IOException,
                          AutomationException
The green point of the monitor (0 <= x <= 1, 0 <= y <= 1.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setGreenPoint in interface IMonitorSettings
Parameters:
x - The x (in)
y - The y (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGreenPoint

public void getGreenPoint(double[] x,
                          double[] y)
                   throws IOException,
                          AutomationException
The green point of the monitor (0 <= x <= 1, 0 <= y <= 1.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getGreenPoint in interface IMonitorSettings
Parameters:
x - The x (out: use single element array)
y - The y (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBluePoint

public void setBluePoint(double x,
                         double y)
                  throws IOException,
                         AutomationException
The blue point of the monitor (0 <= x <= 1, 0 <= y <= 1.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setBluePoint in interface IMonitorSettings
Parameters:
x - The x (in)
y - The y (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBluePoint

public void getBluePoint(double[] x,
                         double[] y)
                  throws IOException,
                         AutomationException
The blue point of the monitor (0 <= x <= 1, 0 <= y <= 1.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getBluePoint in interface IMonitorSettings
Parameters:
x - The x (out: use single element array)
y - The y (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.