Class s7sdk.PageViewCapabilityState
Extends
s7sdk.CapabilityState.
The PageViewCapabilityState
can be used to determine
the current state of the PageView
component. For example, if the component can zoom
in, then the ZOOM_IN
capability flag will be set. This means that the current frame
is not fully zoomed in.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
<static> |
s7sdk.PageViewCapabilityState.FIRST_PAGE
Indicates that the first page is current.
|
<static> |
s7sdk.PageViewCapabilityState.LAST_PAGE
Indicates that the last page is current.
|
<static> |
s7sdk.PageViewCapabilityState.PAN_DOWN
Indicates that the page view can pan down.
|
<static> |
s7sdk.PageViewCapabilityState.PAN_LEFT
Indicates that the page view can pan left.
|
<static> |
s7sdk.PageViewCapabilityState.PAN_RIGHT
Indicates that the page view can pan right.
|
<static> |
s7sdk.PageViewCapabilityState.PAN_UP
Indicates that the page view can pan up.
|
<static> |
s7sdk.PageViewCapabilityState.ZOOM_IN
Indicates that the page view can do a stepwise zoom in; zoom limit has not been reached.
|
<static> |
s7sdk.PageViewCapabilityState.ZOOM_IN_CONT
Indicates the zoom page can do a continuous zoom in; maximum resolution has not been reached.
|
<static> |
s7sdk.PageViewCapabilityState.ZOOM_OUT
Indicates that the page view can zoom out.
|
<static> |
s7sdk.PageViewCapabilityState.ZOOM_RESET
Indicates that the page view is not in its initial zoom state and that the page view can be reset.
|
- Methods borrowed from class s7sdk.CapabilityState:
- clone, hasCapability, toString
Class Detail
s7sdk.PageViewCapabilityState(caps)
- Parameters:
- {Number} caps
- (Optional) The initial capabilities. If undefined, then no capabilities are set.
Field Detail
<static>
s7sdk.PageViewCapabilityState.FIRST_PAGE
Indicates that the first page is current.
<static>
s7sdk.PageViewCapabilityState.LAST_PAGE
Indicates that the last page is current.
<static>
s7sdk.PageViewCapabilityState.PAN_DOWN
Indicates that the page view can pan down.
<static>
s7sdk.PageViewCapabilityState.PAN_LEFT
Indicates that the page view can pan left.
<static>
s7sdk.PageViewCapabilityState.PAN_RIGHT
Indicates that the page view can pan right.
<static>
s7sdk.PageViewCapabilityState.PAN_UP
Indicates that the page view can pan up.
<static>
s7sdk.PageViewCapabilityState.ZOOM_IN
Indicates that the page view can do a stepwise zoom in; zoom limit has not been reached.
<static>
s7sdk.PageViewCapabilityState.ZOOM_IN_CONT
Indicates the zoom page can do a continuous zoom in; maximum resolution has not been reached.
<static>
s7sdk.PageViewCapabilityState.ZOOM_OUT
Indicates that the page view can zoom out.
<static>
s7sdk.PageViewCapabilityState.ZOOM_RESET
Indicates that the page view is not in its initial zoom state and that the page view can be reset.