public class ContextMenuTree extends Object
Constructor and Description |
---|
ContextMenuTree()
Instantiates a new context menu tree.
|
Modifier and Type | Method and Description |
---|---|
void |
clearListSelectedItems()
Clear list selected items.
|
void |
contextMenuSwitch(FileModel selectedItem)
switch visible operation on context menu according to selected item.
|
com.extjs.gxt.ui.client.widget.menu.Menu |
getContextMenu()
Gets the context menu.
|
List<FileModel> |
getListSelectedItems()
Gets the list selected items.
|
void |
openContextMenuOnItem(FileModel targetFileModel,
int posX,
int posY)
Called from context menu on grid.
|
void |
setHideSharing()
Sets the hide sharing.
|
void |
setListSelectedItems(List<FileModel> listSelectedItems)
Sets the list selected items.
|
void |
setPagePosition(int x,
int y)
Sets the page position.
|
public void clearListSelectedItems()
public void setHideSharing()
public void openContextMenuOnItem(FileModel targetFileModel, int posX, int posY)
targetFileModel
- the target file modelposX
- the pos xposY
- the pos ypublic void contextMenuSwitch(FileModel selectedItem)
selectedItem
- the selected itempublic com.extjs.gxt.ui.client.widget.menu.Menu getContextMenu()
public void setPagePosition(int x, int y)
x
- the xy
- the ypublic List<FileModel> getListSelectedItems()
Copyright © 2016. All Rights Reserved.