public class DesktopLauncher extends Application
PREFERENCE_MESSAGE, PROJECT_FILE_MESSAGE| Constructor and Description |
|---|
DesktopLauncher(String id)
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLauncherEvent(DesktopLauncherEvent ev)
Adiciona evento à lista interna.
|
protected void |
clearLauncherEvents()
Limpa a lista interna de eventos.
|
DesktopLauncherEventHandler |
getEventHandler()
Consulta o atributo (ver documentação de
eventHandler). |
LogPanel |
getLogPanel()
Consulta o painel de log.
|
String |
getSonId()
Consulta o atributo (ver documentação de
sonId). |
boolean |
isChildDesktopInitiallyVisible()
Consulta das proprieades se o desktop deve aparecer inicialmente visível.
|
boolean |
isInitalApplicationProjectDependent()
Indica se aplicativo incial depende da abertura prévia de um projeto.
|
void |
killApplication()
Método para encerramento da execução, que pode ser redefinido para
comportamentos próprios da aplicações.
|
void |
log(String text)
Insere uma linha de texto no log
|
void |
postInitialization()
Método que sinaliza a aplicação que ela já foi iniciada.
|
protected boolean |
userCanKillApplication()
Método de kill pelo usuário é específico do desktop applications
|
addPreferenceListener, addWindow, buildApplicationFrame, buildApplicationImage, closeDependentWindows, finishApplication, getApplicationCommand, getApplicationCommandDir, getApplicationFrame, getApplicationProject, getClassString, getClassString, getDesktopFrame, getLocale, getPreferences, getResource, getResourceBundle, getStatusBar, getString, getString, handleError, hasClassString, hasString, isConnectedToServer, isVisible, logDetailedApplicationEvent, removeAllPreferenceListeners, removeWindow, savePreferences, setInitialFrameState, setVisible, showError, showError, showException, showExceptionStack, showInformation, showInformation, showMessage, showMessage, showOptionDialog, showOptionDialog, showWarning, showWarning, startApplicationcloseApplication, getApplicationRegistry, getApplicationResourceAsStream, getApplicationResourceAsStream, getApplicationResourceAsURL, getApplicationResourceAsURL, getAuthorMail, getAuthorName, getBooleanSpecificProperty, getDescription, getDoubleSpecificProperty, getFileTypes, getId, getImageIcon, getImageIcon, getImageIcon, getInstanceId, getInstanceIndex, getIntSpecificProperty, getLongSpecificProperty, getLongSpecificProperty, getMainApplicationClass, getName, getStringListSpecificProperty, getStringSpecificProperty, getVersion, getVersionNumber, launchApplication, sendMessageaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic DesktopLauncher(String id)
id - identificador da aplicação.protected void addLauncherEvent(DesktopLauncherEvent ev)
ev - eventoprotected void clearLauncherEvents()
public final boolean isInitalApplicationProjectDependent()
public final boolean isChildDesktopInitiallyVisible()
public final DesktopLauncherEventHandler getEventHandler()
eventHandler).public final String getSonId()
sonId).public void killApplication()
throws ApplicationException
killApplication in class ApplicationApplicationException - em caso de erro no fechamento da applicação.public void postInitialization()
throws ApplicationException
postInitialization in class ApplicationTypeApplicationException - em caso de falha.protected boolean userCanKillApplication()
userCanKillApplication in class ApplicationTypepublic final void log(String text)
text - textopublic LogPanel getLogPanel()
Copyright © 2016. All rights reserved.