public class RuntimeGui extends ServiceGui implements java.awt.event.ActionListener, javax.swing.event.ListSelectionListener, java.awt.event.KeyListener
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
boundServiceName, myService
Constructor and Description |
---|
RuntimeGui(java.lang.String boundServiceName,
SwingGui myService) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event) |
void |
addNewService(java.lang.String newService) |
void |
checkingForUpdates() |
javax.swing.JPanel |
createCategories() |
javax.swing.JMenuBar |
createMenuBar() |
javax.swing.JPanel |
createRunningServices() |
void |
failedDependency(java.lang.String dep) |
void |
getCurrentServices()
Add data to the list model for display
|
void |
getPossibleServices() |
void |
getPossibleServicesFromCategory(java.lang.String filter) |
void |
getPossibleServicesFromName(java.lang.String filter) |
void |
keyPressed(java.awt.event.KeyEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e) |
void |
onInstallProgress(Status status) |
ServiceInterface |
onRegistered(Service sw) |
ServiceInterface |
onReleased(Service sw) |
void |
onState(Runtime runtime) |
void |
onSystemResources(SystemResources resources) |
void |
restart()
a restart command will be sent to the appropriate runtime
|
void |
subscribeGui()
stub for subscribing all service specific/gui events for desired
callbacks
|
void |
unsubscribeGui()
stub for unsubscribing all service specific/gui events from desired
callbacks
|
void |
updatesBegin()
this is the beginning of the applyUpdates process
|
void |
valueChanged(javax.swing.event.ListSelectionEvent e) |
add, addBottom, addBottomGroup, addBottomLine, addComponents, addGroup, addLeftLine, addLine, addLinex, addRightLine, addTop, addTopGroup, addTopLeft, addTopLine, createFlowPanel, error, error, getDisplay, info, isDocked, isHidden, isReadyForRelease, makeReadyForRelease, send, send, sendPeer, setBottomTitle, setLeftTitle, setRightTitle, setTitle, setTopTitle, subscribe, subscribe, unsubscribe, unsubscribe, warn, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
public RuntimeGui(java.lang.String boundServiceName, SwingGui myService)
public javax.swing.JPanel createRunningServices()
public javax.swing.JPanel createCategories()
public javax.swing.JMenuBar createMenuBar()
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
public void addNewService(java.lang.String newService)
public void onSystemResources(SystemResources resources)
public void subscribeGui()
ServiceGui
subscribeGui
in class ServiceGui
public void unsubscribeGui()
ServiceGui
unsubscribeGui
in class ServiceGui
public void checkingForUpdates()
public void failedDependency(java.lang.String dep)
public void getCurrentServices()
public void getPossibleServices()
public void getPossibleServicesFromName(java.lang.String filter)
public void getPossibleServicesFromCategory(java.lang.String filter)
public void onState(Runtime runtime)
public ServiceInterface onRegistered(Service sw)
public ServiceInterface onReleased(Service sw)
public void restart()
public void onInstallProgress(Status status)
public void updatesBegin()
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener