public class ShapeWidget extends MapWidget2
Modifier and Type | Class and Description |
---|---|
static interface |
ShapeWidget.OnStrokeColorChangedListener |
static interface |
ShapeWidget.OnStrokeWeightChangedListener |
MapWidget2.OnWidgetSizeChangedListener
MapWidget.Factory, MapWidget.OnClickListener, MapWidget.OnLongPressListener, MapWidget.OnMoveListener, MapWidget.OnPressListener, MapWidget.OnUnpressListener, MapWidget.OnVisibleChangedListener, MapWidget.OnWidgetPointChangedListener
Constructor and Description |
---|
ShapeWidget() |
Modifier and Type | Method and Description |
---|---|
void |
addOnStrokeColorChangedListener(IShapeWidget.OnStrokeColorChangedListener l) |
void |
addOnStrokeWeightChangedListener(ShapeWidget.OnStrokeWeightChangedListener l) |
int |
getStrokeColor() |
float |
getStrokeWeight() |
void |
removeOnStrokeColorChangedListener(IShapeWidget.OnStrokeColorChangedListener l) |
void |
removeOnStrokeWeightChangedListener(ShapeWidget.OnStrokeWeightChangedListener l) |
void |
setStrokeColor(int strokeColor) |
void |
setStrokeWeight(float strokeWeight) |
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 final void addOnStrokeColorChangedListener(IShapeWidget.OnStrokeColorChangedListener l)
public final void removeOnStrokeColorChangedListener(IShapeWidget.OnStrokeColorChangedListener l)
public void setStrokeColor(int strokeColor)
public int getStrokeColor()
public void addOnStrokeWeightChangedListener(ShapeWidget.OnStrokeWeightChangedListener l)
public void removeOnStrokeWeightChangedListener(ShapeWidget.OnStrokeWeightChangedListener l)
public void setStrokeWeight(float strokeWeight)
public float getStrokeWeight()