@Deprecated public class ButtonWidget extends AbstractButtonWidget
Modifier and Type | Class and Description |
---|---|
static interface |
ButtonWidget.OnSizeChangedListener
Deprecated.
|
AbstractButtonWidget.Factory, AbstractButtonWidget.OnBackgroundChangedListener, AbstractButtonWidget.OnIconChangedListener, AbstractButtonWidget.OnStateChangedListener, AbstractButtonWidget.OnTextChangedListener
MapWidget.OnClickListener, MapWidget.OnLongPressListener, MapWidget.OnMoveListener, MapWidget.OnPressListener, MapWidget.OnUnpressListener, MapWidget.OnVisibleChangedListener, MapWidget.OnWidgetPointChangedListener
STATE_DISABLED, STATE_PRESSED, STATE_SELECTED, TAG
Constructor and Description |
---|
ButtonWidget()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addOnSizeChangedListener(IButtonWidget.OnSizeChangedListener l)
Deprecated.
|
float |
getButtonHeight()
Deprecated.
|
float |
getButtonWidth()
Deprecated.
|
void |
onSizeChanged()
Deprecated.
|
void |
removeOnSizeChangedListener(IButtonWidget.OnSizeChangedListener l)
Deprecated.
|
MapWidget |
seekHit(float x,
float y)
Deprecated.
|
boolean |
setSize(float width,
float height)
Deprecated.
Set the size of the widget
|
boolean |
testHit(float x,
float y)
Deprecated.
|
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 void addOnSizeChangedListener(IButtonWidget.OnSizeChangedListener l)
public void removeOnSizeChangedListener(IButtonWidget.OnSizeChangedListener l)
public boolean setSize(float width, float height)
MapWidget
public float getButtonWidth()
public float getButtonHeight()
public void onSizeChanged()
onSizeChanged
in class MapWidget
public MapWidget seekHit(float x, float y)