Modifier and Type | Interface and Description |
---|---|
static class |
Selection.AskSelectionCursorPositionData
This class holds the data returned from
askSelectionCursorPosition(nxopen.SelectionHandle) |
static class |
Selection.AskSelectionRectanglePositionData
This class holds the data returned from
askSelectionRectanglePosition(nxopen.SelectionHandle) |
static class |
Selection.DialogResponse
Specify the user response for general dialogs.
|
static interface |
Selection.FilterCallback
It is an optional callback which the user can provide to perform
application specific filtering when selecting objects.
|
static interface |
Selection.FilterTaggedObjectCallback
It is an optional callback which the user can provide to perform
application specific filtering when selecting tagged objects.
|
static class |
Selection.MaskTriple
Used in selection methods to set the types of objects that are selectable.
|
static class |
Selection.Response
Specify the user response for the selection operation.
|
static class |
Selection.SelectFeaturesData
This class holds the data returned from
selectFeatures(java.lang.String, nxopen.Selection.SelectionFeatureType) |
static class |
Selection.SelectionAction
Indicates the type of action to perform when an object is selected.
|
static interface |
Selection.SelectionCallback
It is an optional callback which the user can provide to customize his selection
|
static class |
Selection.SelectionDescriptor
For a rectangle deselection, the fields deselection,
multipleSelection, rectangle
bits would be set.
|
static class |
Selection.SelectionFeatureType
Specify the type of features to select.
|
static class |
Selection.SelectionScope
Indicates the scope for selecting objects.
|
static class |
Selection.SelectionType
Indicates the general class of object to filter selection.
|
static class |
Selection.SelectObjectData
This class holds the data returned from
selectObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean) |
static class |
Selection.SelectObjectsData
This class holds the data returned from
selectObjects(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean) |
static class |
Selection.SelectScreenPositionData
This class holds the data returned from
selectScreenPosition(java.lang.String) |
static class |
Selection.SelectTaggedObjectData
This class holds the data returned from
selectTaggedObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean) |
static class |
Selection.SelectTaggedObjectsData
This class holds the data returned from
selectTaggedObjects(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean) |
static interface |
Selection.TaggedObjectSelectionCallback
It is an optional callback which the user can provide to customize his selection of tagged objects
|
static class |
Selection.UistylerSelectionType
Indicates the general class of object to filter selection.
|
Modifier and Type | Method and Description |
---|---|
void |
addToSelectionList(SelectionHandle select,
NXObject[] objs,
boolean highlightFlag)
Deprecated.
Deprecated in NX8.0.0. Use
addToTaggedObjectsSelectionList(nxopen.SelectionHandle, nxopen.TaggedObject[], boolean) instead
|
void |
addToTaggedObjectsSelectionList(SelectionHandle select,
TaggedObject[] objs,
boolean highlightFlag)
Add objects to the selection list.
|
Selection.AskSelectionCursorPositionData |
askSelectionCursorPosition(SelectionHandle select)
Returns the view and absolute coordinates of the cursor position for the associated selection.
|
Selection.SelectionDescriptor |
askSelectionDescriptor(SelectionHandle select)
Returns the information in
Selection.SelectionDescriptor
describing the selection that was just performed. |
int |
askSelectionListCount(SelectionHandle select)
Returns the number of objects currently selected.
|
NXObject[] |
askSelectionObjectList(SelectionHandle select)
Deprecated.
Deprecated in NX8.0.0. Use
askSelectionTaggedObjectList(nxopen.SelectionHandle) instead
|
Selection.AskSelectionRectanglePositionData |
askSelectionRectanglePosition(SelectionHandle select)
Returns the absolute coordinates of the rectangle cursor positions.
|
TaggedObject[] |
askSelectionTaggedObjectList(SelectionHandle select)
Returns the number of tagged objects selected and a pointer to an array of
tags of the objects selected.
|
void |
clearGlobalSelectionList()
Clears the Global Selection list
License requirements: None. |
SelectionSubscriber |
createSelectionSubscriber()
Creates a Selection Subscriber
License requirements: None. |
int |
getNumSelectedObjects()
Returns the number of objects currently selected
License requirements: None. |
NXObject |
getSelectedObject(int index)
Deprecated.
Deprecated in NX8.0.0. Use
getSelectedTaggedObject(int) instead
|
TaggedObject |
getSelectedTaggedObject(int index)
Returns the n'th tagged object on the selection list
License requirements: None. |
boolean |
getSelectionStatusOfUserDefinedClass(UserDefinedClass udoClass)
Gets whether or not the user defined class is available for selection.
|
boolean |
isGlobalSelectionActive()
Inquires whether or not Global Selection is active (no active dialog)
License requirements: None. |
boolean |
isObjectInSelectionList(SelectionHandle select,
TaggedObject object)
Inquires if object is selected.
|
void |
removeAllFromSelectionList(SelectionHandle select,
boolean unhighlight)
Removes all the objects from the selection list and optionally unhighlights them.
|
void |
removeFromSelectionList(SelectionHandle select,
NXObject[] objs,
boolean unhighlight)
Deprecated.
Deprecated in NX8.0.0. Use
removeTaggedObjectsFromSelectionList(nxopen.SelectionHandle, nxopen.TaggedObject[], boolean) instead
|
void |
removeTaggedObjectsFromSelectionList(SelectionHandle select,
TaggedObject[] objs,
boolean unhighlight)
Removes tagged objects from the selection list.
|
void |
requestDeselections(TaggedObject[] deselectList)
Submit a request to the current selection owner to deselect the given objects.
|
void |
requestSelections(TaggedObject[] selectList)
Submit a request to the current selection owner to select the given objects.
|
Selection.SelectFeaturesData |
selectFeatures(String message,
Selection.SelectionFeatureType featType)
Select features
License requirements: None. |
Selection.SelectObjectData |
selectObject(String message,
String title,
Selection.SelectionScope scope,
boolean includeFeatures,
boolean keepHighlighted)
Deprecated.
Deprecated in NX8.0.0. Use
selectTaggedObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean) instead
|
Selection.SelectObjectData |
selectObject(String message,
String title,
Selection.SelectionScope scope,
boolean keepHighlighted,
Selection.SelectionType[] typeArray)
Deprecated.
Deprecated in NX8.0.0. Use
selectTaggedObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean) instead
|
Selection.SelectObjectData |
selectObject(String message,
String title,
Selection.SelectionScope scope,
Selection.SelectionAction action,
boolean includeFeatures,
boolean keepHighlighted,
Selection.MaskTriple[] maskArray)
Deprecated.
Deprecated in NX8.0.0. Use
selectTaggedObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean) instead
|
Selection.SelectObjectsData |
selectObjects(String message,
String title,
Selection.SelectionScope scope,
boolean includeFeatures,
boolean keepHighlighted)
Deprecated.
Deprecated in NX8.0.0. Use
selectTaggedObjects(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean) instead
|
Selection.SelectObjectsData |
selectObjects(String message,
String title,
Selection.SelectionScope scope,
boolean keepHighlighted,
Selection.SelectionType[] typeArray)
Deprecated.
Deprecated in NX8.0.0. Use
selectTaggedObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean) instead
|
Selection.SelectObjectsData |
selectObjects(String message,
String title,
Selection.SelectionScope scope,
Selection.SelectionAction action,
boolean includeFeatures,
boolean keepHighlighted,
Selection.MaskTriple[] maskArray)
Deprecated.
Deprecated in NX8.0.0. Use
selectTaggedObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean) instead
|
Selection.SelectScreenPositionData |
selectScreenPosition(String message)
Select screen position on graphics display
License requirements: None. |
Selection.SelectTaggedObjectData |
selectTaggedObject(String message,
String title,
Selection.SelectionScope scope,
boolean includeFeatures,
boolean keepHighlighted)
Select single tagged object.
|
Selection.SelectTaggedObjectData |
selectTaggedObject(String message,
String title,
Selection.SelectionScope scope,
boolean keepHighlighted,
Selection.SelectionType[] typeArray)
Select single tagged object using filter defined by selection type.
|
Selection.SelectTaggedObjectData |
selectTaggedObject(String message,
String title,
Selection.SelectionScope scope,
Selection.SelectionAction action,
boolean includeFeatures,
boolean keepHighlighted,
Selection.MaskTriple[] maskArray)
Select single tagged object using filter defined by mask triples.
|
Selection.SelectTaggedObjectsData |
selectTaggedObjects(String message,
String title,
Selection.SelectionScope scope,
boolean includeFeatures,
boolean keepHighlighted)
Select tagged objects.
|
Selection.SelectTaggedObjectsData |
selectTaggedObjects(String message,
String title,
Selection.SelectionScope scope,
boolean keepHighlighted,
Selection.SelectionType[] typeArray)
Select tagged objects using filter defined by selection type.
|
Selection.SelectTaggedObjectsData |
selectTaggedObjects(String message,
String title,
Selection.SelectionScope scope,
Selection.SelectionAction action,
boolean includeFeatures,
boolean keepHighlighted,
Selection.MaskTriple[] maskArray)
Select tagged objects using filter defined by mask triples.
|
void |
setSelectionCallbacks(SelectionHandle select,
Selection.FilterCallback filterproc,
Selection.SelectionCallback selcb)
Deprecated.
|
void |
setSelectionMask(SelectionHandle select,
Selection.SelectionAction action,
Selection.MaskTriple[] maskArray)
Sets the types of objects that are selectable.
|
void |
setSelectionStatusOfUserDefinedClass(UserDefinedClass udoClass,
boolean selectionStatus)
Sets whether or not the user defined class is available for selection.
|
void |
setSelectType(SelectionHandle select,
Selection.UistylerSelectionType type)
Sets the selection type.
|
void |
setTaggedObjectSelectionCallbacks(SelectionHandle select,
Selection.FilterTaggedObjectCallback filterproc,
Selection.TaggedObjectSelectionCallback selcb)
Specify selection filter callback for additional filtering of tagged objects based on
application specific criteria, and/or selection callback to perform
application specific processing for each selection gesture processed.
|
Selection.SelectObjectsData selectObjects(String message, String title, Selection.SelectionScope scope, boolean includeFeatures, boolean keepHighlighted) throws NXException, RemoteException
selectTaggedObjects(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean)
instead
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopeincludeFeatures
- Whether to allow the selection of featureskeepHighlighted
- Whether to keep the selection highlighted after it has been selectedNXException
RemoteException
Selection.SelectTaggedObjectsData selectTaggedObjects(String message, String title, Selection.SelectionScope scope, boolean includeFeatures, boolean keepHighlighted) throws NXException, RemoteException
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopeincludeFeatures
- Whether to allow the selection of featureskeepHighlighted
- Whether to keep the selection highlighted after it has been selectedNXException
RemoteException
Selection.SelectObjectsData selectObjects(String message, String title, Selection.SelectionScope scope, Selection.SelectionAction action, boolean includeFeatures, boolean keepHighlighted, Selection.MaskTriple[] maskArray) throws NXException, RemoteException
selectTaggedObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean)
instead
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopeaction
- Indicates how the mask array will modify the selection filterincludeFeatures
- Whether to allow the selection of featureskeepHighlighted
- Whether to keep the selection highlighted after it has been selectedmaskArray
- Modifies the list of object types that can be selected.
How it modifies the list of object types is determined by the SelectionAction parameter.NXException
RemoteException
Selection.SelectTaggedObjectsData selectTaggedObjects(String message, String title, Selection.SelectionScope scope, Selection.SelectionAction action, boolean includeFeatures, boolean keepHighlighted, Selection.MaskTriple[] maskArray) throws NXException, RemoteException
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopeaction
- Indicates how the mask array will modify the selection filterincludeFeatures
- Whether to allow the selection of featureskeepHighlighted
- Whether to keep the selection highlighted after it has been selectedmaskArray
- Modifies the list of object types that can be selected.
How it modifies the list of object types is determined by the SelectionAction parameter.NXException
RemoteException
Selection.SelectObjectsData selectObjects(String message, String title, Selection.SelectionScope scope, boolean keepHighlighted, Selection.SelectionType[] typeArray) throws NXException, RemoteException
selectTaggedObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean)
instead
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopekeepHighlighted
- Whether to keep the selection highlighted after it has been selectedtypeArray
- The types that can be selectedNXException
RemoteException
Selection.SelectTaggedObjectsData selectTaggedObjects(String message, String title, Selection.SelectionScope scope, boolean keepHighlighted, Selection.SelectionType[] typeArray) throws NXException, RemoteException
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopekeepHighlighted
- Whether to keep the selection highlighted after it has been selectedtypeArray
- The types that can be selectedNXException
RemoteException
Selection.SelectObjectData selectObject(String message, String title, Selection.SelectionScope scope, boolean includeFeatures, boolean keepHighlighted) throws NXException, RemoteException
selectTaggedObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean)
instead
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopeincludeFeatures
- Whether to allow the selection of featureskeepHighlighted
- Whether to keep the selection highlighted after it has been selectedNXException
RemoteException
Selection.SelectTaggedObjectData selectTaggedObject(String message, String title, Selection.SelectionScope scope, boolean includeFeatures, boolean keepHighlighted) throws NXException, RemoteException
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopeincludeFeatures
- Whether to allow the selection of featureskeepHighlighted
- Whether to keep the selection highlighted after it has been selectedNXException
RemoteException
Selection.SelectObjectData selectObject(String message, String title, Selection.SelectionScope scope, Selection.SelectionAction action, boolean includeFeatures, boolean keepHighlighted, Selection.MaskTriple[] maskArray) throws NXException, RemoteException
selectTaggedObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean)
instead
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopeaction
- Indicates how the mask array will modify the selection filterincludeFeatures
- Whether to allow the selection of featureskeepHighlighted
- Whether to keep the selection highlighted after it has been selectedmaskArray
- Modifies the list of object types that can be selected.
How it modifies the list of object types is determined by the SelectionAction parameter.NXException
RemoteException
Selection.SelectTaggedObjectData selectTaggedObject(String message, String title, Selection.SelectionScope scope, Selection.SelectionAction action, boolean includeFeatures, boolean keepHighlighted, Selection.MaskTriple[] maskArray) throws NXException, RemoteException
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopeaction
- Indicates how the mask array will modify the selection filterincludeFeatures
- Whether to allow the selection of featureskeepHighlighted
- Whether to keep the selection highlighted after it has been selectedmaskArray
- Modifies the list of object types that can be selected.
How it modifies the list of object types is determined by the SelectionAction parameter.NXException
RemoteException
Selection.SelectObjectData selectObject(String message, String title, Selection.SelectionScope scope, boolean keepHighlighted, Selection.SelectionType[] typeArray) throws NXException, RemoteException
selectTaggedObject(java.lang.String, java.lang.String, nxopen.Selection.SelectionScope, boolean, boolean)
instead
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopekeepHighlighted
- Whether to keep the selection highlighted after it has been selectedtypeArray
- The types of objects that can be selectedNXException
RemoteException
Selection.SelectTaggedObjectData selectTaggedObject(String message, String title, Selection.SelectionScope scope, boolean keepHighlighted, Selection.SelectionType[] typeArray) throws NXException, RemoteException
message
- Cue line message to displaytitle
- Dialog titlescope
- Selection scopekeepHighlighted
- Whether to keep the selection highlighted after it has been selectedtypeArray
- The types of objects that can be selectedNXException
RemoteException
Selection.SelectFeaturesData selectFeatures(String message, Selection.SelectionFeatureType featType) throws NXException, RemoteException
message
- Cue line message to displayfeatType
- The types of features that are selectableNXException
RemoteException
Selection.SelectScreenPositionData selectScreenPosition(String message) throws NXException, RemoteException
message
- Cue line message to displayNXException
RemoteException
int getNumSelectedObjects() throws NXException, RemoteException
NXException
RemoteException
NXObject getSelectedObject(int index) throws NXException, RemoteException
getSelectedTaggedObject(int)
instead
index
- The index. Should be between 0 and getNumSelectedObjects()
NXException
RemoteException
TaggedObject getSelectedTaggedObject(int index) throws NXException, RemoteException
index
- The index. Should be between 0 and getNumSelectedObjects()
NXException
RemoteException
boolean isGlobalSelectionActive() throws NXException, RemoteException
NXException
RemoteException
void clearGlobalSelectionList() throws NXException, RemoteException
NXException
RemoteException
void requestSelections(TaggedObject[] selectList) throws NXException, RemoteException
selectList
- NXException
RemoteException
void requestDeselections(TaggedObject[] deselectList) throws NXException, RemoteException
deselectList
- NXException
RemoteException
void setSelectionMask(SelectionHandle select, Selection.SelectionAction action, Selection.MaskTriple[] maskArray) throws NXException, RemoteException
select
- Selection handleaction
- Mask actionmaskArray
- Mask triplesNXException
RemoteException
void setSelectType(SelectionHandle select, Selection.UistylerSelectionType type) throws NXException, RemoteException
select
- Selection handletype
- Selection typeNXException
RemoteException
void setSelectionCallbacks(SelectionHandle select, Selection.FilterCallback filterproc, Selection.SelectionCallback selcb) throws NXException, RemoteException
setTaggedObjectSelectionCallbacks(nxopen.SelectionHandle, nxopen.Selection.FilterTaggedObjectCallback, nxopen.Selection.TaggedObjectSelectionCallback)
instead
SelectionHandle
which can be used to inquire
other selection data or modify selection. This selection handle object
is no longer valid after the filter callback or selection callback is exited.
select
- Selection handlefilterproc
- Filter callback for additional user specific
filtering.selcb
- Selection callback for application specific
processing.
NXException
RemoteException
void setTaggedObjectSelectionCallbacks(SelectionHandle select, Selection.FilterTaggedObjectCallback filterproc, Selection.TaggedObjectSelectionCallback selcb) throws NXException, RemoteException
SelectionHandle
which can be used to inquire
other selection data or modify selection. This selection handle tagged object
is no longer valid after the filter callback or selection callback is exited.
select
- Selection handlefilterproc
- Filter callback for additional user specific
filtering.selcb
- Selection callback for application specific
processing.NXException
RemoteException
boolean getSelectionStatusOfUserDefinedClass(UserDefinedClass udoClass) throws NXException, RemoteException
udoClass
- The UserDefinedClass in questionNXException
RemoteException
void setSelectionStatusOfUserDefinedClass(UserDefinedClass udoClass, boolean selectionStatus) throws NXException, RemoteException
udoClass
- The UserDefinedClass in questionselectionStatus
- Allow the selection of this UserDefinedClassNXException
RemoteException
void removeFromSelectionList(SelectionHandle select, NXObject[] objs, boolean unhighlight) throws NXException, RemoteException
removeTaggedObjectsFromSelectionList(nxopen.SelectionHandle, nxopen.TaggedObject[], boolean)
instead
select
- Selection handleobjs
- Array of objectunhighlight
- If true, unhighlight objects
NXException
RemoteException
void removeTaggedObjectsFromSelectionList(SelectionHandle select, TaggedObject[] objs, boolean unhighlight) throws NXException, RemoteException
select
- Selection handleobjs
- Array of objectunhighlight
- If true, unhighlight objectsNXException
RemoteException
void removeAllFromSelectionList(SelectionHandle select, boolean unhighlight) throws NXException, RemoteException
select
- Selection handleunhighlight
- If true, unhighlight objectsNXException
RemoteException
boolean isObjectInSelectionList(SelectionHandle select, TaggedObject object) throws NXException, RemoteException
select
- Selection handleobject
- ObjectNXException
RemoteException
int askSelectionListCount(SelectionHandle select) throws NXException, RemoteException
select
- Selection handleNXException
RemoteException
NXObject[] askSelectionObjectList(SelectionHandle select) throws NXException, RemoteException
askSelectionTaggedObjectList(nxopen.SelectionHandle)
instead
select
- Selection handle
NXException
RemoteException
TaggedObject[] askSelectionTaggedObjectList(SelectionHandle select) throws NXException, RemoteException
select
- Selection handleNXException
RemoteException
void addToSelectionList(SelectionHandle select, NXObject[] objs, boolean highlightFlag) throws NXException, RemoteException
addToTaggedObjectsSelectionList(nxopen.SelectionHandle, nxopen.TaggedObject[], boolean)
instead
select
- Selection handleobjs
- Objects to be added in the selection listhighlightFlag
- If true, highlight objects
NXException
RemoteException
void addToTaggedObjectsSelectionList(SelectionHandle select, TaggedObject[] objs, boolean highlightFlag) throws NXException, RemoteException
select
- Selection handleobjs
- Objects to be added in the selection listhighlightFlag
- If true, highlight objectsNXException
RemoteException
Selection.SelectionDescriptor askSelectionDescriptor(SelectionHandle select) throws NXException, RemoteException
Selection.SelectionDescriptor
describing the selection that was just performed.
select
- NXException
RemoteException
Selection.AskSelectionCursorPositionData askSelectionCursorPosition(SelectionHandle select) throws NXException, RemoteException
select
- Selection handleNXException
RemoteException
Selection.AskSelectionRectanglePositionData askSelectionRectanglePosition(SelectionHandle select) throws NXException, RemoteException
select
- Selection handleNXException
RemoteException
SelectionSubscriber createSelectionSubscriber() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.