Module is.codion.swing.common.ui
Interface FileInputPanel.Builder<T>
- All Superinterfaces:
ComponentBuilder<T,
FileInputPanel, FileInputPanel.Builder<T>>
- Enclosing class:
- FileInputPanel
public static interface FileInputPanel.Builder<T>
extends ComponentBuilder<T,FileInputPanel,FileInputPanel.Builder<T>>
Builds a
FileInputPanel
-
Field Summary
Fields inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
COMPONENT_VALUE, TRANSFER_FOCUS_ON_ENTER
-
Method Summary
Modifier and TypeMethodDescriptionbuttonCaption
(String buttonCaption) buttonIcon
(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, buildValue, buildValue, clientProperty, componentListener, componentOrientation, consumer, enabled, enabled, focusable, focusCycleRoot, focusListener, font, foreground, keyEvent, keyListener, label, link, link, listener, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, onBuild, onBuildValue, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, transferFocusOnEnter, transferHandler, validator, value, visible
-
Method Details
-
buttonCaption
- Parameters:
buttonCaption
- the browse button caption- 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
-