org.openbp.jaspira.plugins.propertybrowser
Class PropertyBrowserSetEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.openbp.jaspira.event.JaspiraEvent
          extended by org.openbp.jaspira.plugins.propertybrowser.PropertyBrowserSetEvent
All Implemented Interfaces:
java.io.Serializable

public class PropertyBrowserSetEvent
extends JaspiraEvent

This event is created by plugins that want the property browser to display an object. The event name is always "plugin.propertybrowser.setobject". The recipient of this event is usually an property browser.

Author:
Andreas Putz
See Also:
Serialized Form

Field Summary
 java.lang.String description
          The description for the set object
 MultiIcon icon
          The title icon
 boolean isObjectNew
          Flag that determines if the object has just been created
 java.lang.Object originalObject
          Original object for name uniqueness check or null
 boolean readOnly
          Read only flag of the object
 boolean reedit
          Set the object also if currently editing this same object
 boolean saveImmediately
          Save after modifying property
 java.lang.String title
          The title information for the property browser
 
Fields inherited from class org.openbp.jaspira.event.JaspiraEvent
CONSUMED, HANDELED, STACKABLE, TYPE_BOTTOM_UP, TYPE_DIRECT, TYPE_FLOOD, TYPE_GLOBAL, UNCONSUMABLE
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PropertyBrowserSetEvent(Plugin source)
          Generates an event that clears the content of the propertyBrowser.
PropertyBrowserSetEvent(Plugin source, java.lang.Object object, java.lang.Object originalObject, boolean isObjectNew, java.lang.String description, java.lang.String title, MultiIcon icon, boolean readOnly, boolean saveImmediately)
          Constructor.
 
Method Summary
 
Methods inherited from class org.openbp.jaspira.event.JaspiraEvent
brand, getBrand, getEventGroup, getEventName, getFlags, getLevel, getObject, getOriginalEvent, getSourcePlugin, getTargetClassName, getTargetPluginId, getType, isConsumed, isStackable, isUnconsumable, setObject, setTargetClassName, setTargetPluginId, toString, updateFlags, updateFlags
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

originalObject

public java.lang.Object originalObject
Original object for name uniqueness check or null


isObjectNew

public boolean isObjectNew
Flag that determines if the object has just been created


description

public java.lang.String description
The description for the set object


title

public java.lang.String title
The title information for the property browser


icon

public MultiIcon icon
The title icon


readOnly

public boolean readOnly
Read only flag of the object


saveImmediately

public boolean saveImmediately
Save after modifying property


reedit

public boolean reedit
Set the object also if currently editing this same object

Constructor Detail

PropertyBrowserSetEvent

public PropertyBrowserSetEvent(Plugin source,
                               java.lang.Object object,
                               java.lang.Object originalObject,
                               boolean isObjectNew,
                               java.lang.String description,
                               java.lang.String title,
                               MultiIcon icon,
                               boolean readOnly,
                               boolean saveImmediately)
Constructor.

Parameters:
source - Sender of the event
object - Object to set to the property browser
originalObject - Reference object for name uniqueness check or null
isObjectNew - Flag that determines if the object has just been created
description - The description for the set object
title - The title information for the property browser
icon - The title icon
readOnly - Flag wheter the object is read only
saveImmediately - Save after modifying property

PropertyBrowserSetEvent

public PropertyBrowserSetEvent(Plugin source)
Generates an event that clears the content of the propertyBrowser.

Parameters:
source - Sender of the event


Copyright © 2011. All Rights Reserved.