org.jocl.cloth.utils.gui
Class PlatformHandle

java.lang.Object
  extended by org.jocl.cloth.utils.gui.PlatformHandle

 class PlatformHandle
extends java.lang.Object

An class summarizing a platform and its name, to be used inside of Swing components


Constructor Summary
PlatformHandle(org.jocl.cl_platform_id platform)
          Creates a new handle for the given platform
 
Method Summary
(package private)  org.jocl.cl_platform_id getPlatform()
          Returns the platform
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlatformHandle

PlatformHandle(org.jocl.cl_platform_id platform)
Creates a new handle for the given platform

Parameters:
platform - The platform
Method Detail

getPlatform

org.jocl.cl_platform_id getPlatform()
Returns the platform

Returns:
The platform

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object