IT. Expert System.

Android Reference

ZoomButtonsController


android.widget

Class ZoomButtonsController

    • Constructor Detail

      • ZoomButtonsController

        public ZoomButtonsController(View ownerView)
        Constructor for the ZoomButtonsController.
        Parameters:
        ownerView - The view that is being zoomed by the zoom controls. The zoom controls will be displayed aligned with this view.
    • Method Detail

      • setZoomInEnabled

        public void setZoomInEnabled(boolean enabled)
        Whether to enable the zoom in control.
        Parameters:
        enabled - Whether to enable the zoom in control.
      • setZoomOutEnabled

        public void setZoomOutEnabled(boolean enabled)
        Whether to enable the zoom out control.
        Parameters:
        enabled - Whether to enable the zoom out control.
      • setZoomSpeed

        public void setZoomSpeed(long speed)
        Sets the delay between zoom callbacks as the user holds a zoom button.
        Parameters:
        speed - The delay in milliseconds between zoom callbacks.
      • setFocusable

        public void setFocusable(boolean focusable)
        Sets whether the zoom controls should be focusable. If the controls are focusable, then trackball and arrow key interactions are possible. Otherwise, only touch interactions are possible.
        Parameters:
        focusable - Whether the zoom controls should be focusable.
      • isAutoDismissed

        public boolean isAutoDismissed()
        Whether the zoom controls will be automatically dismissed after showing.
        Returns:
        Whether the zoom controls will be auto dismissed after showing.
      • setAutoDismissed

        public void setAutoDismissed(boolean autoDismiss)
        Sets whether the zoom controls will be automatically dismissed after showing.
      • isVisible

        public boolean isVisible()
        Whether the zoom controls are visible to the user.
        Returns:
        Whether the zoom controls are visible to the user.
      • setVisible

        public void setVisible(boolean visible)
        Sets whether the zoom controls should be visible to the user.
        Parameters:
        visible - Whether the zoom controls should be visible to the user.
      • getContainer

        public ViewGroup getContainer()
        Gets the container that is the parent of the zoom controls.

        The client can add other views to this container to link them with the zoom controls.

        Returns:
        The container of the zoom controls. It will be a layout that respects the gravity of a child's layout parameters.
      • getZoomControls

        public View getZoomControls()
        Gets the view for the zoom controls.
        Returns:
        The zoom controls view.
      • onTouch

        public boolean onTouch(View v,
                      MotionEvent event)
        Description copied from interface: View.OnTouchListener
        Called when a touch event is dispatched to a view. This allows listeners to get a chance to respond before the target view.
        Specified by:
        onTouch in interface View.OnTouchListener
        Parameters:
        v - The view the touch event has been dispatched to.
        event - The MotionEvent object containing full information about the event.
        Returns:
        True if the listener has consumed the event, false otherwise.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1656 / . Delta: 0.03175 с