Module is.codion.swing.common.ui
Interface FileInputPanel.Builder<T>
- All Superinterfaces:
ComponentBuilder<FileInputPanel,
,FileInputPanel.Builder<T>> ComponentValueBuilder<T,
,FileInputPanel, FileInputPanel.Builder<T>> Supplier<FileInputPanel>
- Enclosing class:
FileInputPanel
public static interface FileInputPanel.Builder<T>
extends ComponentValueBuilder<T,FileInputPanel,FileInputPanel.Builder<T>>
Builds a
FileInputPanel
-
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<String, JTextField, ?>> 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
background, border, build, build, clientProperty, componentListener, componentOrientation, enabled, enabled, focusable, focusable, focusCycleRoot, focusListener, font, foreground, get, keyEvent, keyListener, label, label, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, name, onBuild, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, toolTipText, transferFocusOnEnter, transferFocusOnEnter, transferHandler, visible, visible
Methods inherited from interface is.codion.swing.common.ui.component.builder.ComponentValueBuilder
buildValue, buildValue, consumer, link, link, listener, modifiedIndicator, modifiedIndicatorFactory, onBuildValue, validator, validIndicator, validIndicator, validIndicatorFactory, value
-
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
FileInputPanel.Builder<T> filePathField(Consumer<TextFieldBuilder<String, JTextField, ?>> 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
-