public class ProxyUniqueSlotContainer extends java.lang.Object implements IUniqueSlotContainer
Constructor and Description |
---|
ProxyUniqueSlotContainer(IUniqueSlotContainer container) |
Modifier and Type | Method and Description |
---|---|
void |
addSlot(ISlot slot)
Adds a slot
|
void |
addSlotContainer(IUniqueSlotContainer container) |
ISlot |
getSlot(java.lang.String slotName)
return the actual named slot.
|
java.util.Collection<? extends ISlot> |
getSlots()
return a duplicate copy of all the slots
|
java.util.Collection<ISlot> |
getSlots(java.util.Collection<ISlot> slots) |
boolean |
hasSlot(java.lang.String slotName) |
void |
removeSlot(ISlot slot)
remove a slot
|
java.lang.String |
toString() |
public ProxyUniqueSlotContainer(IUniqueSlotContainer container)
public java.lang.String toString()
toString
in class java.lang.Object
public void addSlotContainer(IUniqueSlotContainer container)
public ISlot getSlot(java.lang.String slotName)
IUniqueSlotContainer
getSlot
in interface IUniqueSlotContainer
public boolean hasSlot(java.lang.String slotName)
hasSlot
in interface IUniqueSlotContainer
public void addSlot(ISlot slot)
ISlotContainer
addSlot
in interface ISlotContainer
slot
- The feature to be added to the ISlot attributepublic java.util.Collection<? extends ISlot> getSlots()
ISlotContainer
getSlots
in interface ISlotContainer
public java.util.Collection<ISlot> getSlots(java.util.Collection<ISlot> slots)
getSlots
in interface ISlotContainer
public void removeSlot(ISlot slot)
ISlotContainer
removeSlot
in interface ISlotContainer
slot
- Description of Parameter