protected abstract class AbstractOfficeBuildingPanel.OfficeAsyncAction<T> extends Object
AbstractOfficeBuildingPanel.OfficeAction
.Constructor and Description |
---|
OfficeAsyncAction(String waitMessage)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
abstract T |
doAction()
Undertakes the asynchronous action.
|
abstract void |
done(T result)
Handles updating the view based on the results of the asynchronous
action.
|
String |
getWaitMessage()
Obtains the wait message.
|
public OfficeAsyncAction(String waitMessage)
waitMessage
- Wait message.public String getWaitMessage()
public abstract T doAction() throws Exception
Exception
- If action fails.public abstract void done(T result) throws Exception
result
- Result of the asynchronous action.Exception
- If fails to update view.doAction()
Copyright © 2005–2016. All rights reserved.