|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.ServerStyleGallery
public class ServerStyleGallery
COM Class 'ServerStyleGallery'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'
Description 'The Server Style Gallery.' 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 | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.display.IStyleGallery |
---|
IID, IIDac0e9826_91cb_11d1_8813_080009ec732a, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IStyleGalleryStorage |
---|
IID, IID001d15b3_0f79_11d2_adfe_080009ec732a, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersistStream |
---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Constructor Summary | |
---|---|
ServerStyleGallery()
Constructs a ServerStyleGallery using ArcGIS Engine. |
|
ServerStyleGallery(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ServerStyleGallery theServerStyleGallery = (ServerStyleGallery) obj; |
Method Summary | |
---|---|
void |
addFile(java.lang.String path)
Adds a file to the Style Gallery. |
void |
addItem(IStyleGalleryItem item)
Adds an item to the target style file. |
void |
clear()
Removes all styles from the Style Gallery. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IStyleGalleryClass |
esri_getClass(int index)
The class at the given index. |
IEnumBSTR |
getCategories(java.lang.String className)
The categories within the given class. |
int |
getClassCount()
Number of classes in the Style Gallery. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
java.lang.String |
getDefaultStylePath()
The default file path for searching for standard styles. |
java.lang.String |
getFile(int index)
The file at the given index. |
int |
getFileCount()
The number of files in the Style Gallery. |
IEnumStyleGalleryItem |
getItems(java.lang.String className,
java.lang.String styleSet,
java.lang.String category)
The style items from the specified style file, in the specified class and category. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
java.lang.String |
getTargetFile()
The target output file for adding, updating and removing items. |
int |
hashCode()
the hashcode for this object |
void |
importStyle(java.lang.String fileName)
Imports a style from a file other than a .style file. |
boolean |
isCanUpdate(java.lang.String path)
Indicates if the specified file can be updated. |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
loadStyle(java.lang.String fileName,
java.lang.String className)
Loads a style from a file. |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a ServerStyleGallery. |
void |
removeFile(java.lang.String path)
Removes a file from the Style Gallery. |
void |
removeItem(IStyleGalleryItem item)
Removes an item from the target style file. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
saveStyle(java.lang.String fileName,
java.lang.String styleSet,
java.lang.String className)
Saves the specified style to a file. |
void |
setTargetFile(java.lang.String path)
The target output file for adding, updating and removing items. |
void |
updateItem(IStyleGalleryItem item)
Updates an existing item in target style file. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public ServerStyleGallery() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic ServerStyleGallery(java.lang.Object obj) throws java.io.IOException
ServerStyleGallery theServerStyleGallery = (ServerStyleGallery) obj;
obj
to ServerStyleGallery
.
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 int getClassCount() throws java.io.IOException, AutomationException
getClassCount
in interface IStyleGallery
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStyleGalleryClass esri_getClass(int index) throws java.io.IOException, AutomationException
esri_getClass
in interface IStyleGallery
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR getCategories(java.lang.String className) throws java.io.IOException, AutomationException
getCategories
in interface IStyleGallery
className
- The className (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumStyleGalleryItem getItems(java.lang.String className, java.lang.String styleSet, java.lang.String category) throws java.io.IOException, AutomationException
getItems
in interface IStyleGallery
className
- The className (in)styleSet
- The styleSet (in)category
- The category (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addItem(IStyleGalleryItem item) throws java.io.IOException, AutomationException
addItem
in interface IStyleGallery
item
- A reference to a com.esri.arcgis.display.IStyleGalleryItem (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateItem(IStyleGalleryItem item) throws java.io.IOException, AutomationException
updateItem
in interface IStyleGallery
item
- A reference to a com.esri.arcgis.display.IStyleGalleryItem (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeItem(IStyleGalleryItem item) throws java.io.IOException, AutomationException
removeItem
in interface IStyleGallery
item
- A reference to a com.esri.arcgis.display.IStyleGalleryItem (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws java.io.IOException, AutomationException
clear
in interface IStyleGallery
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadStyle(java.lang.String fileName, java.lang.String className) throws java.io.IOException, AutomationException
loadStyle
in interface IStyleGallery
fileName
- The fileName (in)className
- The className (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveStyle(java.lang.String fileName, java.lang.String styleSet, java.lang.String className) throws java.io.IOException, AutomationException
saveStyle
in interface IStyleGallery
fileName
- The fileName (in)styleSet
- The styleSet (in)className
- The className (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void importStyle(java.lang.String fileName) throws java.io.IOException, AutomationException
importStyle
in interface IStyleGallery
fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFileCount() throws java.io.IOException, AutomationException
getFileCount
in interface IStyleGalleryStorage
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFile(int index) throws java.io.IOException, AutomationException
getFile
in interface IStyleGalleryStorage
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanUpdate(java.lang.String path) throws java.io.IOException, AutomationException
isCanUpdate
in interface IStyleGalleryStorage
path
- The path (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTargetFile() throws java.io.IOException, AutomationException
getTargetFile
in interface IStyleGalleryStorage
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTargetFile(java.lang.String path) throws java.io.IOException, AutomationException
setTargetFile
in interface IStyleGalleryStorage
path
- The path (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addFile(java.lang.String path) throws java.io.IOException, AutomationException
addFile
in interface IStyleGalleryStorage
path
- The path (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeFile(java.lang.String path) throws java.io.IOException, AutomationException
removeFile
in interface IStyleGalleryStorage
path
- The path (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDefaultStylePath() throws java.io.IOException, AutomationException
getDefaultStylePath
in interface IStyleGalleryStorage
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |