@Deprecated public class WebFoldersPane extends io.jmix.ui.component.impl.AbstractComponent<CubaFoldersPane> implements FoldersPane
io.jmix.ui.component.Component.Alignment, io.jmix.ui.component.Component.BelongToFrame, io.jmix.ui.component.Component.Disposable, io.jmix.ui.component.Component.Editable, io.jmix.ui.component.Component.Focusable, io.jmix.ui.component.Component.HasCaption, io.jmix.ui.component.Component.HasDescription, io.jmix.ui.component.Component.HasIcon, io.jmix.ui.component.Component.HasXmlDescriptor, io.jmix.ui.component.Component.Wrapper| Modifier and Type | Field and Description |
|---|---|
protected CubaProperties |
cubaProperties
Deprecated.
|
protected com.vaadin.ui.IconGenerator<AbstractSearchFolder> |
DEFAULT_ICON_GENERATOR
Deprecated.
|
protected com.vaadin.ui.IconGenerator<AbstractSearchFolder> |
ICON_GENERATOR
Deprecated.
|
protected java.util.function.Function<AbstractSearchFolder,java.lang.String> |
iconProvider
Deprecated.
|
protected io.jmix.ui.icon.Icons |
icons
Deprecated.
|
protected static com.vaadin.ui.IconGenerator<AbstractSearchFolder> |
NULL_ITEM_ICON_GENERATOR
Deprecated.
|
protected boolean |
settingsEnabled
Deprecated.
|
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentNAME| Constructor and Description |
|---|
WebFoldersPane()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applySettings(org.dom4j.Element element)
Deprecated.
Applies user settings for object.
|
protected CubaFoldersPane |
createComponent()
Deprecated.
|
protected com.vaadin.server.Resource |
getDefaultFolderIcon(AbstractSearchFolder item)
Deprecated.
|
protected com.vaadin.server.Resource |
getFolderIcon(AbstractSearchFolder item)
Deprecated.
|
java.util.function.Function<AbstractSearchFolder,java.lang.String> |
getFolderIconProvider()
Deprecated.
|
java.lang.String |
getStyleName()
Deprecated.
|
boolean |
isSettingsEnabled()
Deprecated.
|
void |
loadFolders()
Deprecated.
Initially show the panel and load folders.
|
void |
refreshFolders()
Deprecated.
Refresh folders if the panel is visible.
|
boolean |
saveSettings(org.dom4j.Element element)
Deprecated.
Saves object settings to the element.
|
void |
setCubaProperties(CubaProperties cubaProperties)
Deprecated.
|
void |
setFolderIconProvider(java.util.function.Function<AbstractSearchFolder,java.lang.String> iconProvider)
Deprecated.
Sets the icon provider for the folders.
|
void |
setFrame(io.jmix.ui.component.Frame frame)
Deprecated.
|
void |
setIcons(io.jmix.ui.icon.Icons icons)
Deprecated.
|
void |
setSettingsEnabled(boolean settingsEnabled)
Deprecated.
Set to true if object should allow to save and apply settings
|
void |
setStyleName(java.lang.String styleName)
Deprecated.
|
protected void |
setupIconGenerator()
Deprecated.
|
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionprotected static final com.vaadin.ui.IconGenerator<AbstractSearchFolder> NULL_ITEM_ICON_GENERATOR
protected final com.vaadin.ui.IconGenerator<AbstractSearchFolder> ICON_GENERATOR
protected final com.vaadin.ui.IconGenerator<AbstractSearchFolder> DEFAULT_ICON_GENERATOR
protected java.util.function.Function<AbstractSearchFolder,java.lang.String> iconProvider
protected boolean settingsEnabled
protected CubaProperties cubaProperties
protected io.jmix.ui.icon.Icons icons
protected CubaFoldersPane createComponent()
@Autowired public void setCubaProperties(CubaProperties cubaProperties)
@Autowired public void setIcons(io.jmix.ui.icon.Icons icons)
public void setStyleName(java.lang.String styleName)
setStyleName in interface io.jmix.ui.component.ComponentsetStyleName in class io.jmix.ui.component.impl.AbstractComponent<CubaFoldersPane>public java.lang.String getStyleName()
getStyleName in interface io.jmix.ui.component.ComponentgetStyleName in class io.jmix.ui.component.impl.AbstractComponent<CubaFoldersPane>public void setFrame(io.jmix.ui.component.Frame frame)
setFrame in interface io.jmix.ui.component.Component.BelongToFramesetFrame in class io.jmix.ui.component.impl.AbstractComponent<CubaFoldersPane>public void loadFolders()
FoldersPaneloadFolders in interface FoldersPaneprotected void setupIconGenerator()
public void refreshFolders()
FoldersPanerefreshFolders in interface FoldersPanepublic void setFolderIconProvider(java.util.function.Function<AbstractSearchFolder,java.lang.String> iconProvider)
FoldersPanesetFolderIconProvider in interface FoldersPaneiconProvider - provider which provides icons for the folderspublic java.util.function.Function<AbstractSearchFolder,java.lang.String> getFolderIconProvider()
getFolderIconProvider in interface FoldersPaneprotected com.vaadin.server.Resource getDefaultFolderIcon(AbstractSearchFolder item)
protected com.vaadin.server.Resource getFolderIcon(AbstractSearchFolder item)
public void applySettings(org.dom4j.Element element)
HasSettingsapplySettings in interface HasSettingselement - settings elementpublic boolean saveSettings(org.dom4j.Element element)
HasSettingssaveSettings in interface HasSettingselement - settings elementpublic boolean isSettingsEnabled()
isSettingsEnabled in interface HasSettingspublic void setSettingsEnabled(boolean settingsEnabled)
HasSettingssetSettingsEnabled in interface HasSettingssettingsEnabled - whether settings should be enabled for the object