public class ContextMenuController extends Object
| Constructor and Description |
|---|
ContextMenuController(ForegroundPane foregroundPane,
LocationPane backgroundPane,
RemotePool remotePool)
Constructor for the ContextMenuController.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearTitledPaneMap()
Clears all stored titledPanes and clears the map afterwards.
|
void |
initTitledPaneMap()
Initializes and saves all TitledPanes of all Locations.
|
void |
setContextMenuUnitPanes(String locationID)
Takes a locationId and creates new TitledPanes for all UnitTypes.
|
public ContextMenuController(ForegroundPane foregroundPane, LocationPane backgroundPane, RemotePool remotePool)
foregroundPane - foregroundPanebackgroundPane - backgroundPaneremotePool - remotePoolpublic void setContextMenuUnitPanes(String locationID) throws org.openbase.jul.exception.CouldNotPerformException
locationID - locationIDorg.openbase.jul.exception.CouldNotPerformException - CouldNotPerformExceptionpublic void clearTitledPaneMap()
public void initTitledPaneMap()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
org.openbase.jul.exception.CouldNotPerformException - CouldNotPerformExceptionInterruptedExceptionCopyright © 2015–2016 openbase.org. All rights reserved.