Class adf.Navigator
Extends
adf.PageElement.
Defined in: Navigator.js.
Constructor Attributes | Constructor Name and Description |
---|---|
adf.Navigator(id, container, continuousPan, panCallbackFunc, zoomCallbackFunc, left, top)
Represents a navigator.
|
- Fields borrowed from class adf.PageElement:
- bounds, divId, divObject, id
Method Attributes | Method Name and Description |
---|---|
init(container)
Initializes an instance of adf.Navigator
|
- Methods borrowed from class adf.PageElement:
- hide, resize, show
Class Detail
adf.Navigator(id, container, continuousPan, panCallbackFunc, zoomCallbackFunc, left, top)
Represents a navigator.
- Parameters:
- {String} id
- id of the navigator
- {Element} container
- DIV element which contains the navigator.
- {Boolean} continuousPan
- if true, function
panCallbackFunc
is called continuously based on navigator's area the mouse is pressed on. - {Function} panCallbackFunc
- the function is called when navigator is pressed.
- zoomCallbackFunc
- left
- top
Method Detail
init(container)
Initializes an instance of adf.Navigator
- Parameters:
- {Element} container
- a DIV element which contains the Navigator.