com.jidesoft.shortcut
Class ShortcutSchemaEvent
java.lang.Object
java.util.EventObject
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
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
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
.
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