Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.extension
Class PlatformInfo  view PlatformInfo download PlatformInfo.java

java.lang.Object
  extended byjavax.ide.extension.PlatformInfo

public final class PlatformInfo
extends java.lang.Object

Encapsulates platform specific information required for an extension to work properly.


Field Summary
private  java.util.Collection _toolkits
           
static java.lang.String SWING
          GUI toolkit identifier for Swing.
static java.lang.String SWT
          GUI toolkit identifier for SWT.
 
Constructor Summary
PlatformInfo(java.util.Collection toolkits)
          Create a PlatformInfo object for the specified toolkits.
 
Method Summary
 java.lang.String getPreferredToolkit()
          Get the preferred toolkit for this extension.
 boolean isToolkitSupported(java.lang.String toolkit)
          Gets whether a specific toolkit is supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SWING

public static final java.lang.String SWING
GUI toolkit identifier for Swing.

See Also:
Constant Field Values

SWT

public static final java.lang.String SWT
GUI toolkit identifier for SWT.

See Also:
Constant Field Values

_toolkits

private final java.util.Collection _toolkits
Constructor Detail

PlatformInfo

public PlatformInfo(java.util.Collection toolkits)
Create a PlatformInfo object for the specified toolkits.

Method Detail

getPreferredToolkit

public java.lang.String getPreferredToolkit()
Get the preferred toolkit for this extension.


isToolkitSupported

public boolean isToolkitSupported(java.lang.String toolkit)
Gets whether a specific toolkit is supported.