Protege 2.1

edu.stanford.smi.protege.event
Class SlotEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byedu.stanford.smi.protege.util.AbstractEvent
          extended byedu.stanford.smi.protege.event.SlotEvent
All Implemented Interfaces:
Serializable

public class SlotEvent
extends AbstractEvent

Event generated when a slot changes.

Author:
Ray Fergerson
See Also:
Serialized Form

Field Summary
static int DIRECT_SUBSLOT_ADDED
           
static int DIRECT_SUBSLOT_MOVED
           
static int DIRECT_SUBSLOT_REMOVED
           
static int DIRECT_SUPERSLOT_ADDED
           
static int DIRECT_SUPERSLOT_REMOVED
           
static int TEMPLATE_SLOT_CLS_ADDED
           
static int TEMPLATE_SLOT_CLS_REMOVED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SlotEvent(Slot slot, int type, Frame frame)
           
 
Method Summary
 Cls getCls()
           
 Frame getFrame()
           
 Slot getSlot()
           
 Slot getSubslot()
           
 
Methods inherited from class edu.stanford.smi.protege.util.AbstractEvent
equals, equals, getArgument, getArgument1, getArgument2, getArgument3, getEventType, getSource, setKnowledgeBase, setSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TEMPLATE_SLOT_CLS_ADDED

public static final int TEMPLATE_SLOT_CLS_ADDED
See Also:
Constant Field Values

TEMPLATE_SLOT_CLS_REMOVED

public static final int TEMPLATE_SLOT_CLS_REMOVED
See Also:
Constant Field Values

DIRECT_SUBSLOT_ADDED

public static final int DIRECT_SUBSLOT_ADDED
See Also:
Constant Field Values

DIRECT_SUBSLOT_REMOVED

public static final int DIRECT_SUBSLOT_REMOVED
See Also:
Constant Field Values

DIRECT_SUPERSLOT_ADDED

public static final int DIRECT_SUPERSLOT_ADDED
See Also:
Constant Field Values

DIRECT_SUPERSLOT_REMOVED

public static final int DIRECT_SUPERSLOT_REMOVED
See Also:
Constant Field Values

DIRECT_SUBSLOT_MOVED

public static final int DIRECT_SUBSLOT_MOVED
See Also:
Constant Field Values
Constructor Detail

SlotEvent

public SlotEvent(Slot slot,
                 int type,
                 Frame frame)
Method Detail

getCls

public Cls getCls()

getFrame

public Frame getFrame()

getSlot

public Slot getSlot()

getSubslot

public Slot getSubslot()

Protege 2.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.