public class UnitsPaneController extends Object
| Constructor and Description |
|---|
UnitsPaneController(UnitSymbolsPane unitPane,
LocationPane locationPane)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
connectUnitRemote()
Establish the connection with the RemoteRegistry and fetch unit remotes.
|
void |
fetchLocationUnitRemotes()
Fetches all location units, saves them in the UnitSymbolsPane and then
fetches all units for every location and saves them also in the UnitSymbolsPane.
|
void |
updateUnits()
Fetches all unit remotes from registry and updates the unit pane,
so all unit buttons represent the correct configuration.
|
public UnitsPaneController(UnitSymbolsPane unitPane, LocationPane locationPane)
unitPane - locationPane - public void connectUnitRemote()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic void fetchLocationUnitRemotes()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic void updateUnits()
Copyright © 2015–2018 openbase.org. All rights reserved.