org.openbp.guiclient.event
Class OpenEventInfo

java.lang.Object
  extended by org.openbp.guiclient.event.OpenEventInfo

public class OpenEventInfo
extends java.lang.Object

Info container that describes an the open event for a particular object. This information is returned by the event handler of a plugin in response to the plugin.association.supports event. It contains the name of the open event, the MIME type of the supported object and a textual description of the plugin that accept the open event.

Author:
Heiko Erhardt

Constructor Summary
OpenEventInfo()
          Default constructor.
OpenEventInfo(java.lang.String eventName, java.lang.String mimeType, java.lang.String description)
          Value constructor.
 
Method Summary
 java.lang.String getDescription()
          Gets the description of the plugin.
 java.lang.String getEventName()
          Gets the name of the open event used to openthe object.
 java.lang.String getMimeType()
          Gets the mime type.
 void setDescription(java.lang.String description)
          Sets the description of the plugin.
 void setEventName(java.lang.String eventName)
          Sets the name of the open event used to openthe object.
 void setMimeType(java.lang.String mimeType)
          Sets the mime type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenEventInfo

public OpenEventInfo()
Default constructor.


OpenEventInfo

public OpenEventInfo(java.lang.String eventName,
                     java.lang.String mimeType,
                     java.lang.String description)
Value constructor.

Parameters:
eventName - Name of the open event used to openthe object
mimeType - Mime type
description - Description of the plugin
Method Detail

getEventName

public java.lang.String getEventName()
Gets the name of the open event used to openthe object.


setEventName

public void setEventName(java.lang.String eventName)
Sets the name of the open event used to openthe object.


getMimeType

public java.lang.String getMimeType()
Gets the mime type.


setMimeType

public void setMimeType(java.lang.String mimeType)
Sets the mime type.


getDescription

public java.lang.String getDescription()
Gets the description of the plugin.


setDescription

public void setDescription(java.lang.String description)
Sets the description of the plugin.



Copyright © 2011. All Rights Reserved.