@Deprecated public abstract class AbstractButtonWidget extends MapWidget
Modifier and Type | Class and Description |
---|---|
static class |
AbstractButtonWidget.Factory
Deprecated.
|
static interface |
AbstractButtonWidget.OnBackgroundChangedListener
Deprecated.
Listener for the state of the background.
|
static interface |
AbstractButtonWidget.OnIconChangedListener
Deprecated.
Listener for the state of the icon.
|
static interface |
AbstractButtonWidget.OnStateChangedListener
Deprecated.
Listener for the state of the button.
|
static interface |
AbstractButtonWidget.OnTextChangedListener
Deprecated.
Listener for the state of the text.
|
MapWidget.OnClickListener, MapWidget.OnLongPressListener, MapWidget.OnMoveListener, MapWidget.OnPressListener, MapWidget.OnUnpressListener, MapWidget.OnVisibleChangedListener, MapWidget.OnWidgetPointChangedListener
Modifier and Type | Field and Description |
---|---|
static int |
STATE_DISABLED
Deprecated.
|
static int |
STATE_PRESSED
Deprecated.
|
static int |
STATE_SELECTED
Deprecated.
|
static java.lang.String |
TAG
Deprecated.
|
Constructor and Description |
---|
AbstractButtonWidget()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addOnBackgroundChangedListener(IButtonWidget.OnBackgroundChangedListener l)
Deprecated.
|
void |
addOnIconChangedListener(IButtonWidget.OnIconChangedListener l)
Deprecated.
|
void |
addOnStateChangedListener(IButtonWidget.OnStateChangedListener l)
Deprecated.
|
void |
addOnTextChangedListener(IButtonWidget.OnTextChangedListener l)
Deprecated.
|
WidgetBackground |
getBackground()
Deprecated.
|
WidgetIcon |
getIcon()
Deprecated.
|
int |
getState()
Deprecated.
|
java.lang.String |
getText()
Deprecated.
|
IWidgetBackground |
getWidgetBackground()
Deprecated.
|
IIcon |
getWidgetIcon()
Deprecated.
|
void |
onBackgroundChanged()
Deprecated.
|
void |
onClick(MotionEvent event)
Deprecated.
|
void |
onIconChanged()
Deprecated.
|
void |
onPress(MotionEvent event)
Deprecated.
|
void |
onStateChanged()
Deprecated.
|
void |
onTextChanged()
Deprecated.
|
void |
onUnpress(MotionEvent event)
Deprecated.
|
void |
removeOnBackgroundChangedListener(IButtonWidget.OnBackgroundChangedListener l)
Deprecated.
|
void |
removeOnIconChangedListener(IButtonWidget.OnIconChangedListener l)
Deprecated.
|
void |
removeOnStateChangedListener(IButtonWidget.OnStateChangedListener l)
Deprecated.
|
void |
removeOnTextChangedListener(IButtonWidget.OnTextChangedListener l)
Deprecated.
|
void |
setBackground(IWidgetBackground bg)
Deprecated.
|
void |
setIcon(WidgetIcon icon)
Deprecated.
|
void |
setSelectable(boolean selectable)
Deprecated.
|
void |
setState(int state)
Deprecated.
|
void |
setText(java.lang.String text)
Deprecated.
Set the text for the abstract button widget.
|
void |
setWidgetBackground(IWidgetBackground bg)
Deprecated.
|
void |
setWidgetIcon(IIcon icon)
Deprecated.
|
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, onSizeChanged, onVisibleChanged, orientationChanged, registerForwardedListener, removeOnClickListener, removeOnHoverListener, removeOnLongPressListener, removeOnMoveListener, removeOnPressListener, removeOnUnpressListener, removeOnVisibleChangedListener, removeOnWidgetPointChangedListener, removeOnWidgetSizeChangedListener, seekHit, seekWidgetHit, setHeight, setMargins, setName, setPadding, setPadding, setParent, setPoint, setSize, setTouchable, setVisible, setWidth, setZOrder, testHit, unregisterForwardedListener, visitPropertyInfos
public static final java.lang.String TAG
public static final int STATE_PRESSED
public static final int STATE_SELECTED
public static final int STATE_DISABLED
public void onUnpress(MotionEvent event)
public void setSelectable(boolean selectable)
public void setWidgetIcon(IIcon icon)
public void setIcon(WidgetIcon icon)
public IIcon getWidgetIcon()
public WidgetIcon getIcon()
public void setWidgetBackground(IWidgetBackground bg)
public void setBackground(IWidgetBackground bg)
public IWidgetBackground getWidgetBackground()
public WidgetBackground getBackground()
public void setState(int state)
public int getState()
public void setText(java.lang.String text)
text
- the text to set for the abstract button widget.public java.lang.String getText()
public final void addOnIconChangedListener(IButtonWidget.OnIconChangedListener l)
public final void removeOnIconChangedListener(IButtonWidget.OnIconChangedListener l)
public final void addOnBackgroundChangedListener(IButtonWidget.OnBackgroundChangedListener l)
public final void removeOnBackgroundChangedListener(IButtonWidget.OnBackgroundChangedListener l)
public final void addOnTextChangedListener(IButtonWidget.OnTextChangedListener l)
public final void removeOnTextChangedListener(IButtonWidget.OnTextChangedListener l)
public final void addOnStateChangedListener(IButtonWidget.OnStateChangedListener l)
public final void removeOnStateChangedListener(IButtonWidget.OnStateChangedListener l)
public void onIconChanged()
public void onBackgroundChanged()
public void onStateChanged()
public void onTextChanged()