java.lang.Object | |
↳ | com.droidux.pack.action.interfaces.ActionInterfaces.Item.ActionItem |
Represents the action that the user can act upon.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ActionInterfaces.Item.ActionItem.OnActionListener | Represents a listener to be notified when the action is executed. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct the action object using default values.
| |||||||||||
Construct the action object.
| |||||||||||
Construct the action object.
| |||||||||||
Construct the action object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the icon drawable that represents the action.
| |||||||||||
Gets the
ActionInterfaces.Item.ActionItem.OnActionListener as an View.OnClickListener, so that it can easily be
set on any view as the click handler. | |||||||||||
Gets the listener to be notified when the action is executed.
| |||||||||||
Gets the title of the action.
| |||||||||||
Sets the icon that represents (visually) the action.
| |||||||||||
Sets the icon that represents (visually) the action.
| |||||||||||
Sets the listener to be notified when the action is executed.
| |||||||||||
Sets the title of the action.
| |||||||||||
Sets the title of the action.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Construct the action object using default values.
Construct the action object.
title | The title of the action |
---|
Construct the action object.
icon | The icon that represents the action |
---|
Construct the action object.
title | The title of the action |
---|---|
icon | The icon that represents the action |
Gets the icon drawable that represents the action.
Gets the ActionInterfaces.Item.ActionItem.OnActionListener
as an View.OnClickListener, so that it can easily be
set on any view as the click handler.
Gets the listener to be notified when the action is executed.
Sets the icon that represents (visually) the action.
icon | The visual representation of the action. |
---|
this
. For use following the fluent interface style of programming.
Sets the icon that represents (visually) the action.
resId | The icon drawable resource id. |
---|
this
. For use following the fluent interface style of programming.
Sets the listener to be notified when the action is executed.
listener | The listener to be notified. |
---|
this
. For use following the fluent interface style of programming.
Sets the title of the action.
resId | The string resource id. |
---|
this
. For use following the fluent interface style of programming.
Sets the title of the action.
title | The title of the action. |
---|
this
. For use following the fluent interface style of programming.