bibliothek.gui.dock.station.toolbar
Class ToolbarDropInfo
java.lang.Object
bibliothek.gui.dock.station.toolbar.ToolbarDropInfo
- All Implemented Interfaces:
- bibliothek.gui.dock.station.StationDropOperation
public abstract class ToolbarDropInfo
- extends Object
- implements bibliothek.gui.dock.station.StationDropOperation
This class contains and computes information about a drag and drop action of
a ToolbarDockStation
.
- Author:
- Herve Guillaume
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.station.StationDropOperation |
destroy, draw, execute |
ToolbarDropInfo
public ToolbarDropInfo(bibliothek.gui.Dockable dockable,
ToolbarDockStation station,
int index)
- Creates new drop information.
- Parameters:
dockable
- the item that is droppedstation
- the new parent of dockable
index
- where to insert dockable
getItem
public bibliothek.gui.Dockable getItem()
- Specified by:
getItem
in interface bibliothek.gui.dock.station.StationDropOperation
getTarget
public ToolbarDockStation getTarget()
- Specified by:
getTarget
in interface bibliothek.gui.dock.station.StationDropOperation
getIndex
public int getIndex()
- Gets the location the
item
would have after inserting
into the target
.
- Returns:
- the new position
getCombination
public bibliothek.gui.dock.station.support.CombinerTarget getCombination()
- Specified by:
getCombination
in interface bibliothek.gui.dock.station.StationDropOperation
getDisplayerCombination
public bibliothek.gui.dock.displayer.DisplayerCombinerTarget getDisplayerCombination()
- Specified by:
getDisplayerCombination
in interface bibliothek.gui.dock.station.StationDropOperation
isMove
public boolean isMove()
- Specified by:
isMove
in interface bibliothek.gui.dock.station.StationDropOperation
hasNoEffect
public boolean hasNoEffect()