JIDE 3.5.15

com.jidesoft.shortcut
Class ShortcutSchemaEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jidesoft.shortcut.ShortcutSchemaEvent
All Implemented Interfaces:
Serializable

public class ShortcutSchemaEvent
extends EventObject

ShortcutSchemaEvent is used to notify interested parties that schema has changed in the event source.

See Also:
Serialized Form

Field Summary
protected  String _schemaName
           
protected  int _type
           
static int SHORTCUT_SCHEMA_ACTIVATED
           
static int SHORTCUT_SCHEMA_ADDED
           
static int SHORTCUT_SCHEMA_DEACTIVATED
           
static int SHORTCUT_SCHEMA_EVENT_FIRST
          The first number in the range of ids used for schema events.
static int SHORTCUT_SCHEMA_REMOVED
           
static int SHORTCUT_SCHEMA_RENAMED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ShortcutSchemaEvent(Object source, int type, String schemaName)
          Constructs a ShortcutSchemaEvent object.
 
Method Summary
 String getSchemaName()
           
 int getType()
           
 String paramString()
          Returns a parameter string identifying this event.
 String toString()
           
 
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

SHORTCUT_SCHEMA_EVENT_FIRST

public static final int SHORTCUT_SCHEMA_EVENT_FIRST
The first number in the range of ids used for schema events.

See Also:
Constant Field Values

SHORTCUT_SCHEMA_ADDED

public static final int SHORTCUT_SCHEMA_ADDED
See Also:
Constant Field Values

SHORTCUT_SCHEMA_REMOVED

public static final int SHORTCUT_SCHEMA_REMOVED
See Also:
Constant Field Values

SHORTCUT_SCHEMA_ACTIVATED

public static final int SHORTCUT_SCHEMA_ACTIVATED
See Also:
Constant Field Values

SHORTCUT_SCHEMA_DEACTIVATED

public static final int SHORTCUT_SCHEMA_DEACTIVATED
See Also:
Constant Field Values

SHORTCUT_SCHEMA_RENAMED

public static final int SHORTCUT_SCHEMA_RENAMED
See Also:
Constant Field Values

_type

protected int _type

_schemaName

protected String _schemaName
Constructor Detail

ShortcutSchemaEvent

public ShortcutSchemaEvent(Object source,
                           int type,
                           String schemaName)
Constructs a ShortcutSchemaEvent object.

Parameters:
source - the Object that is the source of the event. It should be an instance of ShortcutSchemaManager.
Method Detail

getType

public int getType()

getSchemaName

public String getSchemaName()

paramString

public String paramString()
Returns a parameter string identifying this event. This method is useful for event logging and for debugging.

Returns:
a string identifying the event and its attributes

toString

public String toString()
Overrides:
toString in class EventObject

JIDE 3.5.15