|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INameFactory
Provides access to members that work with the Name factory.
The INameFactory interface provides methods for packaging and unpackaging ESRI data objects when implementing your own custom drag and drop behaviour.
Method Summary | |
---|---|
IName |
create(String nameString)
Finds the correct name-string parser for the given name string, and uses it to create a new Name object. |
Object |
packageNames(IEnumName names)
Packages the set of names into a VARIANT (typically for initiating a drag operation). |
IEnumName |
unpackageNames(Object bytesArray)
Unpackages the given VARIANT into a set of Name objects (typically for responding to a drop operation). |
Method Detail |
---|
IName create(String nameString) throws IOException, AutomationException
The Create method creates a new Name object by searching the "ESRI Name String Parsers" component category for objects implementing IParseNameString. Once the correct name-string parser is found it is used to create the Name object.
nameString
- The nameString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object packageNames(IEnumName names) throws IOException, AutomationException
The PackageNames method packages a set of Name objects into a VARIANT. This is typically used to package data objects when starting a custom drag operation.
names
- A reference to a com.esri.arcgis.system.IEnumName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumName unpackageNames(Object bytesArray) throws IOException, AutomationException
The UnpackageNames method unpackages the given VARIANT into a set of Name objects. This is typically used to unpackage data objects when sresponding to a custom drop operation.
bytesArray
- A Variant (in)
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 |