Package io.keikai.ui.impl
Class DefaultUserActionManagerCtrl.UserActionContextImpl
- java.lang.Object
-
- io.keikai.ui.impl.DefaultUserActionManagerCtrl.UserActionContextImpl
-
- All Implemented Interfaces:
UserActionContext
- Enclosing class:
- DefaultUserActionManagerCtrl
public static class DefaultUserActionManagerCtrl.UserActionContextImpl extends Object implements UserActionContext
internal use only- Author:
- dennis
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.keikai.ui.UserActionContext
UserActionContext.Clipboard
-
-
Constructor Summary
Constructors Constructor 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)UserActionContextImpl(Spreadsheet ss, org.zkoss.zk.ui.event.Event event, Book book, Sheet sheet, Set<AreaRefWithType> selection, Map<String,Object> data, String category, String action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearClipboard()StringgetAction()Set<AreaRefWithType>getAllSelection()BookgetBook()StringgetCategory()UserActionContext.ClipboardgetClipboard()ObjectgetData(String key)org.zkoss.zk.ui.event.EventgetEvent()AreaRefgetSelection()CellSelectionTypegetSelectionType()AreaRefWithTypegetSelectionWithType()SheetgetSheet()intgetSheetMaxVisibleColumns()intgetSheetMaxVisibleRows()SpreadsheetgetSpreadsheet()voidsetAction(String action)voidsetClipboard(Sheet sheet, AreaRef selection, boolean cutMode, Object info)voidsetData(String key, Object value)
-
-
-
Constructor Detail
-
UserActionContextImpl
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)
-
UserActionContextImpl
public UserActionContextImpl(Spreadsheet ss, org.zkoss.zk.ui.event.Event event, Book book, Sheet sheet, Set<AreaRefWithType> selection, Map<String,Object> data, String category, String action)
-
-
Method Detail
-
getSheetMaxVisibleRows
public int getSheetMaxVisibleRows()
- Specified by:
getSheetMaxVisibleRowsin interfaceUserActionContext
-
getSheetMaxVisibleColumns
public int getSheetMaxVisibleColumns()
- Specified by:
getSheetMaxVisibleColumnsin interfaceUserActionContext
-
getBook
public Book getBook()
- Specified by:
getBookin interfaceUserActionContext
-
getSheet
public Sheet getSheet()
- Specified by:
getSheetin interfaceUserActionContext
-
getEvent
public org.zkoss.zk.ui.event.Event getEvent()
- Specified by:
getEventin interfaceUserActionContext
-
getSpreadsheet
public Spreadsheet getSpreadsheet()
- Specified by:
getSpreadsheetin interfaceUserActionContext
-
getSelection
public AreaRef getSelection()
- Specified by:
getSelectionin interfaceUserActionContext
-
getAllSelection
public Set<AreaRefWithType> getAllSelection()
- Specified by:
getAllSelectionin interfaceUserActionContext
-
getSelectionWithType
public AreaRefWithType getSelectionWithType()
- Specified by:
getSelectionWithTypein interfaceUserActionContext
-
getSelectionType
public CellSelectionType getSelectionType()
- Specified by:
getSelectionTypein interfaceUserActionContext
-
getData
public Object getData(String key)
- Specified by:
getDatain interfaceUserActionContext
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceUserActionContext
-
getAction
public String getAction()
- Specified by:
getActionin interfaceUserActionContext
-
setAction
public void setAction(String action)
-
getClipboard
public UserActionContext.Clipboard getClipboard()
- Specified by:
getClipboardin interfaceUserActionContext
-
clearClipboard
public void clearClipboard()
- Specified by:
clearClipboardin interfaceUserActionContext
-
setClipboard
public void setClipboard(Sheet sheet, AreaRef selection, boolean cutMode, Object info)
- Specified by:
setClipboardin interfaceUserActionContext
-
-