public class ContextMenuState
extends com.vaadin.shared.AbstractComponentState
Modifier and Type | Class and Description |
---|---|
static class |
ContextMenuState.ContextMenuItemState |
Constructor and Description |
---|
ContextMenuState() |
Modifier and Type | Method and Description |
---|---|
ContextMenuState.ContextMenuItemState |
addChild(String caption,
String id) |
List<ContextMenuState.ContextMenuItemState> |
getRootItems() |
boolean |
isOpenAutomatically() |
void |
setOpenAutomatically(boolean openAutomatically)
Enables or disables open automatically feature.
|
void |
setRootItems(List<ContextMenuState.ContextMenuItemState> rootItems) |
public ContextMenuState.ContextMenuItemState addChild(String caption, String id)
public List<ContextMenuState.ContextMenuItemState> getRootItems()
public void setRootItems(List<ContextMenuState.ContextMenuItemState> rootItems)
public boolean isOpenAutomatically()
public void setOpenAutomatically(boolean openAutomatically)
openAutomatically
- Copyright © 2015 Magnolia International Ltd.. All rights reserved.