Class ChangeMenuPreparePluginController
java.lang.Object
edu.jiangxin.apktoolbox.swing.extend.plugin.ChangeMenuPreparePluginController
- All Implemented Interfaces:
IPreparePluginCallback
This class is used to prepare plugin for change menu.
All operations in this class will be executed in main thread.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionChangeMenuPreparePluginController
(String pluginFilename, boolean isPluginNeedUnzip, IPreChangeMenuCallBack callBack) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onCheckFinished
(int result) void
onDownloadFinished
(int result) void
void
void
onUnzipFinished
(int result)
-
Field Details
-
RESULT_CHECK_SUCCESS
public static final int RESULT_CHECK_SUCCESS- See Also:
-
RESULT_CHECK_ZIP_EXIST
public static final int RESULT_CHECK_ZIP_EXIST- See Also:
-
RESULT_CHECK_ZIP_NOT_EXIST
public static final int RESULT_CHECK_ZIP_NOT_EXIST- See Also:
-
RESULT_DOWNLOAD_SUCCESS
public static final int RESULT_DOWNLOAD_SUCCESS- See Also:
-
RESULT_DOWNLOAD_FAILED
public static final int RESULT_DOWNLOAD_FAILED- See Also:
-
RESULT_DOWNLOAD_CANCELLED
public static final int RESULT_DOWNLOAD_CANCELLED- See Also:
-
RESULT_UNZIP_SUCCESS
public static final int RESULT_UNZIP_SUCCESS- See Also:
-
RESULT_UNZIP_FAILED
public static final int RESULT_UNZIP_FAILED- See Also:
-
RESULT_UNZIP_CANCELLED
public static final int RESULT_UNZIP_CANCELLED- See Also:
-
-
Constructor Details
-
ChangeMenuPreparePluginController
public ChangeMenuPreparePluginController(String pluginFilename, boolean isPluginNeedUnzip, IPreChangeMenuCallBack callBack)
-
-
Method Details
-
onPrepareStarted
public void onPrepareStarted()- Specified by:
onPrepareStarted
in interfaceIPreparePluginCallback
-
onCheckFinished
public void onCheckFinished(int result) - Specified by:
onCheckFinished
in interfaceIPreparePluginCallback
-
onDownloadFinished
public void onDownloadFinished(int result) - Specified by:
onDownloadFinished
in interfaceIPreparePluginCallback
-
onUnzipFinished
public void onUnzipFinished(int result) - Specified by:
onUnzipFinished
in interfaceIPreparePluginCallback
-
onPrepareFinished
public void onPrepareFinished()- Specified by:
onPrepareFinished
in interfaceIPreparePluginCallback
-