Package org.silverpeas.core.web.ddwe
Class DragAndDropEditorConfig.Builder
- java.lang.Object
-
- org.silverpeas.core.web.ddwe.DragAndDropEditorConfig.Builder
-
- Enclosing class:
- DragAndDropEditorConfig
public static class DragAndDropEditorConfig.Builder extends Object
Builder dedicated toDragAndDropEditorConfig
instantiation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DragAndDropEditorConfig.Builder
addBrowseBarElement(BrowseBarElement element)
Adds manually a browse bar element into browse bar.DragAndDropEditorConfig
build()
Builds the configuration.DragAndDropEditorConfig.Builder
setMailMode()
Sets the editing into a mode which facilitates mail content creation.
-
-
-
Method Detail
-
addBrowseBarElement
public DragAndDropEditorConfig.Builder addBrowseBarElement(BrowseBarElement element)
Adds manually a browse bar element into browse bar.When the method used, default browse bar construction is ignored and given elements are added after space and component instance into the browse bar.
- Parameters:
element
- aBrowseBarElement
instance.- Returns:
- the builder instance itself.
-
setMailMode
public DragAndDropEditorConfig.Builder setMailMode()
Sets the editing into a mode which facilitates mail content creation.- Returns:
- the builder instance itself.
-
build
public DragAndDropEditorConfig build()
Builds the configuration.- Returns:
- a
DragAndDropEditorConfig
instance.
-
-