public class SheetStateAdapter extends Object implements GriffonPivotAdapter, org.apache.pivot.wtk.SheetStateListener
Constructor and Description |
---|
SheetStateAdapter() |
Modifier and Type | Method and Description |
---|---|
CallableWithArgs<org.apache.pivot.util.Vote> |
getPreviewSheetClose() |
CallableWithArgs<Void> |
getSheetClosed() |
CallableWithArgs<Void> |
getSheetCloseVetoed() |
org.apache.pivot.util.Vote |
previewSheetClose(org.apache.pivot.wtk.Sheet arg0,
boolean arg1) |
void |
setPreviewSheetClose(CallableWithArgs<org.apache.pivot.util.Vote> previewSheetClose) |
void |
setSheetClosed(CallableWithArgs<Void> sheetClosed) |
void |
setSheetCloseVetoed(CallableWithArgs<Void> sheetCloseVetoed) |
void |
sheetClosed(org.apache.pivot.wtk.Sheet arg0) |
void |
sheetCloseVetoed(org.apache.pivot.wtk.Sheet arg0,
org.apache.pivot.util.Vote arg1) |
public CallableWithArgs<org.apache.pivot.util.Vote> getPreviewSheetClose()
public CallableWithArgs<Void> getSheetCloseVetoed()
public CallableWithArgs<Void> getSheetClosed()
public void setPreviewSheetClose(CallableWithArgs<org.apache.pivot.util.Vote> previewSheetClose)
public void setSheetCloseVetoed(CallableWithArgs<Void> sheetCloseVetoed)
public void setSheetClosed(CallableWithArgs<Void> sheetClosed)
public org.apache.pivot.util.Vote previewSheetClose(org.apache.pivot.wtk.Sheet arg0, boolean arg1)
previewSheetClose
in interface org.apache.pivot.wtk.SheetStateListener
public void sheetCloseVetoed(org.apache.pivot.wtk.Sheet arg0, org.apache.pivot.util.Vote arg1)
sheetCloseVetoed
in interface org.apache.pivot.wtk.SheetStateListener
public void sheetClosed(org.apache.pivot.wtk.Sheet arg0)
sheetClosed
in interface org.apache.pivot.wtk.SheetCloseListener