@Deprecated public class ImageButtonWidget extends ButtonWidget
ButtonWidget.OnSizeChangedListener
AbstractButtonWidget.Factory, AbstractButtonWidget.OnBackgroundChangedListener, AbstractButtonWidget.OnIconChangedListener, AbstractButtonWidget.OnStateChangedListener, AbstractButtonWidget.OnTextChangedListener
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
Deprecated.
|
STATE_DISABLED, STATE_PRESSED, STATE_SELECTED
Constructor and Description |
---|
ImageButtonWidget()
Deprecated.
|
ImageButtonWidget(android.content.Context ignored)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getHasBackground()
Deprecated.
|
MapWidget |
seekHit(float x,
float y)
Deprecated.
|
void |
setImage(java.lang.String path)
Deprecated.
|
boolean |
setSize(float width,
float height)
Deprecated.
Set the size of the widget
|
boolean |
testHit(float x,
float y)
Deprecated.
|
addOnSizeChangedListener, getButtonHeight, getButtonWidth, onSizeChanged, removeOnSizeChangedListener
addOnBackgroundChangedListener, addOnIconChangedListener, addOnStateChangedListener, addOnTextChangedListener, getBackground, getIcon, getState, getText, getWidgetBackground, getWidgetIcon, onBackgroundChanged, onClick, onIconChanged, onPress, onStateChanged, onTextChanged, onUnpress, removeOnBackgroundChangedListener, removeOnIconChangedListener, removeOnStateChangedListener, removeOnTextChangedListener, setBackground, setIcon, setSelectable, setState, setText, setWidgetBackground, setWidgetIcon
addOnClickListener, addOnHoverListener, addOnLongPressListener, addOnMoveListener, addOnPressListener, addOnUnpressListener, addOnVisibleChangedListener, addOnWidgetPointChangedListener, addOnWidgetSizeChangedListener, equals, getAbsolutePath, getAbsolutePosition, getAbsoluteWidgetPosition, getHeight, getMargins, getName, getPadding, getParent, getPointX, getPointY, getPropertyValue, getSize, getWidth, getZOrder, hashCode, isEnterable, isTouchable, isVisible, onHover, onLongPress, onMove, onMove, onPointChanged, onVisibleChanged, orientationChanged, registerForwardedListener, removeOnClickListener, removeOnHoverListener, removeOnLongPressListener, removeOnMoveListener, removeOnPressListener, removeOnUnpressListener, removeOnVisibleChangedListener, removeOnWidgetPointChangedListener, removeOnWidgetSizeChangedListener, seekWidgetHit, setHeight, setMargins, setName, setPadding, setPadding, setParent, setPoint, setTouchable, setVisible, setWidth, setZOrder, unregisterForwardedListener, visitPropertyInfos
public static final java.lang.String TAG
public ImageButtonWidget(android.content.Context ignored)
public ImageButtonWidget()
public void setImage(java.lang.String path)
public boolean testHit(float x, float y)
testHit
in class ButtonWidget
public MapWidget seekHit(float x, float y)
seekHit
in class ButtonWidget
public boolean setSize(float width, float height)
MapWidget
setSize
in class ButtonWidget
width
- Bounds widthheight
- Bounds heightpublic boolean getHasBackground()