Package de.xima.fc.gui.common.model
Class MenuEntryModel.Builder
- java.lang.Object
-
- de.xima.fc.gui.common.model.MenuEntryModel.Builder
-
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Builder<IMenuEntryModel>
- Direct Known Subclasses:
SubMenuEntryModel.Builder
- Enclosing class:
- MenuEntryModel
public static class MenuEntryModel.Builder extends Object implements org.apache.commons.lang3.builder.Builder<IMenuEntryModel>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MenuEntryModel.Builder
adminDash(EAdminDashCategory adminDashCategory)
IMenuEntryModel
build()
MenuEntryModel.Builder
description(String description)
MenuEntryModel.Builder
external(boolean external)
MenuEntryModel.Builder
helpId(String helpId)
MenuEntryModel.Builder
href(String href)
MenuEntryModel.Builder
i18n(String i18n)
MenuEntryModel.Builder
i18nDescription(String i18nKey)
MenuEntryModel.Builder
icon(String icon)
MenuEntryModel.Builder
licensed(boolean licensed)
Deprecated.MenuEntryModel.Builder
onDash(boolean renderedOnDash)
MenuEntryModel.Builder
rendered(boolean rendered)
MenuEntryModel.Builder
rendered(boolean rendered, boolean accessible)
protected void
setProperties(MenuEntryModel model)
MenuEntryModel.Builder
styleClass(String styleClass)
MenuEntryModel.Builder
target(String target)
MenuEntryModel.Builder
text(String text)
-
-
-
Constructor Detail
-
Builder
public Builder(EViews view)
-
Builder
public Builder(CustomViewModel viewModel)
-
-
Method Detail
-
helpId
public MenuEntryModel.Builder helpId(String helpId)
-
target
public MenuEntryModel.Builder target(String target)
-
description
public MenuEntryModel.Builder description(String description)
-
href
public MenuEntryModel.Builder href(String href)
-
text
public MenuEntryModel.Builder text(String text)
-
i18n
public MenuEntryModel.Builder i18n(String i18n)
-
i18nDescription
public MenuEntryModel.Builder i18nDescription(String i18nKey)
-
icon
public MenuEntryModel.Builder icon(String icon)
-
styleClass
public MenuEntryModel.Builder styleClass(String styleClass)
-
external
public MenuEntryModel.Builder external(boolean external)
-
rendered
public MenuEntryModel.Builder rendered(boolean rendered)
-
rendered
public MenuEntryModel.Builder rendered(boolean rendered, boolean accessible)
-
onDash
public MenuEntryModel.Builder onDash(boolean renderedOnDash)
-
adminDash
public MenuEntryModel.Builder adminDash(EAdminDashCategory adminDashCategory)
-
setProperties
protected void setProperties(MenuEntryModel model)
-
build
public IMenuEntryModel build()
- Specified by:
build
in interfaceorg.apache.commons.lang3.builder.Builder<IMenuEntryModel>
-
licensed
@Deprecated public MenuEntryModel.Builder licensed(boolean licensed)
Deprecated.
-
-