@Deprecated public class MapWidget2 extends MapWidget
Modifier and Type | Class and Description |
---|---|
static interface |
MapWidget2.OnWidgetSizeChangedListener
Deprecated.
|
MapWidget.Factory, MapWidget.OnClickListener, MapWidget.OnLongPressListener, MapWidget.OnMoveListener, MapWidget.OnPressListener, MapWidget.OnUnpressListener, MapWidget.OnVisibleChangedListener, MapWidget.OnWidgetPointChangedListener
Constructor and Description |
---|
MapWidget2()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addOnWidgetSizeChangedListener(MapWidget2.OnWidgetSizeChangedListener l)
Deprecated.
|
static float[] |
getSize(IMapWidget w,
boolean incPadding,
boolean incMargin)
Deprecated.
Helper method for retrieving size of a widget with included
visibility and class checks
|
void |
onSizeChanged()
Deprecated.
|
void |
removeOnWidgetSizeChangedListener(MapWidget2.OnWidgetSizeChangedListener l)
Deprecated.
|
MapWidget |
seekHit(float x,
float y)
Deprecated.
|
MapWidget |
seekHit(android.view.MotionEvent event,
float x,
float y)
Deprecated.
|
IMapWidget |
seekWidgetHit(MotionEvent event,
float x,
float y)
Deprecated.
|
boolean |
testHit(float x,
float y)
Deprecated.
|
addOnClickListener, addOnHoverListener, addOnLongPressListener, addOnMoveListener, addOnPressListener, addOnUnpressListener, addOnVisibleChangedListener, addOnWidgetPointChangedListener, equals, getAbsolutePath, getAbsolutePosition, getAbsoluteWidgetPosition, getHeight, getMargins, getName, getPadding, getParent, getPointX, getPointY, getPropertyValue, getSize, getWidth, getZOrder, hashCode, isEnterable, isTouchable, isVisible, onClick, onClick, onHover, onLongPress, onMove, onMove, onPointChanged, onPress, onPress, onUnpress, onUnpress, onVisibleChanged, orientationChanged, registerForwardedListener, removeOnClickListener, removeOnHoverListener, removeOnLongPressListener, removeOnMoveListener, removeOnPressListener, removeOnUnpressListener, removeOnVisibleChangedListener, removeOnWidgetPointChangedListener, setHeight, setMargins, setName, setPadding, setPadding, setParent, setPoint, setSize, setTouchable, setVisible, setWidth, setZOrder, unregisterForwardedListener, visitPropertyInfos
public MapWidget seekHit(android.view.MotionEvent event, float x, float y)
public IMapWidget seekWidgetHit(MotionEvent event, float x, float y)
seekWidgetHit
in class MapWidget
public MapWidget seekHit(float x, float y)
public void addOnWidgetSizeChangedListener(MapWidget2.OnWidgetSizeChangedListener l)
addOnWidgetSizeChangedListener
in class MapWidget
public void removeOnWidgetSizeChangedListener(MapWidget2.OnWidgetSizeChangedListener l)
removeOnWidgetSizeChangedListener
in class MapWidget
public void onSizeChanged()
onSizeChanged
in class MapWidget
public static float[] getSize(IMapWidget w, boolean incPadding, boolean incMargin)
w
- Map widgetincPadding
- Include padding in sizeincMargin
- Include margin in size