public abstract class NavItemEditor extends Object implements org.jboss.errai.common.client.api.IsElement
Modifier and Type | Class and Description |
---|---|
static class |
NavItemEditor.ItemType |
static interface |
NavItemEditor.View<P extends NavItemEditor> |
Modifier and Type | Field and Description |
---|---|
static NavigationConstants |
i18n |
Constructor and Description |
---|
NavItemEditor(NavItemEditor.View view,
org.jboss.errai.ioc.client.container.SyncBeanManager beanManager,
PlaceManager placeManager,
PerspectiveTreeProvider perspectiveTreeProvider,
TargetPerspectiveEditor targetPerspectiveEditor,
PerspectivePluginManager perspectivePluginManager,
javax.enterprise.event.Event<NavItemEditStartedEvent> navItemEditStartedEvent,
javax.enterprise.event.Event<NavItemEditCancelledEvent> navItemEditCancelledEvent) |
public static final NavigationConstants i18n
public NavItemEditor(NavItemEditor.View view, org.jboss.errai.ioc.client.container.SyncBeanManager beanManager, PlaceManager placeManager, PerspectiveTreeProvider perspectiveTreeProvider, TargetPerspectiveEditor targetPerspectiveEditor, PerspectivePluginManager perspectivePluginManager, javax.enterprise.event.Event<NavItemEditStartedEvent> navItemEditStartedEvent, javax.enterprise.event.Event<NavItemEditCancelledEvent> navItemEditCancelledEvent)
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement
in interface org.jboss.errai.common.client.api.IsElement
public NavItemEditorSettings getSettings()
public void setSettings(NavItemEditorSettings settings)
public Class<? extends NavItemEditor> getChildEditorClass()
public void setChildEditorClass(Class<? extends NavItemEditor> childEditorClass)
public NavItemEditor getParentEditor()
public void setParentEditor(NavItemEditor parentEditor)
public NavItemEditor getRootEditor()
public int getLevel()
public boolean isExpanded()
public String getGroupLiteral()
public String getNewPerspectiveI18n()
public String getPerspectiveLiteral()
public String getDividerLiteral()
public boolean isNewGroupEnabled()
public boolean isNewPerspectiveEnabled()
public boolean isNewDividerEnabled()
public boolean isGotoPerspectiveEnabled()
public boolean isMoveUpEnabled()
public void setMoveUpEnabled(boolean moveUpEnabled)
public boolean isMoveDownEnabled()
public void setMoveDownEnabled(boolean moveDownEnabled)
public void setOnUpdateCommand(Command onUpdateCommand)
public void setOnCancelCommand(Command onCancelCommand)
public void setOnMoveFirstCommand(Command onMoveFirstCommand)
public void setOnMoveLastCommand(Command onMoveLastCommand)
public void setOnMoveUpCommand(Command onMoveUpCommand)
public void setOnMoveDownCommand(Command onMoveDownCommand)
public void setOnDeleteCommand(Command onDeleteCommand)
public void setOnExpandCommand(Command onExpandCommand)
public NavItem getNavItem()
public void edit(NavItem navItem)
public boolean canBeExpanded()
public void expand()
public void collapse()
public void expandAll()
public void collapseAll()
public void expandOrCollapse()
public void startEdition()
public void finishEdition()
public void cancelEdition()
public void clear()
public boolean areChildrenAllowed()
public boolean areSubgroupsAllowed()
public NavItemEditor createChildEditor(NavItem navItem)
public NavItemEditor newGroup()
public NavItemEditor newPerspective()
public NavItemEditor newDivider()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.