Package io.keikaiex.ui.impl
Class UndoableActionManagerImpl
- java.lang.Object
-
- io.keikaiex.ui.impl.UndoableActionManagerImpl
-
- All Implemented Interfaces:
io.keikai.ui.sys.UndoableActionManager,java.io.Serializable
public class UndoableActionManagerImpl extends java.lang.Object implements io.keikai.ui.sys.UndoableActionManager, java.io.Serializabledefault undoable action manager- Author:
- dennis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UndoableActionManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(io.keikai.ui.Spreadsheet spreadsheet)voidclear()voiddoAction(io.keikai.ui.sys.UndoableAction action)java.lang.StringgetRedoLabel()java.lang.StringgetUndoLabel()booleanisRedoable()booleanisUndoable()voidredoAction()voidsetMaxHsitorySize(int size)voidundoAction()
-
-
-
Method Detail
-
doAction
public void doAction(io.keikai.ui.sys.UndoableAction action)
- Specified by:
doActionin interfaceio.keikai.ui.sys.UndoableActionManager
-
isUndoable
public boolean isUndoable()
- Specified by:
isUndoablein interfaceio.keikai.ui.sys.UndoableActionManager
-
getUndoLabel
public java.lang.String getUndoLabel()
- Specified by:
getUndoLabelin interfaceio.keikai.ui.sys.UndoableActionManager
-
undoAction
public void undoAction()
- Specified by:
undoActionin interfaceio.keikai.ui.sys.UndoableActionManager
-
isRedoable
public boolean isRedoable()
- Specified by:
isRedoablein interfaceio.keikai.ui.sys.UndoableActionManager
-
getRedoLabel
public java.lang.String getRedoLabel()
- Specified by:
getRedoLabelin interfaceio.keikai.ui.sys.UndoableActionManager
-
redoAction
public void redoAction()
- Specified by:
redoActionin interfaceio.keikai.ui.sys.UndoableActionManager
-
clear
public void clear()
- Specified by:
clearin interfaceio.keikai.ui.sys.UndoableActionManager
-
setMaxHsitorySize
public void setMaxHsitorySize(int size)
- Specified by:
setMaxHsitorySizein interfaceio.keikai.ui.sys.UndoableActionManager
-
bind
public void bind(io.keikai.ui.Spreadsheet spreadsheet)
- Specified by:
bindin interfaceio.keikai.ui.sys.UndoableActionManager
-
-