public class MessageItemLongClickActionManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addMessageItemLongClickAction(MessageItemLongClickAction action) |
void |
addMessageItemLongClickAction(MessageItemLongClickAction action,
int index) |
static MessageItemLongClickActionManager |
getInstance() |
OptionsPopupDialog |
getLongClickDialog() |
Message |
getLongClickMessage() |
java.util.List<MessageItemLongClickAction> |
getMessageItemLongClickActions() |
java.util.List<MessageItemLongClickAction> |
getMessageItemLongClickActions(UiMessage uiMessage)
本方法应当只能被ItemProvider调用, 如果想修改默认的长按弹出菜单,请调用getMessageItemLongClickActions()
|
void |
removeMessageItemLongClickAction(MessageItemLongClickAction action) |
void |
setLongClickDialog(OptionsPopupDialog dialog) |
void |
setLongClickMessage(Message message) |
public void addMessageItemLongClickAction(MessageItemLongClickAction action)
public void addMessageItemLongClickAction(MessageItemLongClickAction action, int index)
public static MessageItemLongClickActionManager getInstance()
public Message getLongClickMessage()
public void setLongClickMessage(Message message)
public OptionsPopupDialog getLongClickDialog()
public void setLongClickDialog(OptionsPopupDialog dialog)
public java.util.List<MessageItemLongClickAction> getMessageItemLongClickActions()
public void removeMessageItemLongClickAction(MessageItemLongClickAction action)
public java.util.List<MessageItemLongClickAction> getMessageItemLongClickActions(UiMessage uiMessage)
uiMessage
-