|
|||||||||
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
The GlobeDocument coclass is used to read and write globe document files.
Constructor Summary | |
---|---|
GlobeDocument()
Constructs a GlobeDocument using ArcGIS Engine. |
|
GlobeDocument(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(Object o)
Compare this object with another |
void |
esri_new(String bsDocument)
Creates and opens a new globe document in preparation for the contents to be retrieve or updated. |
String |
getAuthor()
The author of the document. |
String |
getCategory()
The category of the document. |
static String |
getClsid()
getClsid. |
String |
getComments()
Comments for the document. |
String |
getCredits()
The credits of the document. |
Object |
getDateExported()
Date the document was last exported. |
Object |
getDatePrinted()
Date the document was last printed. |
Object |
getDateSaved()
Date the document was last saved. |
String |
getDocumentFilename()
The globe document filename that the GlobeDocument coclass is linked to. |
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. |
String |
getFolder()
The folder of the document. |
Object |
getGlobeObject()
The Globe object. |
String |
getHyperlinkBase()
The hyperlink base of the document. |
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. |
String |
getName()
The name of the document. |
String |
getPath()
The path of the document. |
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(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(String bsDocument)
Indicates if the globe document is protected by a passsword. |
boolean |
isPresent(String bsDocument)
Indicates if the globe document is present. |
boolean |
isReadOnly(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(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(String bsDocument,
String bsPassword)
Open the globe document in preparation for the contents to be retrieved or updated. |
void |
save(boolean bUseRelativePaths,
boolean bCreateThumnbail)
Save the contents of the globe document to the bound file. |
void |
saveAs(String bsDocument,
boolean bUseRelativePaths,
boolean bCreateThumnbail)
Save the contents of the globe document to the specified file name. |
void |
setAuthor(String author)
The author of the document. |
void |
setCategory(String category)
The category of the document. |
void |
setComments(String comments)
Comments for the document. |
void |
setCredits(String credits)
The credits of the document. |
void |
setDocumentTitle(String title)
The title of the document. |
void |
setDocumentVersion(int docVersion)
The version of the document to save. |
void |
setGlobeObject(Object ppUnk)
The Globe object. |
void |
setHyperlinkBase(String path)
The hyperlink base of the document. |
void |
setKeywords(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(String subject)
The subject of the document. |
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 GlobeDocument() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GlobeDocument(Object obj) throws IOException
GlobeDocument theGlobeDocument = (GlobeDocument) obj;
obj
to GlobeDocument
.
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 boolean isGlobeDocument(String bsDocument) throws IOException, AutomationException
isGlobeDocument
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPresent(String bsDocument) throws IOException, AutomationException
isPresent
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReadOnly(String bsDocument) throws IOException, AutomationException
isReadOnly
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRestricted(String bsDocument) throws IOException, AutomationException
isRestricted
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPasswordProtected(String bsDocument) throws IOException, AutomationException
isPasswordProtected
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_new(String bsDocument) throws IOException, AutomationException
esri_new
in interface IGlobeDocument
bsDocument
- The bsDocument (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void open(String bsDocument, String bsPassword) throws IOException, AutomationException
open
in interface IGlobeDocument
bsDocument
- The bsDocument (in)bsPassword
- The bsPassword (in, optional, pass if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDocumentFilename() throws IOException, AutomationException
getDocumentFilename
in interface IGlobeDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDocumentType() throws IOException, AutomationException
getDocumentType
in interface IGlobeDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUsesRelativePaths() throws IOException, AutomationException
isUsesRelativePaths
in interface IGlobeDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDocumentVersion() throws IOException, AutomationException
getDocumentVersion
in interface IGlobeDocument
getDocumentVersion
in interface IDocumentVersion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGlobeObject(Object ppUnk) throws IOException, AutomationException
setGlobeObject
in interface IGlobeDocument
ppUnk
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getGlobeObject() throws IOException, AutomationException
getGlobeObject
in interface IGlobeDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLayerCount() throws IOException, AutomationException
getLayerCount
in interface IGlobeDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer(int lLayerIndex) throws IOException, AutomationException
getLayer
in interface IGlobeDocument
lLayerIndex
- The lLayerIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPicture getThumbnail() throws IOException, AutomationException
getThumbnail
in interface IGlobeDocument
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void close() throws IOException, AutomationException
close
in interface IGlobeDocument
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 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(boolean bUseRelativePaths, boolean bCreateThumnbail) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveAs(String bsDocument, boolean bUseRelativePaths, boolean bCreateThumnbail) throws IOException, AutomationException
Saves the GlobeDocument that is Open and any changes that have been made to it to a new GlobeDocument with the specified filename. The filename that is supplied must be valid and include the *.3dd extension.
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentVersion(int docVersion) throws IOException, AutomationException
setDocumentVersion
in interface IDocumentVersion
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDocumentTitle() throws IOException, AutomationException
getDocumentTitle
in interface IDocumentInfo
getDocumentTitle
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentTitle(String title) throws IOException, AutomationException
setDocumentTitle
in interface IDocumentInfo
setDocumentTitle
in interface IDocumentInfo2
title
- The title (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSubject() throws IOException, AutomationException
getSubject
in interface IDocumentInfo
getSubject
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSubject(String subject) throws IOException, AutomationException
setSubject
in interface IDocumentInfo
setSubject
in interface IDocumentInfo2
subject
- The subject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAuthor() throws IOException, AutomationException
getAuthor
in interface IDocumentInfo
getAuthor
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAuthor(String author) throws IOException, AutomationException
setAuthor
in interface IDocumentInfo
setAuthor
in interface IDocumentInfo2
author
- The author (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
getCategory
in interface IDocumentInfo
getCategory
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCategory(String category) throws IOException, AutomationException
setCategory
in interface IDocumentInfo
setCategory
in interface IDocumentInfo2
category
- The category (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getComments() throws IOException, AutomationException
getComments
in interface IDocumentInfo
getComments
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setComments(String comments) throws IOException, AutomationException
setComments
in interface IDocumentInfo
setComments
in interface IDocumentInfo2
comments
- The comments (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getKeywords() throws IOException, AutomationException
getKeywords
in interface IDocumentInfo
getKeywords
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeywords(String keywords) throws IOException, AutomationException
setKeywords
in interface IDocumentInfo
setKeywords
in interface IDocumentInfo2
keywords
- The keywords (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHyperlinkBase() throws IOException, AutomationException
getHyperlinkBase
in interface IDocumentInfo
getHyperlinkBase
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHyperlinkBase(String path) throws IOException, AutomationException
setHyperlinkBase
in interface IDocumentInfo
setHyperlinkBase
in interface IDocumentInfo2
path
- The path (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSavePreview() throws IOException, AutomationException
isSavePreview
in interface IDocumentInfo
isSavePreview
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSavePreview(boolean savePreview) throws IOException, AutomationException
setSavePreview
in interface IDocumentInfo
setSavePreview
in interface IDocumentInfo2
savePreview
- The savePreview (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCredits() throws IOException, AutomationException
getCredits
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCredits(String credits) throws IOException, AutomationException
setCredits
in interface IDocumentInfo2
credits
- The credits (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRelativePaths() throws IOException, AutomationException
isRelativePaths
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelativePaths(boolean useRelativePaths) throws IOException, AutomationException
setRelativePaths
in interface IDocumentInfo2
useRelativePaths
- The useRelativePaths (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getPath() throws IOException, AutomationException
getPath
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFolder() throws IOException, AutomationException
getFolder
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDateSaved() throws IOException, AutomationException
getDateSaved
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDatePrinted() throws IOException, AutomationException
getDatePrinted
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDateExported() throws IOException, AutomationException
getDateExported
in interface IDocumentInfo2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createPreview() throws IOException, AutomationException
createPreview
in interface IDocumentPreview
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deletePreview() throws IOException, AutomationException
deletePreview
in interface IDocumentPreview
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasPreviewSaved() throws IOException, AutomationException
isHasPreviewSaved
in interface IDocumentPreview
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasPreviewToSave() throws IOException, AutomationException
isHasPreviewToSave
in interface IDocumentPreview
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 |