Interface ClientModuleManager
-
- All Superinterfaces:
ModuleManager
public interface ClientModuleManager extends ModuleManager
Manages client modules
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changeDisplayState(String className, boolean display)
Iterator<org.apache.commons.lang3.tuple.Pair<ClientModule,Integer>>
getEventSubscriptions(Class<? extends Event> clazz)
void
hideAll()
void
hideExcept(String... classNames)
Hides all modules except classes.boolean
isDisplayed(String className)
boolean
isModal()
void
restoreVisibility()
Restores changes by previous hideExcept(clazz) call-
Methods inherited from interface de.extio.spacecraft.shared.managers.ModuleManager
changeActiveState, deactivateAll, getModulesActive, getModulesAll, loadModule, unloadModule
-
-
-
-
Method Detail
-
isDisplayed
boolean isDisplayed(String className)
-
changeDisplayState
void changeDisplayState(String className, boolean display)
-
hideAll
void hideAll()
-
hideExcept
void hideExcept(String... classNames)
Hides all modules except classes. Multiple calls stack up.- Parameters:
classes
- Modules that won't be hidden
-
restoreVisibility
void restoreVisibility()
Restores changes by previous hideExcept(clazz) call
-
isModal
boolean isModal()
- Returns:
- true if a modal module is currently shown (active hideExcept() call)
-
getEventSubscriptions
Iterator<org.apache.commons.lang3.tuple.Pair<ClientModule,Integer>> getEventSubscriptions(Class<? extends Event> clazz)
-
-