public interface Insertable
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInsert(java.lang.Class<?> type,
Direction side) |
java.lang.Object |
insert(java.lang.Object object,
Direction side,
boolean simulate) |
boolean canInsert(java.lang.Class<?> type,
Direction side)
type - The type of the inserted object.side - The side the object is inserted on.true if this type can be injectedjava.lang.Object insert(java.lang.Object object,
Direction side,
boolean simulate)
object - The inserted object.side - The side the object is inserted on.simulate - Whether to simulate the insertion.