public static class WidgetItem.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WidgetItem |
build() |
WidgetItem.Builder |
fork() |
WidgetItem.Builder |
setBackingColor(int color) |
WidgetItem.Builder |
setBackingColor(int state,
int color) |
WidgetItem.Builder |
setIconAnchor(android.graphics.Point anchor) |
WidgetItem.Builder |
setIconRef(int state,
MapDataRef iconRef) |
WidgetItem.Builder |
setIconRef(MapDataRef iconRef) |
WidgetItem.Builder |
setIconSize(int width,
int height) |
WidgetItem.Builder |
setLabel(java.lang.String labelText) |
public WidgetItem.Builder setLabel(java.lang.String labelText)
labelText
- public WidgetItem.Builder setIconAnchor(android.graphics.Point anchor)
anchor
- public WidgetItem.Builder setIconSize(int width, int height)
width
- height
- public WidgetItem.Builder setBackingColor(int state, int color)
state
- color
- public WidgetItem.Builder setBackingColor(int color)
color
- public WidgetItem.Builder setIconRef(int state, MapDataRef iconRef)
state
- iconRef
- public WidgetItem.Builder setIconRef(MapDataRef iconRef)
iconRef
- public WidgetItem build()
public WidgetItem.Builder fork()