org.almendra.janet.cas.demo.fibonacci
Class FibonacciCallbackHandler
java.lang.Object
org.almendra.janet.cas.demo.fibonacci.FibonacciCallbackHandler
- All Implemented Interfaces:
- ICallbackHandler, IHistorizableCallbackHandler, IHistorizable
public class FibonacciCallbackHandler
- extends java.lang.Object
- implements IHistorizableCallbackHandler
- Author:
- Oliver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logAccessor
protected LoggerAccessor logAccessor
historyItems
protected java.util.List historyItems
totalsCreator
protected HistoryTotalsCreator totalsCreator
textPaneHolder
protected JTextPaneHolder textPaneHolder
nthFibonacciNumber
protected int nthFibonacciNumber
FibonacciCallbackHandler
public FibonacciCallbackHandler(int nthFibonacciNumber,
LoggerAccessor logAccessor,
HistoryTotalsCreator totalsCreator,
JTextPaneHolder textPaneHolderOrNull)
- Creates a new
FibonacciCallbackHandler
object.
handle
public void handle(java.lang.Object callbackParameter)
- Specified by:
handle
in interface ICallbackHandler
getHistoryItems
public java.util.List getHistoryItems()
- Specified by:
getHistoryItems
in interface IHistorizable
addHistoryItems
public void addHistoryItems(java.util.List items)
- Specified by:
addHistoryItems
in interface IHistorizable
createHistorySummary
public void createHistorySummary(IHistorySummary historySummary)
- Specified by:
createHistorySummary
in interface IHistorizable
handle
public void handle(java.lang.Object parameter,
java.util.List historyItems)
- Specified by:
handle
in interface IHistorizableCallbackHandler