public class SimpleCalculator extends csdk.v1_0.helper.AbstractCSDKWindowApplication implements ActionListener
| Constructor and Description |
|---|
SimpleCalculator(csdk.v1_0.api.core.ICSDKEnvironment csdkInterface)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent event)
This method is called whenever an action is performed on the applet, *
specifically whenever one of the buttons on the applet is pressed *
|
protected void |
applicationEnded() |
protected void |
applicationStarted(JFrame frame)
Montagem do diálogo principal.
|
boolean |
canEndApplication()
Método que permite sempre ao usuário matar a aplicação.
|
boolean |
keyDown(Event evt,
int key)
The following method handles all of the key events that occurs when a user
enters values from the keyboard.
|
addWindow, closeDependentWindows, getApplicationFrame, onApplicationEnd, onApplicationStart, removeWindowaddProjectObserver, browseLocalFileInOpenMode, browseLocalFileInSaveMode, browseMultipleLocalFilesInOpenMode, browseMultipleProjectFilesInOpenMode, browseProjectFileInOpenMode, browseProjectFileInSaveMode, createLocalFile, createProjectFile, disposeContexts, executeAlgorithm, executeFlow, getCurrentProjectId, getLocalFile, getProjectFile, isCommandContextAvailable, isFileSystemContextAvailable, isProjectContextAvailable, isProjectOpen, removeLocalFile, removeProjectFile, removeProjectObserverfinishApplication, getApplicationDescription, getApplicationFileTypes, getApplicationIcon, getApplicationId, getApplicationName, getAuthor, getAuthorEmail, getCharset, getCharset, getClassString, getContext, getImageIcon, getInstanceId, getLocale, getProperty, getResource, getResourceAsStream, getServerCharset, getSmallApplicationIcon, getString, getVersion, handleException, hasClassString, hasString, isActive, isApplicationContextAvailable, isBundleRequired, isPropertyNull, isSingleton, onContextActivate, onContextDeactivate, onMessageReceived, requiresProject, runApplication, sendMessagepublic SimpleCalculator(csdk.v1_0.api.core.ICSDKEnvironment csdkInterface)
csdkInterface - interface padrão para o ambiente CSDK.protected void applicationStarted(JFrame frame)
applicationStarted in class csdk.v1_0.helper.AbstractCSDKWindowApplicationpublic boolean canEndApplication()
canEndApplication in interface csdk.v1_0.api.application.IApplicationcanEndApplication in class csdk.v1_0.helper.application.AbstractApplicationpublic void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListenerpublic boolean keyDown(Event evt, int key)
evt - eventkey - keyprotected void applicationEnded()
applicationEnded in class csdk.v1_0.helper.AbstractCSDKWindowApplicationCopyright © 2016 Tecgraf/PUC-Rio. All rights reserved.