Interface LocalTimeEditingSupport.FinalBuilder<T,E,R>
- All Known Implementing Classes:
LocalTimeEditingSupport.Builder
- Enclosing class:
LocalTimeEditingSupport
public static interface LocalTimeEditingSupport.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 shownnewLocalTimeCreator(Supplier<LocalTime> newLocalTimeCreator) Set function that returns a new LocalTime, if old value == null
-
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
LocalTimeEditingSupport.FinalBuilder<T,E, clearExistButton()R> Adds a clear value button to the dialog- Returns:
- builder object
-
newLocalTimeCreator
LocalTimeEditingSupport.FinalBuilder<T,E, newLocalTimeCreatorR> (Supplier<LocalTime> newLocalTimeCreator) Set function that returns a new LocalTime, if old value == null- Parameters:
newLocalTimeCreator-- 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
-