|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.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 child| Method Detail |
|---|
public DockStation getParent()
InserterSourceDockStation which might be the next parent of InserterSource.getItem().
getParent in interface InserterSourcenullpublic StationDropItem getItem()
InserterSource
getItem in interface InserterSourceDockablepublic void setOperation(StationDropOperation operation)
getOperation().
operation - the operation that might be executed, can be nullpublic StationDropOperation getOperation()
InserterSourceStationDropOperation 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 InserterSourcenull
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||