Class PlatformMacOS


  • public class PlatformMacOS
    extends Platform
    Ueberschrieben fuer MacOS-spezfisches Verhalten.
    • Constructor Detail

      • PlatformMacOS

        public PlatformMacOS()
    • Method Detail

      • mapSWTKey

        public int mapSWTKey​(int key)
        Description copied from class: Platform
        Mappt OS-spezifisch einzelne Keys auf andere.

        In der Default-Implementierung wird hier 1:1 der Eingabewert zurueckgegeben. In PlatformMacOS aber wird z.B. ALT gegen COMMAND ersetzt.

        Overrides:
        mapSWTKey in class Platform
        Parameters:
        key - der Key.
        Returns:
        der gemappte Key.
        See Also:
        Platform.mapSWTKey(int)