public interface FoldersPane extends Component.BelongToFrame, HasSettings
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProvider, Component.Wrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS
Modifier and Type | Method and Description |
---|---|
java.util.function.Function<AbstractSearchFolder,java.lang.String> |
getFolderIconProvider() |
void |
loadFolders()
Initially show the panel and load folders.
|
void |
refreshFolders()
Refresh folders if the panel is visible.
|
void |
setFolderIconProvider(java.util.function.Function<AbstractSearchFolder,java.lang.String> iconProvider)
Sets the icon provider for the folders.
|
getFrame, setFrame
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, getWidthUnits, isEnabled, isEnabledItself, isEnabledRecursive, isResponsive, isVisible, isVisibleItself, isVisibleRecursive, removeStyleName, requestFocus, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
applySettings, isSettingsEnabled, saveSettings, setSettingsEnabled
static final java.lang.String NAME
void loadFolders()
void refreshFolders()
void setFolderIconProvider(java.util.function.Function<AbstractSearchFolder,java.lang.String> iconProvider)
iconProvider
- provider which provides icons for the foldersjava.util.function.Function<AbstractSearchFolder,java.lang.String> getFolderIconProvider()