FileDocCategorySizeDatePackage
ICommonAction.javaAPI DocAndroid 1.5 API1343Wed May 06 22:41:08 BST 2009com.android.ddmuilib.actions

ICommonAction

public interface ICommonAction
Common interface for basic action handling. This allows the common ui components to access ToolItem or Action the same way.

Fields Summary
Constructors Summary
Methods Summary
public voidsetChecked(boolean checked)
Sets the checked status of this action.

param
checked the new checked status

public voidsetEnabled(boolean enabled)
Sets the enabled state of this action.

param
enabled true to enable, and false to disable

public voidsetRunnable(java.lang.Runnable runnable)
Sets the {@link Runnable} that will be executed when the action is triggered.