public interface CameraCollection extends TaggedObjectCollection
BasePart
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
CameraBuilder |
createCameraBuilder(Camera camera)
Creates a
CameraBuilder object if camera is null. |
CameraBuilder |
createCameraBuilder(View view,
Layout layout,
Camera camera)
Creates a
CameraBuilder object if camera is null. |
Camera |
findObject(String journalIdentifier)
Finds the
Camera with the given identifier as recorded in a journal. |
_find_next, iterator
CameraBuilder createCameraBuilder(Camera camera) throws NXException, RemoteException
CameraBuilder
object if camera is null. Otherwise, a Camera object will be edited
camera
- If camera is not null, then this object will be editedNXException
RemoteException
CameraBuilder createCameraBuilder(View view, Layout layout, Camera camera) throws NXException, RemoteException
CameraBuilder
object if camera is null. Otherwise, a Camera object will be edited.
Initializes the camera with data from the view in the layout
view
- Use this view's data to initialize the cameralayout
- Layout of the viewcamera
- If camera is not null, then this object will be editedNXException
RemoteException
Camera findObject(String journalIdentifier) throws NXException, RemoteException
Camera
with the given identifier as recorded in a journal.
An object may not return the same value as its JournalIdentifier in different versions of
the software. However newer versions of the software should find the same object when
FindObject is passed older versions of its journal identifier. In general, this method
should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
journalIdentifier
- Identifier to be foundNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.