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(Camera camera,
boolean applyCameraToView)
Creates a
CameraBuilder object if camera is null. |
CameraBuilder |
createCameraBuilder(View view,
Layout layout,
Camera camera)
Creates a
CameraBuilder object if camera is null. |
CameraBuilder |
createCameraBuilder(View view,
Layout layout,
Camera camera,
boolean applyCameraToView)
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. If camera is not null and the camera is
associated with a view other than the work view, then the camera will be applied to
the current work view.
camera
- If camera is not null, then this object will be editedNXException
RemoteException
CameraBuilder createCameraBuilder(Camera camera, boolean applyCameraToView) throws NXException, RemoteException
CameraBuilder
object if camera is null.
Otherwise, a Camera object will be edited. If camera is not null and the camera is
associated with a view other than the work view, then the camera will be applied to the
current work view if and only if applyCameraToView is true.
camera
- If camera is not null, then this object will be editedapplyCameraToView
- true if the camera is to be applied to its viewNXException
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. If camera is not null and the camera is associated with a view other
than the work view, then the camera will be applied to the current work view.
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
CameraBuilder createCameraBuilder(View view, Layout layout, Camera camera, boolean applyCameraToView) 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. If camera is not null and the camera is associated with a view other
than the work view, then the camera will be applied to the current work view if and only if
applyCameraToView is truel.
view
- Use this view's data to initialize the cameralayout
- Layout of the viewcamera
- If camera is not null, then this object will be editedapplyCameraToView
- true if the camera is to be applied to its viewNXException
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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.