Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protegex.owl.model.event
Interface ResourceListener

All Superinterfaces:
  EventListener, edu.stanford.smi.protege.event.FrameListener, ProtegeFrameListener

All Known Implementing Classes:
  ResourceAdapter

    public interface ResourceListener

extends ProtegeFrameListener

Author:
  Holger Knublauch

Method Summary
`void` | `typeAdded(RDFResource resource, RDFSClass type)` Called when a resource has been assigned a new rdf:type.
`void` | `typeRemoved(RDFResource resource, RDFSClass type)` Called when an rdf:type has been removed from a resource.

Methods inherited from interface edu.stanford.smi.protegex.owl.model.event.ProtegeFrameListener
`browserTextChanged, deleted, nameChanged, ownFacetAdded, ownFacetRemoved, ownFacetValueChanged, ownSlotAdded, ownSlotRemoved, ownSlotValueChanged, visibilityChanged`

Method Detail

### typeAdded

    void typeAdded(RDFResource resource,
                   RDFSClass type)

  Called when a resource has been assigned a new rdf:type.

  Parameters:
    `resource` - the resource
    `type` - the new rdf:type

### typeRemoved

    void typeRemoved(RDFResource resource,
                     RDFSClass type)

  Called when an rdf:type has been removed from a resource.

  Parameters:
    `resource` - the resource
    `type` - the old rdf:type

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request
Copyright (c) 1998-2012 Stanford University.