Uses of Class
org.mozilla.javascript.Slot
-
Packages that use Slot Package Description org.mozilla.javascript -
-
Uses of Slot in org.mozilla.javascript
Subclasses of Slot in org.mozilla.javascript Modifier and Type Class Description class
AccessorSlot
This is a specialization of Slot to store various types of values that are retrieved dynamically using Java and JavaScript functions.class
LambdaSlot
This is a specialization of property access using some lambda functions.class
LazyLoadSlot
This is a specialization of Slot to store values that are retrieved via calls to script functions.Methods in org.mozilla.javascript that return Slot Modifier and Type Method Description Slot
EmbeddedSlotMap. modify(java.lang.Object key, int index, int attributes)
Locate the slot with given name or index, and create a new one if necessary.Slot
HashSlotMap. modify(java.lang.Object key, int index, int attributes)
Slot
SlotMap. modify(java.lang.Object key, int index, int attributes)
Return the Slot that matches EITHER "key" or "index".Slot
EmbeddedSlotMap. query(java.lang.Object key, int index)
Locate the slot with the given name or index.Slot
HashSlotMap. query(java.lang.Object key, int index)
Slot
SlotMap. query(java.lang.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, java.lang.Object id)
Methods in org.mozilla.javascript that return types with arguments of type Slot Modifier and Type Method Description java.util.Iterator<Slot>
EmbeddedSlotMap. iterator()
java.util.Iterator<Slot>
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 Constructor Description Slot(Slot oldSlot)
-