Module is.codion.swing.common.ui
Interface FileInput.Builder<T>
- All Superinterfaces:
ComponentBuilder<FileInput,,FileInput.Builder<T>> ComponentValueBuilder<FileInput,,T, FileInput.Builder<T>> Supplier<FileInput>
- Enclosing class:
FileInput
public static interface FileInput.Builder<T>
extends ComponentValueBuilder<FileInput,T,FileInput.Builder<T>>
Builds a
FileInput-
Field Summary
Fields inherited from interface is.codion.swing.common.ui.component.builder.ComponentValueBuilder
COMPONENT_VALUE -
Method Summary
Modifier and TypeMethodDescriptionbuttonCaption(String buttonCaption) Note that the button caption is not used if abuttonIcon(Icon)is specifiedbuttonIcon(Icon buttonIcon) filePathField(Consumer<TextFieldBuilder<JTextField, String, ?>> filePathField) The field has already been rendered non-editable, useTextComponentBuilder.editable(boolean)to revert.Methods inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
ancestorListener, background, border, build, build, clientProperty, componentListener, componentOrientation, enabled, enabled, focusable, focusable, focusCycleRoot, focusListener, font, font, foreground, get, hierarchyListener, keyEvent, keyListener, label, label, label, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, name, onBuild, onSetVisible, opaque, popupControl, popupControls, popupControls, popupMenu, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, toolTipText, transferFocusOnEnter, transferFocusOnEnter, transferHandler, visible, visibleMethods inherited from interface is.codion.swing.common.ui.component.builder.ComponentValueBuilder
buildValue, buildValue, changeConsumer, changeListener, consumer, link, link, listener, modified, modifiedIndicator, onBuildValue, valid, valid, validationIndicator, validator, value, warned, weakChangeConsumer, weakChangeListener, weakConsumer, weakListener, when, when, when, when
-
Method Details
-
buttonCaption
Note that the button caption is not used if abuttonIcon(Icon)is specified- Parameters:
buttonCaption- the browse button caption, used in case no icon is specified- Returns:
- this builder instance
-
buttonIcon
- Parameters:
buttonIcon- the browse button icon- Returns:
- this builder instance
-
filePathField
The field has already been rendered non-editable, useTextComponentBuilder.editable(boolean)to revert.- Parameters:
filePathField- the file path field builder- Returns:
- this builder instance
-