Build 1.0_r1(from source)

android.webkit
Class Plugin

java.lang.Object
  extended by android.webkit.Plugin

public class Plugin
extends Object

Represents a plugin (Java equivalent of the PluginPackageAndroid C++ class in libs/WebKitLib/WebKit/WebCore/plugins/android/)


Nested Class Summary
static interface Plugin.PreferencesClickHandler
           
 
Constructor Summary
Plugin(String name, String path, String fileName, String description)
           
 
Method Summary
 void dispatchClickEvent(Context context)
          Invokes the click handler for this plugin.
 String getDescription()
           
 String getFileName()
           
 String getName()
           
 String getPath()
           
 void setClickHandler(Plugin.PreferencesClickHandler handler)
           
 void setDescription(String description)
           
 void setFileName(String fileName)
           
 void setName(String name)
           
 void setPath(String path)
           
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Plugin

public Plugin(String name,
              String path,
              String fileName,
              String description)
Method Detail

toString

public String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

getName

public String getName()

getPath

public String getPath()

getFileName

public String getFileName()

getDescription

public String getDescription()

setName

public void setName(String name)

setPath

public void setPath(String path)

setFileName

public void setFileName(String fileName)

setDescription

public void setDescription(String description)

setClickHandler

public void setClickHandler(Plugin.PreferencesClickHandler handler)

dispatchClickEvent

public void dispatchClickEvent(Context context)
Invokes the click handler for this plugin.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature