com.droidux.pack.wheel.interfaces.WheelInterfaces.Views.WheelSpinnerInterface |
![]() |
Represents a contract to be implemented by WheelSpinner
.
XML Attributes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
dux_faceColor | getFrameColor() | Specifies the face color of a wheel. | |||||||||
dux_frameColor | getFaceColor() | Specifies the frame color of a wheel. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the adapter currently associated with this widget.
| |||||||||||
Gets the color of the frame of the wheel.
| |||||||||||
Gets the color of the face of the wheel.
| |||||||||||
Gets the static view to be displayed on the left of the selected value, if any.
| |||||||||||
Gets the static view to be displayed on the right of the selected value, if any.
| |||||||||||
The Adapter is used to provide the data which backs this Spinner.
| |||||||||||
Sets the colors of the wheel.
| |||||||||||
Sets the color of the wheel.
| |||||||||||
Sets the frame color of the wheel.
| |||||||||||
Sets a static view to be displayed on the left of the selected value.
| |||||||||||
Sets a static view to be displayed on the right of the selected value.
| |||||||||||
Sets the maximum number of items visible in this spinner.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Specifies the face color of a wheel.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
Specifies the frame color of a wheel.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
Returns the adapter currently associated with this widget.
Gets the color of the frame of the wheel.
Gets the color of the face of the wheel.
Gets the static view to be displayed on the left of the selected value, if any.
Gets the static view to be displayed on the right of the selected value, if any.
The Adapter is used to provide the data which backs this Spinner. It also provides methods to transform spinner items based on their position relative to the selected item.
adapter | The adapter to use for this spinner. |
---|
Sets the colors of the wheel. The wheel colors has 2 parts, the frame/edge of the wheel, and the face/main color of the wheel.
frameColor | The frame color. |
---|---|
faceColor | The face color. |
Sets the color of the wheel. The face color is the main color of the wheel.
color | The color of the wheel. |
---|
Sets the frame color of the wheel. The frame color is the color of the edges/frame of the wheel.
color | The frame color. |
---|
Sets a static view to be displayed on the left of the selected value. The static view can be used, for example, to display label, reset button, etc.
view | The view to be displayed on the left of the selected value. Or null. |
---|
Sets a static view to be displayed on the right of the selected value. The static view can be used, for example, to display label, reset button, etc.
view | The view to be displayed on the right of the selected value. Or null. |
---|
Sets the maximum number of items visible in this spinner.
count | The maximum number of visible items. |
---|