public class TuEditMultipleComponent extends TuEditMultipleComponentBase implements TuEditMultipleFragment.TuEditMultipleFragmentDelegate, TuEditCuterFragment.TuEditCuterFragmentDelegate, TuEditFilterFragment.TuEditFilterFragmentDelegate, TuFilterResultFragment.TuFilterResultFragmentDelegate, TuEditStickerFragment.TuEditStickerFragmentDelegate, TuEditSmudgeFragment.TuEditSmudgeFragmentDelegate, TuEditWipeAndFilterFragment.TuEditWipeAndFilterFragmentDelegate, TuEditFragment.TuGeeV2EditFragmentDelegate
TuSdkComponent.TuSdkComponentDelegate
构造器和说明 |
---|
TuEditMultipleComponent(android.app.Activity activity)
多功能图像编辑组件
|
TuEditMultipleComponent(TuFragment fragment)
多功能图像编辑组件
|
getImage, getImageSqlInfo, getTempFilePath, setTempFilePath
activity, alert, alert, getDelegate, getResString, getResString, isAutoDismissWhenCompleted, onComponentError, presentActivity, presentModalNavigationActivity, presentModalNavigationActivity, presentModalNavigationActivity, pushModalNavigationActivity, pushModalNavigationActivity, setAutoDismissWhenCompleted, setDelegate, showAlertIfCannotSaveFile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onComponentError
public TuEditMultipleComponent(TuFragment fragment)
public TuEditMultipleComponent(android.app.Activity activity)
public TuEditMultipleComponent setDraftImageList(java.util.List<TuDraftImageWrap> draftImageList)
draftImageList
- public TuEditMultipleComponent setImageSqlInfoList(java.util.List<ImageSqlInfo> imageSqlInfoList)
imageSqlInfoList
- (一般是相册组件返回结果)public TuEditMultipleComponent setImageSqlInfo(ImageSqlInfo mImageSqlInfo)
setImageSqlInfo
在类中 TuSdkInputComponent
imageSqlInfoList
- public TuEditMultipleComponent setResult(TuSdkResult result)
result
- 相机、相册组件调用完成后结果public java.util.List<TuDraftImageWrap> resultToDraftImageList(TuSdkResult result)
result
- @Deprecated public TuEditMultipleComponent setImage(android.graphics.Bitmap mImage)
TuSdkInputComponent
setImage
在类中 TuSdkInputComponent
mImage
- the mImage to setpublic TuEditMultipleComponentOption componentOption()
public void setComponentOption(TuEditMultipleComponentOption mComponentOption)
public static TuEditMultipleComponent componentWithDraftImageList(android.app.Activity activity, java.util.List<TuDraftImageWrap> draftImageList, TuSdkComponent.TuSdkComponentDelegate delegate)
fragment
- 控制器imageSqlInfoList
- 编辑的图片列表delegate
- 组件委托public static TuEditMultipleComponent componentWithImageSqlInfoList(android.app.Activity activity, java.util.List<ImageSqlInfo> imageSqlInfoList, TuSdkComponent.TuSdkComponentDelegate delegate)
activity
- 内容上下文imageSqlInfoList
- 编辑的图片列表delegate
- 组件委托public static TuEditMultipleComponent componentWithResult(TuSdkResult result, android.app.Activity activity, TuSdkComponent.TuSdkComponentDelegate delegate)
result
- 相机或者相册返回的结果activity
- 内容上下文delegate
- 组件委托protected void initComponent()
TuSdkComponent
initComponent
在类中 TuSdkComponent
public TuEditMultipleComponent showComponent()
TuSdkComponent
showComponent
在类中 TuSdkComponent
protected void handleAction(TuEditMultipleFragment editFragment, TuImageResultFragment fragment)
protected void onActionEdited(TuImageResultFragment fragment, TuSdkResult result)
fragment
- 控制器result
- 处理结果protected void notifyResult(TuSdkResult result, java.lang.Error error, TuFragment lastFragment)
notifyResult
在类中 TuSdkComponent
result
- 返回结果error
- 异常信息lastFragment
- 最后显示的控制器public void onTuEditMultipleFragmentEdited(TuEditMultipleFragment fragment, TuSdkResult result)
onTuEditMultipleFragmentEdited
在接口中 TuEditMultipleFragment.TuEditMultipleFragmentDelegate
fragment
- 多功能图像编辑控制器result
- Sdk执行结果public boolean onTuEditMultipleFragmentEditedAsync(TuEditMultipleFragment fragment, TuSdkResult result)
onTuEditMultipleFragmentEditedAsync
在接口中 TuEditMultipleFragment.TuEditMultipleFragmentDelegate
fragment
- 多功能图像编辑控制器result
- Sdk执行结果public void onTuEditMultipleFragmentAction(TuEditMultipleFragment fragment, TuEditActionType actionType)
onTuEditMultipleFragmentAction
在接口中 TuEditMultipleFragment.TuEditMultipleFragmentDelegate
fragment
- 多功能图像编辑控制器actionType
- 图片编辑动作类型public void onTuEditMultipleFragmentAppendImageAction(TuEditMultipleFragment fragment)
public void onTuEditCuterFragmentEdited(TuEditCuterFragment fragment, TuSdkResult result)
onTuEditCuterFragmentEdited
在接口中 TuEditCuterFragment.TuEditCuterFragmentDelegate
fragment
- 图片编辑裁切旋转控制器result
- 图片编辑裁切旋转控制器处理结果public boolean onTuEditCuterFragmentEditedAsync(TuEditCuterFragment fragment, TuSdkResult result)
onTuEditCuterFragmentEditedAsync
在接口中 TuEditCuterFragment.TuEditCuterFragmentDelegate
fragment
- 图片编辑裁切旋转控制器result
- 图片编辑裁切旋转控制器处理结果protected void handleFilterButton(TuEditMultipleFragment editFragment)
public void onTuEditFilterFragmentEdited(TuEditFilterFragment fragment, TuSdkResult result)
onTuEditFilterFragmentEdited
在接口中 TuEditFilterFragment.TuEditFilterFragmentDelegate
fragment
- 图片编辑滤镜控制器result
- 图片编辑滤镜控制器处理结果public boolean onTuEditFilterFragmentEditedAsync(TuEditFilterFragment fragment, TuSdkResult result)
onTuEditFilterFragmentEditedAsync
在接口中 TuEditFilterFragment.TuEditFilterFragmentDelegate
fragment
- 图片编辑滤镜控制器result
- 图片编辑滤镜控制器处理结果public void onTuFilterResultFragmentEdited(TuFilterResultFragment fragment, TuSdkResult result)
onTuFilterResultFragmentEdited
在接口中 TuFilterResultFragment.TuFilterResultFragmentDelegate
fragment
- 滤镜控制器result
- 处理结果public boolean onTuFilterResultFragmentEditedAsync(TuFilterResultFragment fragment, TuSdkResult result)
onTuFilterResultFragmentEditedAsync
在接口中 TuFilterResultFragment.TuFilterResultFragmentDelegate
fragment
- 滤镜控制器result
- 处理结果protected void handleStickerButton(TuEditMultipleFragment editFragment)
public void onTuEditStickerFragmentEdited(TuEditStickerFragment fragment, TuSdkResult result)
onTuEditStickerFragmentEdited
在接口中 TuEditStickerFragment.TuEditStickerFragmentDelegate
fragment
- 图片编辑贴纸选择控制器result
- 处理结果public boolean onTuEditStickerFragmentEditedAsync(TuEditStickerFragment fragment, TuSdkResult result)
onTuEditStickerFragmentEditedAsync
在接口中 TuEditStickerFragment.TuEditStickerFragmentDelegate
fragment
- 图片编辑贴纸选择控制器result
- 器处理结果public void handleEditButton(TuEditMultipleFragment editFragment)
public void onTuEditSmudgeFragmentEdited(TuEditSmudgeFragment fragment, TuSdkResult result)
onTuEditSmudgeFragmentEdited
在接口中 TuEditSmudgeFragment.TuEditSmudgeFragmentDelegate
fragment
- 图片编辑涂抹控制器result
- 处理结果public boolean onTuEditSmudgeFragmentEditedAsync(TuEditSmudgeFragment fragment, TuSdkResult result)
onTuEditSmudgeFragmentEditedAsync
在接口中 TuEditSmudgeFragment.TuEditSmudgeFragmentDelegate
fragment
- 图片编辑涂抹控制器result
- 器处理结果public void onTuEditWipeAndFilterFragmentEdited(TuEditWipeAndFilterFragment fragment, TuSdkResult result)
onTuEditWipeAndFilterFragmentEdited
在接口中 TuEditWipeAndFilterFragment.TuEditWipeAndFilterFragmentDelegate
fragment
- 图片编辑模糊控制器result
- 处理结果public boolean onTuEditWipeAndFilterFragmentEditedAsync(TuEditWipeAndFilterFragment fragment, TuSdkResult result)
onTuEditWipeAndFilterFragmentEditedAsync
在接口中 TuEditWipeAndFilterFragment.TuEditWipeAndFilterFragmentDelegate
fragment
- 图片编辑模糊控制器result
- 器处理结果public void onTuEditFragmentEdited(TuEditFragment fragment, TuSdkResult result)
onTuEditFragmentEdited
在接口中 TuEditFragment.TuGeeV2EditFragmentDelegate
fragment
- 图片编辑裁切旋转控制器result
- 图片编辑裁切旋转控制器处理结果public boolean onTuEditFragmentEditedAsync(TuEditFragment fragment, TuSdkResult result)