public abstract class FixedItemCountWidget extends MapWidget
Modifier and Type | Class and Description |
---|---|
static interface |
FixedItemCountWidget.OnItemChangedListener |
static interface |
FixedItemCountWidget.OnItemStateChangedListener |
MapWidget.Factory, MapWidget.OnClickListener, MapWidget.OnLongPressListener, MapWidget.OnMoveListener, MapWidget.OnPressListener, MapWidget.OnUnpressListener, MapWidget.OnVisibleChangedListener, MapWidget.OnWidgetPointChangedListener
Constructor and Description |
---|
FixedItemCountWidget(int itemCount) |
Modifier and Type | Method and Description |
---|---|
void |
addItemState(int index,
int state) |
void |
addOnItemChangedListener(FixedItemCountWidget.OnItemChangedListener l) |
void |
addOnItemStateChangedListener(FixedItemCountWidget.OnItemStateChangedListener l) |
WidgetItem |
getItem(int index) |
int |
getItemCount() |
WidgetItem[] |
getItems() |
int |
getItemState(int index) |
int[] |
getItemStates() |
protected void |
onRadialMenuItemChanged(int index,
WidgetItem item) |
protected void |
onRadialMenuItemStateChanged(int index) |
void |
removeItemState(int index,
int state) |
void |
removeOnItemChangedListener(FixedItemCountWidget.OnItemChangedListener l) |
void |
removeOnItemStateChangedListener(FixedItemCountWidget.OnItemStateChangedListener l) |
void |
setItem(int index,
WidgetItem item) |
void |
setItemsFromList(WidgetItemList list) |
void |
setItemState(int index,
int state) |
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, onClick, onClick, onHover, onLongPress, onMove, onMove, onPointChanged, onPress, onPress, onSizeChanged, onUnpress, onUnpress, 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 void addOnItemChangedListener(FixedItemCountWidget.OnItemChangedListener l)
public void removeOnItemChangedListener(FixedItemCountWidget.OnItemChangedListener l)
public void addOnItemStateChangedListener(FixedItemCountWidget.OnItemStateChangedListener l)
public void removeOnItemStateChangedListener(FixedItemCountWidget.OnItemStateChangedListener l)
public int getItemCount()
public void setItem(int index, WidgetItem item)
public void setItemState(int index, int state)
public void setItemsFromList(WidgetItemList list)
public void removeItemState(int index, int state)
public void addItemState(int index, int state)
public WidgetItem[] getItems()
public int[] getItemStates()
public WidgetItem getItem(int index)
public int getItemState(int index)
protected void onRadialMenuItemChanged(int index, WidgetItem item)
protected void onRadialMenuItemStateChanged(int index)