public class MenuLayoutWidget extends MenuLayoutBase implements MapEventDispatcher.MapEventDispatchListener, android.view.View.OnKeyListener
LayoutWidget.Factory, LayoutWidget.OnBackingColorChangedListener, LayoutWidget.OnDragEnabledChangedListener
AbstractParentWidget.OnWidgetListChangedListener
MapWidget2.OnWidgetSizeChangedListener
MapWidget.OnClickListener, MapWidget.OnLongPressListener, MapWidget.OnMoveListener, MapWidget.OnPressListener, MapWidget.OnUnpressListener, MapWidget.OnVisibleChangedListener, MapWidget.OnWidgetPointChangedListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
_mapActionDispatcher, _mapItem
Modifier and Type | Method and Description |
---|---|
void |
disablePressControls()
Disable press controls on a menu widget.
|
void |
enablePressControls()
Enable press controls on a menu widget.
|
boolean |
onKey(android.view.View v,
int keyCode,
android.view.KeyEvent event) |
void |
onMapEvent(MapEvent event) |
MapMenuWidget |
openMenuOnItem(MapItem item,
android.graphics.PointF point) |
MapMenuWidget |
openMenuOnMap(GeoPoint point) |
_addPressExpanders, _addPressExpanders, _expandPressSubmenu, _openSubmenu, clearMenu, getChildMenuRadius, getMapItem, layoutAsMenu, layoutAsSubmenu, onClick, onFocusPointChanged, onWidgetAdded, onWidgetRemoved, openMenuOnItem
addOnBackingColorChangedListener, addOnDragEnabledChangedListener, fadeAlpha, getAlpha, getBackingColor, getDragEnabled, getNinePatchBG, isFadingAlpha, onBackingColorChanged, onDragEnabledChanged, removeOnBackingColorChangedListener, removeOnDragEnabledChangedListener, setAlpha, setBackingColor, setDragEnabled, setNinePatchBG
addChildWidget, addChildWidgetAt, addOnWidgetListChangedListener, addWidget, addWidgetAt, findWidget, getChildAt, getChildCount, getChildren, getChildWidgetAt, getChildWidgetCount, getChildWidgets, getParent, getSortedChildrenWidgets, getSortedWidgets, onActionBarToggled, onChildWidgetCanBeAdded, onWidgetAdded, onWidgetAdded, onWidgetCanBeAdded, onWidgetRemoved, onWidgetRemoved, orientationChanged, removeChildWidget, removeChildWidgetAt, removeOnWidgetListChangedListener, removeWidget, removeWidgetAt, seekHit, seekWidgetHit, setZOrder
addOnWidgetSizeChangedListener, getSize, onSizeChanged, removeOnWidgetSizeChangedListener, seekHit, testHit
addOnClickListener, addOnHoverListener, addOnLongPressListener, addOnMoveListener, addOnPressListener, addOnUnpressListener, addOnVisibleChangedListener, addOnWidgetPointChangedListener, equals, getAbsolutePath, getAbsolutePosition, getAbsoluteWidgetPosition, getHeight, getMargins, getName, getPadding, getPointX, getPointY, getPropertyValue, getSize, getWidth, getZOrder, hashCode, isEnterable, isTouchable, isVisible, onHover, onLongPress, onMove, onMove, onPointChanged, onPress, onPress, onUnpress, onUnpress, onVisibleChanged, registerForwardedListener, removeOnClickListener, removeOnHoverListener, removeOnLongPressListener, removeOnMoveListener, removeOnPressListener, removeOnUnpressListener, removeOnVisibleChangedListener, removeOnWidgetPointChangedListener, setHeight, setMargins, setName, setPadding, setPadding, setParent, setPoint, setSize, setTouchable, setVisible, setWidth, unregisterForwardedListener, visitPropertyInfos
public static final java.lang.String TAG
public void enablePressControls()
public void disablePressControls()
public MapMenuWidget openMenuOnItem(MapItem item, android.graphics.PointF point)
openMenuOnItem
in class MenuLayoutBase
public void onMapEvent(MapEvent event)
onMapEvent
in interface MapEventDispatcher.MapEventDispatchListener
public boolean onKey(android.view.View v, int keyCode, android.view.KeyEvent event)
onKey
in interface android.view.View.OnKeyListener
public MapMenuWidget openMenuOnMap(GeoPoint point)
openMenuOnMap
in class MenuLayoutBase