|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.catalog.GxSpatialReferencesFolder
public class GxSpatialReferencesFolder
Container of spatial references (PRJ files).
Constructor Summary | |
---|---|
GxSpatialReferencesFolder()
Constructs a GxSpatialReferencesFolder using ArcGIS Engine. |
|
GxSpatialReferencesFolder(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GxSpatialReferencesFolder theGxSpatialReferencesFolder = (GxSpatialReferencesFolder) obj; |
Method Summary | |
---|---|
IGxObject |
addChild(IGxObject child)
Adds a new child and returns a reference to it. |
void |
attach(IGxObject parent,
IGxCatalog pCatalog)
Attaches the object to its parent and the catalog. |
boolean |
canCopy()
Indicates if the object can be copied. |
boolean |
canDelete()
Indicates if the object can be deleted. |
boolean |
canPaste(IEnumName names,
boolean[] moveOperation)
Indicates if the specified names may be pasted into this object. |
boolean |
canRename()
Indicates if the object can be renamed. |
void |
delete()
Deletes the object. |
void |
deleteChild(IGxObject child)
Deletes the specified child object. |
void |
detach()
Instructs the object to detach itself from its parent and the catalog. |
void |
editProperties(int hParent)
Presents a modal dialog to allow editing the object's properties. |
boolean |
equals(Object o)
Compare this object with another |
String |
getBaseName()
The base name of the object (i.e. |
String |
getCategory()
The category of the object. |
IEnumGxObject |
getChildren()
An enumeration of the child objects. |
IUID |
getClassID()
The class ID of this object. |
static String |
getClsid()
getClsid. |
IUID |
getContextMenu()
The class ID of the context menu for this object. |
IDataElement |
getDataElement(IDEBrowseOptions browseOptions)
Get the GxObject's data element. |
String |
getFullName()
The full name of the object. |
IName |
getInternalObjectName()
The Name for the internal object that this GxObject represents. |
int |
getLargeImage()
The large image that represents the object. |
int |
getLargeSelectedImage()
The large image that represents the object when it is selected. |
String |
getName()
The short name of the object. |
IUID |
getNewMenu()
The class ID of the New menu for this object. |
IGxObject |
getParent()
The parent of the object. |
String |
getPath()
The full path for the spatial references folder. |
void |
getPropByIndex(int index,
String[] name,
Object[] value)
The name and value of the indexed property in the GxObject. |
Object |
getProperty(String name)
The value of the named property in the GxObject. |
int |
getPropertyCount()
The number of properties in the GxObject. |
int |
getSmallImage()
The small image that represents the object. |
int |
getSmallSelectedImage()
The small image that represents the object when it is selected. |
int |
getSortPriority()
Returns the sort priority for the Root level Object. |
int |
hashCode()
the hashcode for this object |
boolean |
isAreChildrenViewable()
Indicates if the objects children are available for viewing in the tree-view. |
boolean |
isEnabled()
Indicates whether the Root level Object will be visible during startup. |
boolean |
isHasChildren()
Indicates if the object has any children. |
boolean |
isValid()
Indicates if the object is still valid. |
void |
loadCachedObjects()
Loads any objects that should be cached for efficiency. |
boolean |
paste(IEnumName names,
boolean[] moveOperation)
Pastes the specified names into this object. |
void |
refresh()
Updates the object and any children of the object. |
void |
releaseCachedObjects()
Releases any objects that have been cached for efficiency. |
void |
rename(String newShortName)
Renames the object. |
void |
retrieveDEBaseProperties(IDataElement[] dataElement)
Retrieve the GxObject's light-weight properties. |
void |
retrieveDEFullProperties(IDataElement[] dataElement)
Retrieve the GxObject's heavy-weight properties. |
void |
setPath(String path)
The full path for the spatial references folder. |
void |
setProperty(String name,
Object value)
Set the value of the named property in the GxObject. |
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 |
---|
public GxSpatialReferencesFolder() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GxSpatialReferencesFolder(Object obj) throws IOException
GxSpatialReferencesFolder theGxSpatialReferencesFolder = (GxSpatialReferencesFolder) obj;
obj
to GxSpatialReferencesFolder
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFullName() throws IOException, AutomationException
getFullName
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getBaseName() throws IOException, AutomationException
getBaseName
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
getCategory
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxObject getParent() throws IOException, AutomationException
getParent
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getClassID() throws IOException, AutomationException
getClassID
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IName getInternalObjectName() throws IOException, AutomationException
getInternalObjectName
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValid() throws IOException, AutomationException
isValid
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void attach(IGxObject parent, IGxCatalog pCatalog) throws IOException, AutomationException
attach
in interface IGxObject
parent
- A reference to a com.esri.arcgis.catalog.IGxObject (in)pCatalog
- A reference to a com.esri.arcgis.catalog.IGxCatalog (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void detach() throws IOException, AutomationException
detach
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws IOException, AutomationException
refresh
in interface IGxObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasChildren() throws IOException, AutomationException
Note: This property always return True even when it has no children. This was done to improve the overall ArcCatalog browsing performance.
isHasChildren
in interface IGxObjectContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumGxObject getChildren() throws IOException, AutomationException
getChildren
in interface IGxObjectContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAreChildrenViewable() throws IOException, AutomationException
isAreChildrenViewable
in interface IGxObjectContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxObject addChild(IGxObject child) throws IOException, AutomationException
addChild
in interface IGxObjectContainer
child
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteChild(IGxObject child) throws IOException, AutomationException
deleteChild
in interface IGxObjectContainer
child
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canRename() throws IOException, AutomationException
canRename
in interface IGxObjectEdit
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void rename(String newShortName) throws IOException, AutomationException
rename
in interface IGxObjectEdit
newShortName
- The newShortName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canDelete() throws IOException, AutomationException
canDelete
in interface IGxObjectEdit
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete() throws IOException, AutomationException
delete
in interface IGxObjectEdit
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void editProperties(int hParent) throws IOException, AutomationException
editProperties
in interface IGxObjectEdit
hParent
- The hParent (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canCopy() throws IOException, AutomationException
CanCopy must return True if your customized GxObject is intended to support copy/paste, drag/drop within ArcCatalog or drag/drop from ArcCatalog to ArcMap.
canCopy
in interface IGxObjectEdit
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPropertyCount() throws IOException, AutomationException
getPropertyCount
in interface IGxObjectProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getPropByIndex(int index, String[] name, Object[] value) throws IOException, AutomationException
getPropByIndex
in interface IGxObjectProperties
index
- The index (in)name
- The name (in/out: use single element array)value
- A Variant (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getProperty(String name) throws IOException, AutomationException
getProperty
in interface IGxObjectProperties
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setProperty(String name, Object value) throws IOException, AutomationException
setProperty
in interface IGxObjectProperties
name
- The name (in)value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSmallImage() throws IOException, AutomationException
getSmallImage
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSmallSelectedImage() throws IOException, AutomationException
getSmallSelectedImage
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLargeImage() throws IOException, AutomationException
getLargeImage
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLargeSelectedImage() throws IOException, AutomationException
getLargeSelectedImage
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getContextMenu() throws IOException, AutomationException
getContextMenu
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getNewMenu() throws IOException, AutomationException
getNewMenu
in interface IGxObjectUI
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canPaste(IEnumName names, boolean[] moveOperation) throws IOException, AutomationException
canPaste
in interface IGxPasteTarget
names
- A reference to a com.esri.arcgis.system.IEnumName (in)moveOperation
- The moveOperation (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean paste(IEnumName names, boolean[] moveOperation) throws IOException, AutomationException
paste
in interface IGxPasteTarget
names
- A reference to a com.esri.arcgis.system.IEnumName (in)moveOperation
- The moveOperation (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadCachedObjects() throws IOException, AutomationException
loadCachedObjects
in interface IGxCachedObjects
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void releaseCachedObjects() throws IOException, AutomationException
releaseCachedObjects
in interface IGxCachedObjects
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPath(String path) throws IOException, AutomationException
setPath
in interface IGxSpatialReferencesFolder
path
- The path (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getPath() throws IOException, AutomationException
getPath
in interface IGxSpatialReferencesFolder
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataElement getDataElement(IDEBrowseOptions browseOptions) throws IOException, AutomationException
getDataElement
in interface IGxDataElement
browseOptions
- A reference to a com.esri.arcgis.geodatabase.IDEBrowseOptions (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void retrieveDEFullProperties(IDataElement[] dataElement) throws IOException, AutomationException
retrieveDEFullProperties
in interface IGxDataElementHelper
dataElement
- A reference to a com.esri.arcgis.geodatabase.IDataElement (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void retrieveDEBaseProperties(IDataElement[] dataElement) throws IOException, AutomationException
retrieveDEBaseProperties
in interface IGxDataElementHelper
dataElement
- A reference to a com.esri.arcgis.geodatabase.IDataElement (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnabled() throws IOException, AutomationException
isEnabled
in interface IGxRootObjectStartupProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSortPriority() throws IOException, AutomationException
getSortPriority
in interface IGxRootObjectSortPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |