|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.control.relocator.DefaultInserterSource
public class DefaultInserterSource
Default implementation of InserterSource
.
Constructor Summary | |
---|---|
DefaultInserterSource(DockStation parent,
StationDropItem item)
Creates a new InserterSource . |
Method Summary | |
---|---|
StationDropItem |
getItem()
Gets information about the item that is dropped. |
StationDropOperation |
getOperation()
Gets the StationDropOperation that was created by DockStation.prepareDrop(StationDropItem) ,
this might be null if the station was not yet asked or if the station does not
accept the new child. |
DockStation |
getParent()
Gets the DockStation which might be the next parent of InserterSource.getItem() . |
void |
setOperation(StationDropOperation operation)
Sets the result of getOperation() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultInserterSource(DockStation parent, StationDropItem item)
InserterSource
.
parent
- the future parentitem
- detailed information about the dropping childMethod Detail |
---|
public DockStation getParent()
InserterSource
DockStation
which might be the next parent of InserterSource.getItem()
.
getParent
in interface InserterSource
null
public StationDropItem getItem()
InserterSource
getItem
in interface InserterSource
Dockable
public void setOperation(StationDropOperation operation)
getOperation()
.
operation
- the operation that might be executed, can be null
public StationDropOperation getOperation()
InserterSource
StationDropOperation
that was created by DockStation.prepareDrop(StationDropItem)
,
this might be null
if the station was not yet asked or if the station does not
accept the new child.
getOperation
in interface InserterSource
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |