public class MacOSPlatform extends AbstractPlatform
Constructor and Description |
---|
MacOSPlatform() |
Modifier and Type | Method and Description |
---|---|
void |
configure(PlatformService service)
Activates and configures the platform.
|
void |
dispose()
Performs any needed cleanup of the object's services, in preparation for
the object being retired (e.g., to make garbage collection possible).
|
protected void |
onEvent(WinActivatedEvent evt) |
void |
open(URL url) |
String |
osName()
Operating system name to match.
|
boolean |
registerAppMenus(Object menus)
Informs the platform of a UI's newly created application menu structure.
|
getPlatformService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isTarget, javaVendor, javaVersion, osArch, osVersion
public String osName()
Platform
public void configure(PlatformService service)
Platform
configure
in interface Platform
configure
in class AbstractPlatform
public void open(URL url) throws IOException
IOException
public boolean registerAppMenus(Object menus)
Platform
menus
- The UI's newly created menu structurepublic void dispose()
Disposable
protected void onEvent(WinActivatedEvent evt)
Copyright © 2015–2022 SciJava. All rights reserved.