|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.app.Fragment
com.google.android.gms.maps.MapFragment
ims.map.OnTouchMapFragment
public class OnTouchMapFragment
MapFramgent for Map
. Extends
MapFragment
to use an
OnTouchListener.
Copyright © 2014 by Daniela Blum
This file is part of GPSChildFinder.
GPSChildFinder is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
this program. If not, see http://www.gnu.org/licenses.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class android.app.Fragment |
---|
android.app.Fragment.InstantiationException, android.app.Fragment.SavedState |
Field Summary |
---|
Fields inherited from interface android.content.ComponentCallbacks2 |
---|
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN |
Constructor Summary | |
---|---|
OnTouchMapFragment()
|
Method Summary | |
---|---|
android.view.View |
getView()
|
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
Wrappes the original view in a MapWrapperLayout . |
void |
setOnTouchListener(MapWrapperLayout.OnTouchListener onTouchListener)
To set an OnTouchListener to the layout. |
Methods inherited from class com.google.android.gms.maps.MapFragment |
---|
getMap, newInstance, newInstance, onActivityCreated, onAttach, onCreate, onDestroy, onDestroyView, onInflate, onLowMemory, onPause, onResume, onSaveInstanceState, setArguments |
Methods inherited from class android.app.Fragment |
---|
dump, equals, getActivity, getArguments, getChildFragmentManager, getFragmentManager, getId, getLoaderManager, getParentFragment, getResources, getRetainInstance, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isVisible, onActivityResult, onConfigurationChanged, onContextItemSelected, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDetach, onHiddenChanged, onInflate, onOptionsItemSelected, onOptionsMenuClosed, onPrepareOptionsMenu, onStart, onStop, onTrimMemory, onViewCreated, onViewStateRestored, registerForContextMenu, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setRetainInstance, setTargetFragment, setUserVisibleHint, startActivity, startActivity, startActivityForResult, startActivityForResult, toString, unregisterForContextMenu |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OnTouchMapFragment()
Method Detail |
---|
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
MapWrapperLayout
.
onCreateView
in class com.google.android.gms.maps.MapFragment
inflater
- Instantiates a layout XML file into its corresponding
View
objectscontainer
- A ViewGroup is a special view that can contain other views
(called children)savedInstanceState
- A mapping from String values to various Parcelable types
public android.view.View getView()
getView
in class android.app.Fragment
public void setOnTouchListener(MapWrapperLayout.OnTouchListener onTouchListener)
OnTouchListener
to the layout.
onTouchListener
- the listener to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |