public interface NonProportionalZoom extends Builder
ViewCollection.createNonProportionalZoom()
Property | Value |
---|---|
AnchorCenter | 0 |
Method | Dynamic |
ZoomSensitivity | 5 |
Modifier and Type | Interface and Description |
---|---|
static class |
NonProportionalZoom.MethodType
Sets the kind of mouse interaction that will define the non-proportional zoom.
|
Modifier and Type | Method and Description |
---|---|
boolean |
anchorCenter()
Returns a value indicating if the display will be recentered on the initial line endpoint
License requirements: None. |
void |
enable(boolean enable)
Enables non-proportional zoom.
|
void |
finish(View view)
Signals the completion of a non-proportional zoom defined by one or more pairs
of points defined by a mouse gesture.
|
void |
firstPoint(Point3d point1,
View view)
Scales the specified view non-proportionally in the horizontal (X) and vertical (Y)
dimensions, based on a mouse gesture defined by two points in a view.
|
NonProportionalZoom.MethodType |
method()
Returns the type of mouse interaction used to define the non-proportional zoom.
|
void |
secondPoint(Point3d point2,
View view)
Scales the specified view non-proportionally in the horizontal (X) and vertical (Y)
dimensions, based on a mouse gesture defined by two points in a view.
|
void |
setAnchorCenter(boolean anchorCenter)
License requirements: studio_analyze ("STUDIO ANALYZE") . |
void |
setMethod(NonProportionalZoom.MethodType method)
License requirements: studio_analyze ("STUDIO ANALYZE") . |
void |
setZoomSensitivity(int sensitivity)
License requirements: studio_analyze ("STUDIO ANALYZE") . |
void |
start(View view)
Prepares NX to receive one or more gestures delimited by pairs of points
which define a non-proportional zoom.
|
int |
zoomSensitivity()
Returns the sensitivity of the zoom relative to the length of the drawn line
License requirements: None. |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
NonProportionalZoom.MethodType method() throws NXException, RemoteException
NXException
RemoteException
void setMethod(NonProportionalZoom.MethodType method) throws NXException, RemoteException
method
- NXException
RemoteException
boolean anchorCenter() throws NXException, RemoteException
NXException
RemoteException
void setAnchorCenter(boolean anchorCenter) throws NXException, RemoteException
anchorCenter
- NXException
RemoteException
int zoomSensitivity() throws NXException, RemoteException
NXException
RemoteException
void setZoomSensitivity(int sensitivity) throws NXException, RemoteException
sensitivity
- NXException
RemoteException
void start(View view) throws NXException, RemoteException
view
- the view to receive gesturesNXException
RemoteException
void firstPoint(Point3d point1, View view) throws NXException, RemoteException
NonProportionalZoom.MethodType
setting, the gesture may be
interpreted as a bounding box or a line, but will determine the XY aspect ratio and the zoom.
point1
- First point in a mouse gesture to define a non-proportional zoomview
- Apply pan (if any) and scale in this view only, if it still existsNXException
RemoteException
void secondPoint(Point3d point2, View view) throws NXException, RemoteException
point2
- Second point in a mouse gesture to define a non-proportional zoomview
- Apply pan (if any) and scale in this view only, if it still existsNXException
RemoteException
void finish(View view) throws NXException, RemoteException
view
- the view to receive gesturesNXException
RemoteException
void enable(boolean enable) throws NXException, RemoteException
enable
- True if using the previously defined non-proportional zoomNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.