|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent com.esri.arcgis.beans.symbology.SymbologyBean
public class SymbologyBean
The SymbologyBean
is a symbology container to display and manage
the user selected symbology styles.
Here is a code snippet to get a ISymbol object by adding an ISymbologyControlEventsListener to the
SymbologyBean class. When user clicks on a symbol item, the method is called:
public void symbologyBean1_onItemSelected(ISymbologyControlEventsOnItemSelectedEvent event)
throws IOException, AutomationException
{
Object itemp = event.getStyleGalleryItem();
IStyleGalleryItem item = new IStyleGalleryItemProxy(itemp);
ISymbol pSymbol = new ISymbolProxy(item.getItem());
}
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected SymbologyControl |
_symbologyControl
The delegated symbology control |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
SymbologyBean()
The default SymbologyBean constructor. |
Method Summary | |
---|---|
void |
aboutBox()
Displays a dialog of information about the SymbologyControl. |
void |
addISymbologyControlEventsListener(ISymbologyControlEventsAdapter iSymbologyControlEvents)
|
void |
clear()
Clears all symbols and files from the SymbologyControl. |
void |
enumConnectionPoints(IEnumConnectionPoints[] iEnumConnectionPointsArray)
enumConnectionPoints |
boolean |
esri_isEnabled()
Indicates whether the SymbologyControl can respond to user generated events. |
void |
esri_setEnabled(boolean enabled)
Indicates whether the SymbologyControl can respond to user generated events. |
void |
findConnectionPoint(GUID gUID,
IConnectionPoint[] iConnectionPointArray)
findConnectionPoint |
int |
getAppearance()
The appearance of the SymbologyControl. |
int |
getBackColor()
Background color of the SymbologyControl. |
int |
getBorderStyle()
The border style of the SymbologyControl. |
void |
getClassID(GUID[] gUIDArray)
getClassID |
Object |
getCustomProperty()
A property to associate data with the SymbologyControl. |
int |
getDisplayStyle()
The display style of the SymbologyControl. |
int |
getHWnd()
Handle to the window associated with the SymbologyControl. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
|
int |
getKeyIntercept()
A property that specifies interception of key strokes that are normally handled by the container. |
Picture |
getMouseIcon()
Custom mouse icon used if MousePointer is 99. |
int |
getMousePointer()
The mouse pointer displayed over the SymbologyControl. |
Object |
getObject()
A property that returns the underlying control. |
void |
getSizeMax(_ULARGE_INTEGER[] _ULARGE_INTEGERArray)
getSizeMax |
int |
getStyleClass()
The style class used by the SymbologyControl. |
ISymbologyStyleClass |
getStyleClass2(int style)
Returns the specified style class from the SymbologyControl. |
String[] |
getStyleFiles()
Returns the style file path name |
SymbologyControl |
getSymbologyControl()
Returns the wrapped SymbologyControl class. |
IStyleGalleryItem |
hitTest(int x,
int y)
Returns the item at the specified x and y coordinates. |
void |
initNew()
initNew |
void |
interfaceSupportsErrorInfo(GUID gUID)
interfaceSupportsErrorInfo |
void |
isDirty()
isDirty |
boolean |
isShowContextMenu()
Indicates if the SymbologyControl displays a context menu. |
void |
load(IStream iStream)
load |
void |
loadDesktopStyleFile(String styleFile)
Loads a desktop style file into the SymbologyControl. |
void |
loadStyleFile(String filepath)
Loads a server style file into the SymbologyControl. |
void |
loadStyleFiles(String[] styles)
Loads the styles files. |
void |
paint(Graphics g)
Paints this component in desing tome |
void |
release()
|
void |
removeFile(String filename)
Removes a file from the SymbologyControl. |
void |
removeISymbologyControlEventsListener(ISymbologyControlEventsAdapter iSymbologyControlEvents)
|
void |
save(IStream iStream,
int _int)
save |
void |
setAppearance(int appearance)
The appearance of the SymbologyControl. |
void |
setBackColor(int color)
Background color of the SymbologyControl. |
void |
setBorderStyle(int border)
The border style of the SymbologyControl. |
void |
setCustomProperty(Object object)
A property to associate data with the SymbologyControl. |
void |
setDisplayStyle(int style)
The display style of the SymbologyControl. |
void |
setKeyIntercept(int key)
A property that specifies interception of key strokes that are normally handled by the container. |
void |
setLayout(LayoutManager layout)
Overrides the setLayout method of super class. |
void |
setMouseIconByRef(Picture picture)
Custom mouse icon used if MousePointer is 99. |
void |
setMousePointer(int pointer)
The mouse pointer displayed over the SymbologyControl. |
void |
setShowContextMenu(boolean show)
Indicates if the SymbologyControl displays a context menu. |
void |
setStyleClass(int styleClass)
The style class used by the SymbologyControl. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected SymbologyControl _symbologyControl
Constructor Detail |
---|
public SymbologyBean()
Method Detail |
---|
public void setLayout(LayoutManager layout)
setLayout
method of super class.
setLayout
in class Container
layout
- LayoutManager - a LayoutManager object.public void paint(Graphics g)
paint
in class JComponent
g
- the graphics context to use for paintingpublic SymbologyControl getSymbologyControl()
public String[] getStyleFiles()
public void loadStyleFiles(String[] styles)
styles
- String[]public void addISymbologyControlEventsListener(ISymbologyControlEventsAdapter iSymbologyControlEvents) throws IOException
IOException
public void removeISymbologyControlEventsListener(ISymbologyControlEventsAdapter iSymbologyControlEvents) throws IOException
IOException
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 void getClassID(GUID[] gUIDArray) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackColor(int color) throws IOException, AutomationException
setBackColor
in interface ISymbologyControl
setBackColor
in interface ISymbologyControlDefault
rhs1
- The rhs1 (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBackColor() throws IOException, AutomationException
Returns or sets the Background Color of the SymbologyControl. Internally the OLE_Color is stored as a long integer where the value may be calculated for any RGB combination as follows:
OLE_Color = (Red) + (Green * 256) + (Blue * 256 * 256)
Where Red, Green and Blue are Long Integers within the range 0 - 255.
getBackColor
in interface ISymbologyControl
getBackColor
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMousePointer(int pointer) throws IOException, AutomationException
setMousePointer
in interface ISymbologyControl
setMousePointer
in interface ISymbologyControlDefault
rhs1
- A com.esri.arcgis.controls.esriControlsMousePointer constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMousePointer() throws IOException, AutomationException
Use this property when you want to indicate changes in functionality as the mouse pointer passes over the SymbologyControl. The esriPointerArrowHourglass setting (11) is useful for indicating that the user should wait for a process or operation to finish.
getMousePointer
in interface ISymbologyControl
getMousePointer
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMouseIconByRef(Picture picture) throws IOException, AutomationException
setMouseIconByRef
in interface ISymbologyControl
setMouseIconByRef
in interface ISymbologyControlDefault
rhs1
- A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Picture getMouseIcon() throws IOException, AutomationException
The MouseIcon property provides a custom icon that is used when the MousePointer property is set to esriPointerArrowHourglass (99).
In most development evironments the control's property pages can be used to load either a cursor (.cur) or icon (.ico) file. A cursor contains a custom 'hotspot' location and can be any size. The 'hotspot' location for an icon file defaults to the center of the icon. This property cannot be used to load animated cursor (.ani) files.
To programatically create an object implementing IPictureDisp there is the win32 function OleLoadPicture or helper methods depending on the development environment.
getMouseIcon
in interface ISymbologyControl
getMouseIcon
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBorderStyle(int border) throws IOException, AutomationException
setBorderStyle
in interface ISymbologyControl
setBorderStyle
in interface ISymbologyControlDefault
rhs1
- A com.esri.arcgis.controls.esriControlsBorderStyle constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBorderStyle() throws IOException, AutomationException
Returns or sets the border style of a SymbologyControl. By default a border is drawn.
getBorderStyle
in interface ISymbologyControl
getBorderStyle
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_setEnabled(boolean enabled) throws IOException, AutomationException
esri_setEnabled
in interface ISymbologyControl
esri_setEnabled
in interface ISymbologyControlDefault
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean esri_isEnabled() throws IOException, AutomationException
esri_isEnabled
in interface ISymbologyControl
esri_isEnabled
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAppearance(int appearance) throws IOException, AutomationException
setAppearance
in interface ISymbologyControl
setAppearance
in interface ISymbologyControlDefault
rhs1
- A com.esri.arcgis.controls.esriControlsAppearance constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAppearance() throws IOException, AutomationException
Returns or sets the paint style of a SymbologyControl to either Flat or 3D. By default the appearance is flat.
getAppearance
in interface ISymbologyControl
getAppearance
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws IOException, AutomationException
The operating environment identifies each window, form and control in an application by assigning it a handle, or hWnd. Many ArcObjects methods and Windows API calls require the hWnd as an argument.
getHWnd
in interface ISymbologyControl
getHWnd
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void aboutBox() throws IOException, AutomationException
The AboutBox method causes a modal dialog box to display on top of the SymbologyControl, containing information about the version and creation date of the SymbologyControl as well as listing relevant legal and copyright information from ESRI.
aboutBox
in interface ISymbologyControl
aboutBox
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStyleClass(int styleClass) throws IOException, AutomationException
setStyleClass
in interface ISymbologyControl
setStyleClass
in interface ISymbologyControlDefault
rhs1
- A com.esri.arcgis.controls.esriSymbologyStyleClass constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStyleClass() throws IOException, AutomationException
The SymbologyStyleClass currently displayed in the SymbologyControl. By default marker symbols are displayed.
The end user can set the StyleClass by interacting with the 'Style Class' context menu. The end user can display the 'Style Class' context menu by right clicking on the SymbologyControl when ShowContextMenu is true.
The OnStyleClassChanged event will fire when the StyleClass is set.
The following style classes are only supported with an ArcGIS Desktop installation:
getStyleClass
in interface ISymbologyControl
getStyleClass
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayStyle(int style) throws IOException, AutomationException
setDisplayStyle
in interface ISymbologyControl
setDisplayStyle
in interface ISymbologyControlDefault
rhs1
- A com.esri.arcgis.controls.esriSymbologyDisplayStyle constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDisplayStyle() throws IOException, AutomationException
Returns or sets the style the items are displayed in the SymbologyControl. By default the DisplayStyle is Icon.
esriDisplayStyleIcon
esriDisplayStyleSmallIcon
esriDisplayStyleReport
esriDisplayStyleList
getDisplayStyle
in interface ISymbologyControl
getDisplayStyle
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeyIntercept(int key) throws IOException, AutomationException
setKeyIntercept
in interface ISymbologyControl
setKeyIntercept
in interface ISymbologyControlDefault
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getKeyIntercept() throws IOException, AutomationException
Returns or sets keys on the keyboard that will be intercepted by the SymbologyControl, triggering the OnKeyDown and OnKeyUp events when pressed. These keys are often hidden from the SymbologyControl by the development environment container. By default the KeyIntercept is set to esriKeyInterceptNone.
Many development environment containers use the up, down, left and right arrow keys to change control focus on a form. These keys can also be useful for navigating around the display. To intercept the arrow keys and the Tab key combine the enum values using a logical OR operation (esriKeyInterceptArrowKeys OR esriKeyInterceptTabKey, which is 1 OR 4 = 5).
getKeyIntercept
in interface ISymbologyControl
getKeyIntercept
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomProperty(Object object) throws IOException, AutomationException
setCustomProperty
in interface ISymbologyControl
setCustomProperty
in interface ISymbologyControlDefault
rhs1
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowContextMenu(boolean show) throws IOException, AutomationException
setShowContextMenu
in interface ISymbologyControl
setShowContextMenu
in interface ISymbologyControlDefault
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowContextMenu() throws IOException, AutomationException
Determines whether the 'Style Class' context menu will popup when the user right clicks on the control. This property is false by default.
The OnStyleClassChanged event will fire if the user interactively sets the StyleClass property using the 'Style Class' context menu.
isShowContextMenu
in interface ISymbologyControl
isShowContextMenu
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getObject() throws IOException, AutomationException
In some development environments it is not possible to query interface directly on the control to other COM interfaces, beacuse the control is contained within a wrapper object. To get the real control use the Object property.
getObject
in interface ISymbologyControl
getObject
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStyleGalleryItem hitTest(int x, int y) throws IOException, AutomationException
Returns the item at the specified x and y coordinates (in pixels). If no item is found, returns Nothing.
hitTest
in interface ISymbologyControl
hitTest
in interface ISymbologyControlDefault
x
- The x (in)y
- The y (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadStyleFile(String filepath) throws IOException, AutomationException
Loads the contents of the specified server style file (*.ServerStyle) into the SymbologyControl. Each ServerStyleGalleryItem within the server style file is added to a SymbologyStyleClass based on its type. For example, a SimpleFillSymbol will be added to the esriStyleClassFillSymbols SymbologyStyleClass.
Items are 'demand loaded' to the end of a SymbologyStyleClass item collection. This is done to increase performance and means items are only loaded into a SymbologyStyleClass when it is the current StyleClass or when the SymbologyStyleClass is being accessed programmatically. To force items to be loaded into a SymbologyStyleClass, when it is not the current StyleClass use the ISymbologyStyleClass::Update method.
Passing the same server style file to the LoadStyleFile method multiple times within the lifetime of an application, causes the contents of the server style file to be re-loaded into the SymbologyControl.
Server Styles are collections of symbols and map elements that are often grouped by functionality. For example, symbols and map elements used by the transportation industry maybe grouped into Transportation Server Style.
Server Styles are stored in files that have a .ServerStyle extension. ESRI provides several styles for you to use out of the box. These styles are found under \\install_location\ArcGIS\Styles. You will find commonly used symbols and map elements in ESRI.ServerStyle, and more domain specific style items in relevantly named .ServerStyle files (for example, Transportation.ServerStyle).
A style is composed of several style items. These style items provide access to individual map elements and symbols. Style items are organized into style classes, which are types of style items. A style class may have several groups of items organized into categories. For example, Precipitation is style item that belongs to the Color Ramps style class and the Default Ramps category.
loadStyleFile
in interface ISymbologyControl
loadStyleFile
in interface ISymbologyControlDefault
fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadDesktopStyleFile(String styleFile) throws IOException, AutomationException
Loads the contents of the specified style file (*.Style) into the SymbologyControl. Where possible always use the LoadStyleFile method to load the contents of server style files (*.ServerStyle) into the SymbologyControl, as style files are only supported with an ArcGIS Desktop installation.
Each StyleGalleryItem within the style file is added to a SymbologyStyleClass based on its type. For example, a SimpleFillSymbol will be added to the esriStyleClassFillSymbols SymbologyStyleClass .
Items are 'demand loaded' to the end of a SymbologyStyleClass item collection. This is done to increase performance and means items are only loaded into a SymbologyStyleClass when it is the current StyleClass or when the SymbologyStyleClass is being accessed programmatically. To force items to be loaded into a SymbologyStyleClass, when it is not the current StyleClass use the ISymbologyStyleClass::Update method.
Passing the same style file to the LoadDesktopStyleFile method multiple times within the lifetime of an application, causes the contents of the style file to be re-loaded into the SymbologyControl.
A 'desktop' Style file is similar to a Server Style file, except is has a .Style extension rather than a .ServerStyle extension. Style files are available to ArcGIS Desktop products only, whereas Server Style files are available to all ArcGIS products.
loadDesktopStyleFile
in interface ISymbologyControl
loadDesktopStyleFile
in interface ISymbologyControlDefault
fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbologyStyleClass getStyleClass2(int style) throws IOException, AutomationException
getStyleClass2
in interface ISymbologyControl
getStyleClass2
in interface ISymbologyControlDefault
styleClass
- A com.esri.arcgis.controls.esriSymbologyStyleClass constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeFile(String filename) throws IOException, AutomationException
Removes the contents of the specified server style file (*.ServerStyle) or style file (*.Style) from the SymbologyControl. Corresponding items are removed from each SymbologyStyleClass.
removeFile
in interface ISymbologyControl
removeFile
in interface ISymbologyControlDefault
fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws IOException, AutomationException
Clears all items from the SymbologyControl. Items are removed from each SymbologyStyleClass regardless of whether they were loaded using the LoadStyleFile, LoadDesktopStyleFile or ISymbologyStyleClass::AddItem methods.
clear
in interface ISymbologyControl
clear
in interface ISymbologyControlDefault
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] iEnumConnectionPointsArray) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID gUID, IConnectionPoint[] iConnectionPointArray) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
isDirty
in interface IPersistStreamInit
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream iStream) throws IOException, AutomationException
load
in interface IPersistStreamInit
pStm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream iStream, int _int) throws IOException, AutomationException
save
in interface IPersistStreamInit
pStm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] _ULARGE_INTEGERArray) throws IOException, AutomationException
getSizeMax
in interface IPersistStreamInit
pCbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initNew() throws IOException, AutomationException
initNew
in interface IPersistStreamInit
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID gUID) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getCustomProperty() throws IOException, AutomationException
Use the CustomProperty to associate any useful data with the SymbologyControl. This is similar to a 'Tag' property, and can be use to store strings, numbers and objects.
getCustomProperty
in interface ISymbologyControl
getCustomProperty
in interface ISymbologyControlDefault
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 |