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 void
clearClipboard()
String
getAction()
Set<AreaRefWithType>
getAllSelection()
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)
-
-
-
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:
getSheetMaxVisibleRows
in interfaceUserActionContext
-
getSheetMaxVisibleColumns
public int getSheetMaxVisibleColumns()
- Specified by:
getSheetMaxVisibleColumns
in interfaceUserActionContext
-
getBook
public Book getBook()
- Specified by:
getBook
in interfaceUserActionContext
-
getSheet
public Sheet getSheet()
- Specified by:
getSheet
in interfaceUserActionContext
-
getEvent
public org.zkoss.zk.ui.event.Event getEvent()
- Specified by:
getEvent
in interfaceUserActionContext
-
getSpreadsheet
public Spreadsheet getSpreadsheet()
- Specified by:
getSpreadsheet
in interfaceUserActionContext
-
getSelection
public AreaRef getSelection()
- Specified by:
getSelection
in interfaceUserActionContext
-
getAllSelection
public Set<AreaRefWithType> getAllSelection()
- Specified by:
getAllSelection
in interfaceUserActionContext
-
getSelectionWithType
public AreaRefWithType getSelectionWithType()
- Specified by:
getSelectionWithType
in interfaceUserActionContext
-
getSelectionType
public CellSelectionType getSelectionType()
- Specified by:
getSelectionType
in interfaceUserActionContext
-
getData
public Object getData(String key)
- Specified by:
getData
in interfaceUserActionContext
-
getCategory
public String getCategory()
- Specified by:
getCategory
in interfaceUserActionContext
-
getAction
public String getAction()
- Specified by:
getAction
in interfaceUserActionContext
-
setAction
public void setAction(String action)
-
getClipboard
public UserActionContext.Clipboard getClipboard()
- Specified by:
getClipboard
in interfaceUserActionContext
-
clearClipboard
public void clearClipboard()
- Specified by:
clearClipboard
in interfaceUserActionContext
-
setClipboard
public void setClipboard(Sheet sheet, AreaRef selection, boolean cutMode, Object info)
- Specified by:
setClipboard
in interfaceUserActionContext
-
-