public static class DefaultUserActionManagerCtrl.UserActionContextImpl extends Object implements UserActionContext
UserActionContext.Clipboard
Constructor and Description |
---|
UserActionContextImpl(Spreadsheet ss,
org.zkoss.zk.ui.event.Event event,
Book book,
Sheet sheet,
AreaRef selection,
CellSelectionType selectionType,
Map<String,Object> data,
String category,
String action) |
Modifier and Type | Method and Description |
---|---|
void |
clearClipboard() |
String |
getAction() |
Book |
getBook() |
String |
getCategory() |
UserActionContext.Clipboard |
getClipboard() |
Object |
getData(String key) |
org.zkoss.zk.ui.event.Event |
getEvent() |
AreaRef |
getSelection() |
CellSelectionType |
getSelectionType() |
AreaRefWithType |
getSelectionWithType() |
Sheet |
getSheet() |
int |
getSheetMaxVisibleColumns() |
int |
getSheetMaxVisibleRows() |
Spreadsheet |
getSpreadsheet() |
void |
setAction(String action) |
void |
setClipboard(Sheet sheet,
AreaRef selection,
boolean cutMode,
Object info) |
void |
setData(String key,
Object value) |
public UserActionContextImpl(Spreadsheet ss, org.zkoss.zk.ui.event.Event event, Book book, Sheet sheet, AreaRef selection, CellSelectionType selectionType, Map<String,Object> data, String category, String action)
public int getSheetMaxVisibleRows()
getSheetMaxVisibleRows
in interface UserActionContext
public int getSheetMaxVisibleColumns()
getSheetMaxVisibleColumns
in interface UserActionContext
public Book getBook()
getBook
in interface UserActionContext
public Sheet getSheet()
getSheet
in interface UserActionContext
public org.zkoss.zk.ui.event.Event getEvent()
getEvent
in interface UserActionContext
public Spreadsheet getSpreadsheet()
getSpreadsheet
in interface UserActionContext
public AreaRef getSelection()
getSelection
in interface UserActionContext
public AreaRefWithType getSelectionWithType()
getSelectionWithType
in interface UserActionContext
public CellSelectionType getSelectionType()
getSelectionType
in interface UserActionContext
public Object getData(String key)
getData
in interface UserActionContext
public String getCategory()
getCategory
in interface UserActionContext
public String getAction()
getAction
in interface UserActionContext
public void setAction(String action)
public UserActionContext.Clipboard getClipboard()
getClipboard
in interface UserActionContext
public void clearClipboard()
clearClipboard
in interface UserActionContext
public void setClipboard(Sheet sheet, AreaRef selection, boolean cutMode, Object info)
setClipboard
in interface UserActionContext
Copyright © 2020. All rights reserved.