sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui.arrowbuttons / ArrowButtonsGroup

ArrowButtonsGroup

open class ArrowButtonsGroup : FrameLayout, PanningControlsView

Group of arrow buttons used to control camera position. This class contains arrow buttons for every direction.

Constructors

<init>

ArrowButtonsGroup(context: Context!)

Default constructor that uses context to inflate this layout, init views, and listeners for every arrow button.

ArrowButtonsGroup(context: Context!, attrs: AttributeSet!)

Custom constructor that uses context to inflate this layout, init views and listeners for every arrow button. This constructor also gives ability to provide custom set of attributes.

ArrowButtonsGroup(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Custom constructor that uses context to inflate this layout, init views and listeners for every arrow button. This constructor also gives ability to provide custom set of attributes and a reference to default style resource.

Inherited Properties

DEFAULT_PANNING_DURATION

static val DEFAULT_PANNING_DURATION: Long

DEFAULT_PANNING_OFFSET

static val DEFAULT_PANNING_OFFSET: Double

PANNING_OFFSET

static val PANNING_OFFSET: Double

Functions

getArrowDownButton

open fun getArrowDownButton(): ArrowButton!

Returns the arrow down button.

getArrowLeftButton

open fun getArrowLeftButton(): ArrowButton!

Returns the arrow left button.

getArrowRightButton

open fun getArrowRightButton(): ArrowButton!

Returns the arrow right button.

getArrowUpButton

open fun getArrowUpButton(): ArrowButton!

Returns the arrow up button.

getView

open fun getView(): ArrowButtonsGroup

hide

open fun hide(): Unit

setArrowButtonsClickListener

open fun setArrowButtonsClickListener(arrowsClickListener: PanningControlsView.ArrowButtonsClickListener!): Unit

Method to register on click listeners for group of arrow buttons.

setMargins

open fun setMargins(left: Int, top: Int, right: Int, bottom: Int): Unit

show

open fun show(): Unit