public class DrawableWidget extends MapWidget2
Modifier and Type | Class and Description |
---|---|
static interface |
DrawableWidget.OnChangedListener |
MapWidget2.OnWidgetSizeChangedListener
MapWidget.Factory, MapWidget.OnClickListener, MapWidget.OnLongPressListener, MapWidget.OnMoveListener, MapWidget.OnPressListener, MapWidget.OnUnpressListener, MapWidget.OnVisibleChangedListener, MapWidget.OnWidgetPointChangedListener
Constructor and Description |
---|
DrawableWidget() |
DrawableWidget(android.graphics.drawable.Drawable drawable) |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(DrawableWidget.OnChangedListener l) |
void |
fireChangeListeners() |
android.graphics.ColorFilter |
getColorFilter() |
android.graphics.drawable.Drawable |
getDrawable() |
void |
removeChangeListener(DrawableWidget.OnChangedListener l) |
void |
setColor(int color) |
void |
setColor(int color,
android.graphics.PorterDuff.Mode mode) |
void |
setColorFilter(android.graphics.ColorFilter filter) |
void |
setDrawable(android.graphics.drawable.Drawable drawable) |
addOnWidgetSizeChangedListener, getSize, onSizeChanged, removeOnWidgetSizeChangedListener, seekHit, seekHit, seekWidgetHit, testHit
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 DrawableWidget()
public DrawableWidget(android.graphics.drawable.Drawable drawable)
public void setDrawable(android.graphics.drawable.Drawable drawable)
public android.graphics.drawable.Drawable getDrawable()
public void setColorFilter(android.graphics.ColorFilter filter)
public void setColor(int color, android.graphics.PorterDuff.Mode mode)
public void setColor(int color)
public android.graphics.ColorFilter getColorFilter()
public void addChangeListener(DrawableWidget.OnChangedListener l)
public final void removeChangeListener(DrawableWidget.OnChangedListener l)
public void fireChangeListeners()