|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.globecore.GlobeDocument
public class GlobeDocument
COM Class 'GlobeDocument'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'
Description 'The GlobeDocument coclass is used to read and write globe document files.' 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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.carto.IGlobeDocument |
---|
IID, IIDd2bcaf32_541c_4965_9980_aae56ab3a964, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IDocumentVersion |
---|
IID, IIDecc43c55_0148_4ec1_bf87_b9a183c5dc98, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IDocumentInfo |
---|
IID, IIDd3e5c54e_2a84_11d4_9ff2_00c04f6bc78e, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IDocumentInfo2 |
---|
IID, IIDd3e5c54f_2a84_11d4_9ff2_00c04f6bc78e, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IDocumentPreview |
---|
IID, IIDefe86eff_4c92_47b8_af1b_2d7ded932e24, xxDummy |
Constructor Summary | |
---|---|
GlobeDocument()
Constructs a GlobeDocument using ArcGIS Engine. |
|
GlobeDocument(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GlobeDocument theGlobeDocument = (GlobeDocument) obj; |
Method Summary | |
---|---|
void |
close()
Close the globe document. |
void |
createPreview()
Creates a thumbnail preview of the document. |
void |
deletePreview()
Deletes the thumbnail preview of the document. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
esri_new(java.lang.String bsDocument)
Creates and opens a new globe document in preparation for the contents to be retrieve or updated. |
java.lang.String |
getAuthor()
The author of the document. |
java.lang.String |
getCategory()
The category of the document. |
static java.lang.String |
getClsid()
getClsid. |
java.lang.String |
getComments()
Comments for the document. |
java.lang.String |
getCredits()
The credits of the document. |
java.lang.Object |
getDateExported()
Date the document was last exported. |
java.lang.Object |
getDatePrinted()
Date the document was last printed. |
java.lang.Object |
getDateSaved()
Date the document was last saved. |
java.lang.String |
getDocumentFilename()
The globe document filename that the GlobeDocument coclass is linked to. |
java.lang.String |
getDocumentTitle()
The title of the document. |
int |
getDocumentType()
The type of globe document currently loaded in the object. |
int |
getDocumentVersion()
Indicates if the version of the globe document is compatible with the current version of software. |
java.lang.String |
getFolder()
The folder of the document. |
java.lang.Object |
getGlobeObject()
The Globe object. |
java.lang.String |
getHyperlinkBase()
The hyperlink base of the document. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getKeywords()
The keywords for the document. |
ILayer |
getLayer(int lLayerIndex)
The Layer object at the specified index. |
int |
getLayerCount()
The number of Layer objects contained within the globe document. |
java.lang.String |
getName()
The name of the document. |
java.lang.String |
getPath()
The path of the document. |
java.lang.String |
getSubject()
The subject of the document. |
IPicture |
getThumbnail()
The thumbnail stored in the globe document. |
void |
getVersionInfo(boolean[] pbVersionInfoMissing,
int[] plMajor,
int[] plMinor,
int[] plRevision,
int[] plBuild)
Retrieve the detailed version information of the globe document. |
int |
hashCode()
the hashcode for this object |
boolean |
isGlobeDocument(java.lang.String bsDocument)
Indicates if the globe document is a valid globe document. |
boolean |
isHasPreviewSaved()
Indicates the presence of a thumbnail preview in the document. |
boolean |
isHasPreviewToSave()
Indicates the presence of a thumbnail preview to be saved with the document. |
boolean |
isPasswordProtected(java.lang.String bsDocument)
Indicates if the globe document is protected by a passsword. |
boolean |
isPresent(java.lang.String bsDocument)
Indicates if the globe document is present. |
boolean |
isReadOnly(java.lang.String bsDocument)
Indicates if the globe document is read only. |
boolean |
isRelativePaths()
Indicates if relative path is used when the document is saved. |
boolean |
isRestricted(java.lang.String bsDocument)
Indicates if the use of the globe document is restricted to certain applications. |
boolean |
isSavePreview()
Indicates if a preview of the document is saved when the document is saved. |
boolean |
isUsesRelativePaths()
Indicates if the data in the globe document is referenced using relative paths. |
void |
open(java.lang.String bsDocument,
java.lang.String bsPassword)
Open the globe document in preparation for the contents to be retrieved or updated. |
void |
release()
Release a GlobeDocument. |
void |
save(boolean bUseRelativePaths,
boolean bCreateThumnbail)
Save the contents of the globe document to the bound file. |
void |
saveAs(java.lang.String bsDocument,
boolean bUseRelativePaths,
boolean bCreateThumnbail)
Save the contents of the globe document to the specified file name. |
void |
setAuthor(java.lang.String author)
The author of the document. |
void |
setCategory(java.lang.String category)
The category of the document. |
void |
setComments(java.lang.String comments)
Comments for the document. |
void |
setCredits(java.lang.String credits)
The credits of the document. |
void |
setDocumentTitle(java.lang.String title)
The title of the document. |
void |
setDocumentVersion(int docVersion)
The version of the document to save. |
void |
setGlobeObject(java.lang.Object ppUnk)
The Globe object. |
void |
setHyperlinkBase(java.lang.String path)
The hyperlink base of the document. |
void |
setKeywords(java.lang.String keywords)
The keywords for the document. |
void |
setRelativePaths(boolean useRelativePaths)
Indicates if relative path is used when the document is saved. |
void |
setSavePreview(boolean savePreview)
Indicates if a preview of the document is saved when the document is saved. |
void |
setSubject(java.lang.String subject)
The subject of the document. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobeDocument() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic GlobeDocument(java.lang.Object obj) throws java.io.IOException
GlobeDocument theGlobeDocument = (GlobeDocument) obj;
obj
to GlobeDocument
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public boolean isGlobeDocument(java.lang.String bsDocument) throws java.io.IOException, AutomationException
isGlobeDocument
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPresent(java.lang.String bsDocument) throws java.io.IOException, AutomationException
isPresent
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReadOnly(java.lang.String bsDocument) throws java.io.IOException, AutomationException
isReadOnly
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRestricted(java.lang.String bsDocument) throws java.io.IOException, AutomationException
isRestricted
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPasswordProtected(java.lang.String bsDocument) throws java.io.IOException, AutomationException
isPasswordProtected
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_new(java.lang.String bsDocument) throws java.io.IOException, AutomationException
esri_new
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void open(java.lang.String bsDocument, java.lang.String bsPassword) throws java.io.IOException, AutomationException
open
in interface IGlobeDocument
bsDocument
- The bsDocument (in)bsPassword
- The bsPassword (in, optional, pass if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDocumentFilename() throws java.io.IOException, AutomationException
getDocumentFilename
in interface IGlobeDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDocumentType() throws java.io.IOException, AutomationException
getDocumentType
in interface IGlobeDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUsesRelativePaths() throws java.io.IOException, AutomationException
isUsesRelativePaths
in interface IGlobeDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDocumentVersion() throws java.io.IOException, AutomationException
getDocumentVersion
in interface IGlobeDocument
getDocumentVersion
in interface IDocumentVersion
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGlobeObject(java.lang.Object ppUnk) throws java.io.IOException, AutomationException
setGlobeObject
in interface IGlobeDocument
ppUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getGlobeObject() throws java.io.IOException, AutomationException
getGlobeObject
in interface IGlobeDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLayerCount() throws java.io.IOException, AutomationException
getLayerCount
in interface IGlobeDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer(int lLayerIndex) throws java.io.IOException, AutomationException
getLayer
in interface IGlobeDocument
lLayerIndex
- The lLayerIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPicture getThumbnail() throws java.io.IOException, AutomationException
getThumbnail
in interface IGlobeDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void close() throws java.io.IOException, AutomationException
close
in interface IGlobeDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getVersionInfo(boolean[] pbVersionInfoMissing, int[] plMajor, int[] plMinor, int[] plRevision, int[] plBuild) throws java.io.IOException, AutomationException
getVersionInfo
in interface IGlobeDocument
pbVersionInfoMissing
- The pbVersionInfoMissing (in/out: use single element array)plMajor
- The plMajor (in/out: use single element array)plMinor
- The plMinor (in/out: use single element array)plRevision
- The plRevision (in/out: use single element array)plBuild
- The plBuild (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(boolean bUseRelativePaths, boolean bCreateThumnbail) throws java.io.IOException, AutomationException
save
in interface IGlobeDocument
bUseRelativePaths
- The bUseRelativePaths (in, optional, pass true if not required)bCreateThumnbail
- The bCreateThumnbail (in, optional, pass true if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveAs(java.lang.String bsDocument, boolean bUseRelativePaths, boolean bCreateThumnbail) throws java.io.IOException, AutomationException
saveAs
in interface IGlobeDocument
bsDocument
- The bsDocument (in)bUseRelativePaths
- The bUseRelativePaths (in, optional, pass true if not required)bCreateThumnbail
- The bCreateThumnbail (in, optional, pass true if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentVersion(int docVersion) throws java.io.IOException, AutomationException
setDocumentVersion
in interface IDocumentVersion
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDocumentTitle() throws java.io.IOException, AutomationException
getDocumentTitle
in interface IDocumentInfo
getDocumentTitle
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentTitle(java.lang.String title) throws java.io.IOException, AutomationException
setDocumentTitle
in interface IDocumentInfo
setDocumentTitle
in interface IDocumentInfo2
title
- The title (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSubject() throws java.io.IOException, AutomationException
getSubject
in interface IDocumentInfo
getSubject
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSubject(java.lang.String subject) throws java.io.IOException, AutomationException
setSubject
in interface IDocumentInfo
setSubject
in interface IDocumentInfo2
subject
- The subject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getAuthor() throws java.io.IOException, AutomationException
getAuthor
in interface IDocumentInfo
getAuthor
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAuthor(java.lang.String author) throws java.io.IOException, AutomationException
setAuthor
in interface IDocumentInfo
setAuthor
in interface IDocumentInfo2
author
- The author (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCategory() throws java.io.IOException, AutomationException
getCategory
in interface IDocumentInfo
getCategory
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCategory(java.lang.String category) throws java.io.IOException, AutomationException
setCategory
in interface IDocumentInfo
setCategory
in interface IDocumentInfo2
category
- The category (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getComments() throws java.io.IOException, AutomationException
getComments
in interface IDocumentInfo
getComments
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setComments(java.lang.String comments) throws java.io.IOException, AutomationException
setComments
in interface IDocumentInfo
setComments
in interface IDocumentInfo2
comments
- The comments (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getKeywords() throws java.io.IOException, AutomationException
getKeywords
in interface IDocumentInfo
getKeywords
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeywords(java.lang.String keywords) throws java.io.IOException, AutomationException
setKeywords
in interface IDocumentInfo
setKeywords
in interface IDocumentInfo2
keywords
- The keywords (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getHyperlinkBase() throws java.io.IOException, AutomationException
getHyperlinkBase
in interface IDocumentInfo
getHyperlinkBase
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHyperlinkBase(java.lang.String path) throws java.io.IOException, AutomationException
setHyperlinkBase
in interface IDocumentInfo
setHyperlinkBase
in interface IDocumentInfo2
path
- The path (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSavePreview() throws java.io.IOException, AutomationException
isSavePreview
in interface IDocumentInfo
isSavePreview
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSavePreview(boolean savePreview) throws java.io.IOException, AutomationException
setSavePreview
in interface IDocumentInfo
setSavePreview
in interface IDocumentInfo2
savePreview
- The savePreview (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCredits() throws java.io.IOException, AutomationException
getCredits
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCredits(java.lang.String credits) throws java.io.IOException, AutomationException
setCredits
in interface IDocumentInfo2
credits
- The credits (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRelativePaths() throws java.io.IOException, AutomationException
isRelativePaths
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelativePaths(boolean useRelativePaths) throws java.io.IOException, AutomationException
setRelativePaths
in interface IDocumentInfo2
useRelativePaths
- The useRelativePaths (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPath() throws java.io.IOException, AutomationException
getPath
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFolder() throws java.io.IOException, AutomationException
getFolder
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getDateSaved() throws java.io.IOException, AutomationException
getDateSaved
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getDatePrinted() throws java.io.IOException, AutomationException
getDatePrinted
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getDateExported() throws java.io.IOException, AutomationException
getDateExported
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createPreview() throws java.io.IOException, AutomationException
createPreview
in interface IDocumentPreview
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deletePreview() throws java.io.IOException, AutomationException
deletePreview
in interface IDocumentPreview
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasPreviewSaved() throws java.io.IOException, AutomationException
isHasPreviewSaved
in interface IDocumentPreview
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasPreviewToSave() throws java.io.IOException, AutomationException
isHasPreviewToSave
in interface IDocumentPreview
java.io.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 |