Interface LocalDateTimeEditingSupport.FinalBuilder<T,E,R>
- All Known Implementing Classes:
LocalDateTimeEditingSupport.Builder
- Enclosing class:
LocalDateTimeEditingSupport
public static interface LocalDateTimeEditingSupport.FinalBuilder<T,E,R>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()This is the finalization method.buttonText(String text) Set text for button, if the image is set, the text is not shownSet function that returns a value that indicates whether the cell can be editedAdds a clear value button to the dialogicon(org.eclipse.swt.graphics.Image image) Set image for button, if the image is set, the text is not shownnewDateCreator(Supplier<LocalDateTime> newLocalDateTimeCreator) Set function that returns a new LocalDateTime, if old value == nullProvides an API for selecting the type of dialog
-
Method Details
-
build
R build()This is the finalization method. Call this method to install the auto-complete combobox editing support on a table column. -
clearExistButton
LocalDateTimeEditingSupport.FinalBuilder<T,E, clearExistButton()R> Adds a clear value button to the dialog- Returns:
- builder object
-
newDateCreator
LocalDateTimeEditingSupport.FinalBuilder<T,E, newDateCreatorR> (Supplier<LocalDateTime> newLocalDateTimeCreator) Set function that returns a new LocalDateTime, if old value == null- Parameters:
newLocalDateTimeCreator-- Returns:
- builder object
-
canEdit
Set function that returns a value that indicates whether the cell can be edited- Parameters:
canEdit-- Returns:
- builder object
-
icon
Set image for button, if the image is set, the text is not shown- Parameters:
image-- Returns:
- builder object
-
buttonText
Set text for button, if the image is set, the text is not shown- Parameters:
text-- Returns:
- builder object
-
typeDialog
LocalDateTimeEditingSupport.TypeDialogBuilder<T,E, typeDialog()R> Provides an API for selecting the type of dialog- Returns:
- builder object
-