Package org.apache.pivot.wtk
Class SheetStateListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.SheetStateListener.Adapter
-
- All Implemented Interfaces:
SheetCloseListener
,SheetStateListener
- Enclosing interface:
- SheetStateListener
@Deprecated public static class SheetStateListener.Adapter extends java.lang.Object implements SheetStateListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Sheet state listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.SheetStateListener
SheetStateListener.Adapter, SheetStateListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Vote
previewSheetClose(Sheet sheet, boolean result)
Deprecated.Called to preview a sheet close event.void
sheetClosed(Sheet sheet)
Deprecated.Called when the sheet has closed.void
sheetCloseVetoed(Sheet sheet, Vote reason)
Deprecated.Called when a sheet close event has been vetoed.
-
-
-
Method Detail
-
previewSheetClose
public Vote previewSheetClose(Sheet sheet, boolean result)
Deprecated.Description copied from interface:SheetStateListener
Called to preview a sheet close event.- Specified by:
previewSheetClose
in interfaceSheetStateListener
- Parameters:
sheet
- The source of the event.result
- The proposed result of the close.- Returns:
- What this listener wants to decide about this proposed close.
-
sheetCloseVetoed
public void sheetCloseVetoed(Sheet sheet, Vote reason)
Deprecated.Description copied from interface:SheetStateListener
Called when a sheet close event has been vetoed.- Specified by:
sheetCloseVetoed
in interfaceSheetStateListener
- Parameters:
sheet
- The close event source.reason
- The accumulated vote that resulted in the veto.
-
sheetClosed
public void sheetClosed(Sheet sheet)
Deprecated.Description copied from interface:SheetStateListener
Called when the sheet has closed.- Specified by:
sheetClosed
in interfaceSheetCloseListener
- Specified by:
sheetClosed
in interfaceSheetStateListener
- Parameters:
sheet
- The sheet that has been closed.
-
-