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 UserActionContextpublic int getSheetMaxVisibleColumns()
getSheetMaxVisibleColumns in interface UserActionContextpublic Book getBook()
getBook in interface UserActionContextpublic Sheet getSheet()
getSheet in interface UserActionContextpublic org.zkoss.zk.ui.event.Event getEvent()
getEvent in interface UserActionContextpublic Spreadsheet getSpreadsheet()
getSpreadsheet in interface UserActionContextpublic AreaRef getSelection()
getSelection in interface UserActionContextpublic AreaRefWithType getSelectionWithType()
getSelectionWithType in interface UserActionContextpublic CellSelectionType getSelectionType()
getSelectionType in interface UserActionContextpublic Object getData(String key)
getData in interface UserActionContextpublic String getCategory()
getCategory in interface UserActionContextpublic String getAction()
getAction in interface UserActionContextpublic void setAction(String action)
public UserActionContext.Clipboard getClipboard()
getClipboard in interface UserActionContextpublic void clearClipboard()
clearClipboard in interface UserActionContextpublic void setClipboard(Sheet sheet, AreaRef selection, boolean cutMode, Object info)
setClipboard in interface UserActionContextCopyright © 2020. All rights reserved.