public class MenuPopupStateAdapter extends Object implements GriffonPivotAdapter, org.apache.pivot.wtk.MenuPopupStateListener
Constructor and Description |
---|
MenuPopupStateAdapter() |
Modifier and Type | Method and Description |
---|---|
CallableWithArgs<Void> |
getMenuPopupClosed() |
CallableWithArgs<Void> |
getMenuPopupCloseVetoed() |
CallableWithArgs<org.apache.pivot.util.Vote> |
getPreviewMenuPopupClose() |
void |
menuPopupClosed(org.apache.pivot.wtk.MenuPopup arg0) |
void |
menuPopupCloseVetoed(org.apache.pivot.wtk.MenuPopup arg0,
org.apache.pivot.util.Vote arg1) |
org.apache.pivot.util.Vote |
previewMenuPopupClose(org.apache.pivot.wtk.MenuPopup arg0,
boolean arg1) |
void |
setMenuPopupClosed(CallableWithArgs<Void> menuPopupClosed) |
void |
setMenuPopupCloseVetoed(CallableWithArgs<Void> menuPopupCloseVetoed) |
void |
setPreviewMenuPopupClose(CallableWithArgs<org.apache.pivot.util.Vote> previewMenuPopupClose) |
public CallableWithArgs<org.apache.pivot.util.Vote> getPreviewMenuPopupClose()
public CallableWithArgs<Void> getMenuPopupClosed()
public CallableWithArgs<Void> getMenuPopupCloseVetoed()
public void setPreviewMenuPopupClose(CallableWithArgs<org.apache.pivot.util.Vote> previewMenuPopupClose)
public void setMenuPopupClosed(CallableWithArgs<Void> menuPopupClosed)
public void setMenuPopupCloseVetoed(CallableWithArgs<Void> menuPopupCloseVetoed)
public org.apache.pivot.util.Vote previewMenuPopupClose(org.apache.pivot.wtk.MenuPopup arg0, boolean arg1)
previewMenuPopupClose
in interface org.apache.pivot.wtk.MenuPopupStateListener
public void menuPopupClosed(org.apache.pivot.wtk.MenuPopup arg0)
menuPopupClosed
in interface org.apache.pivot.wtk.MenuPopupStateListener
public void menuPopupCloseVetoed(org.apache.pivot.wtk.MenuPopup arg0, org.apache.pivot.util.Vote arg1)
menuPopupCloseVetoed
in interface org.apache.pivot.wtk.MenuPopupStateListener