com.esri.arcgis.framework
Class ColorPalette

java.lang.Object
  extended by com.esri.arcgis.framework.ColorPalette
All Implemented Interfaces:
IColorPalette, ICustomColorPalette, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class ColorPalette
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IColorPalette, ICustomColorPalette

COM Class 'ColorPalette'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriFramework.olb'

Description 'Esri Color Palette object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.framework.IColorPalette
IID, IID14746473_1534_11d3_9f49_00c04f6bc709, xxDummy
 
Fields inherited from interface com.esri.arcgis.framework.ICustomColorPalette
IID, IID7f579088_5407_42f1_bd80_548e7f3c1e6e, xxDummy
 
Constructor Summary
ColorPalette()
          Constructs a ColorPalette using ArcGIS Engine.
ColorPalette(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ColorPalette theColorPalette = (ColorPalette) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IColor getColor()
          The Selected Color.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a ColorPalette.
 void setColorSetByRef(ISet rhs1)
          The Color Objects.
 boolean trackPopupMenu(tagRECT rect, IColor currentColor, boolean orientation, int hParentWnd)
          Show Color Palette.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorPalette

public ColorPalette()
             throws java.io.IOException,
                    java.net.UnknownHostException
Constructs a ColorPalette using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ColorPalette

public ColorPalette(java.lang.Object obj)
             throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ColorPalette theColorPalette = (ColorPalette) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ColorPalette.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

trackPopupMenu

public boolean trackPopupMenu(tagRECT rect,
                              IColor currentColor,
                              boolean orientation,
                              int hParentWnd)
                       throws java.io.IOException,
                              AutomationException
Show Color Palette.

Specified by:
trackPopupMenu in interface IColorPalette
Parameters:
rect - A Structure: com.esri.arcgis.system.tagRECT (in)
currentColor - A reference to a com.esri.arcgis.display.IColor (in)
orientation - The orientation (in)
hParentWnd - The hParentWnd (A COM typedef) (in)
Returns:
The ok
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColor

public IColor getColor()
                throws java.io.IOException,
                       AutomationException
The Selected Color.

Specified by:
getColor in interface IColorPalette
Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColorSetByRef

public void setColorSetByRef(ISet rhs1)
                      throws java.io.IOException,
                             AutomationException
The Color Objects.

Specified by:
setColorSetByRef in interface ICustomColorPalette
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.ISet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.