Uses of Class
org.mozilla.javascript.Slot

Packages that use Slot
Package
Description
 
  • Uses of Slot in org.mozilla.javascript

    Subclasses of Slot in org.mozilla.javascript
    Modifier and Type
    Class
    Description
    class 
    This is a specialization of Slot to store various types of values that are retrieved dynamically using Java and JavaScript functions.
    class 
    This is a specialization of property access using some lambda functions.
    class 
    This is a specialization of Slot to store values that are retrieved via calls to script functions.
    Subinterfaces with type arguments of type Slot in org.mozilla.javascript
    Modifier and Type
    Interface
    Description
    interface 
    A SlotMap is an interface to the main data structure that contains all the "Slots" that back a ScriptableObject.
    Methods in org.mozilla.javascript that return Slot
    Modifier and Type
    Method
    Description
    EmbeddedSlotMap.modify(Object key, int index, int attributes)
    Locate the slot with given name or index, and create a new one if necessary.
    HashSlotMap.modify(Object key, int index, int attributes)
     
    SlotMap.modify(Object key, int index, int attributes)
    Return the Slot that matches EITHER "key" or "index".
    EmbeddedSlotMap.query(Object key, int index)
    Locate the slot with the given name or index.
    HashSlotMap.query(Object key, int index)
     
    SlotMap.query(Object key, int index)
    Retrieve the slot at EITHER key or index, or return null if the slot cannot be found.
    protected Slot
    ScriptableObject.querySlot(Context cx, Object id)
     
    Methods in org.mozilla.javascript that return types with arguments of type Slot
    Modifier and Type
    Method
    Description
    EmbeddedSlotMap.iterator()
     
    HashSlotMap.iterator()
     
    Methods in org.mozilla.javascript with parameters of type Slot
    Modifier and Type
    Method
    Description
    void
    EmbeddedSlotMap.add(Slot newSlot)
     
    void
    HashSlotMap.add(Slot newSlot)
     
    void
    SlotMap.add(Slot newSlot)
    Insert a new slot to the map.
    void
    EmbeddedSlotMap.replace(Slot oldSlot, Slot newSlot)
     
    void
    HashSlotMap.replace(Slot oldSlot, Slot newSlot)
     
    void
    SlotMap.replace(Slot oldSlot, Slot newSlot)
    Replace "slot" with a new slot.
    Constructors in org.mozilla.javascript with parameters of type Slot
    Modifier
    Constructor
    Description
    protected
    Slot(Slot oldSlot)