|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.toolbar.ToolbarContainerDropInfo
public abstract class ToolbarContainerDropInfo
This class contains and computes information about a drag and drop action.
Especially, where the Dockable
should be inserted into which
ToolbarContainerDockStation
Constructor Summary | |
---|---|
ToolbarContainerDropInfo(bibliothek.gui.Dockable dockable,
ToolbarContainerDockStation stationHost,
bibliothek.gui.dock.station.support.DockablePlaceholderList<bibliothek.gui.dock.station.StationChildHandle> associateToolbars,
int mouseX,
int mouseY)
Constructs a new info to know where drop a dockable |
Method Summary | |
---|---|
bibliothek.gui.dock.station.support.CombinerTarget |
getCombination()
|
bibliothek.gui.dock.displayer.DisplayerCombinerTarget |
getDisplayerCombination()
|
bibliothek.gui.Dockable |
getDockableBeneathMouse()
Gets the index of the component beneath the mouse |
abstract int |
getIndex()
Gets the index of getDockableBeneathMouse() in the parent DockStation . |
bibliothek.gui.Dockable |
getItem()
|
Position |
getItemPositionVSBeneathDockable()
Gets the relative position of drag dockable with the closest dockable above the mouse. |
Position |
getSideDockableBeneathMouse()
Gets the closest side of the component beneath the mouse. |
bibliothek.gui.DockStation |
getTarget()
|
boolean |
isMove()
|
String |
toString()
|
String |
toSummaryString()
Return a string describing field values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.station.StationDropOperation |
---|
destroy, draw, execute |
Constructor Detail |
---|
public ToolbarContainerDropInfo(bibliothek.gui.Dockable dockable, ToolbarContainerDockStation stationHost, bibliothek.gui.dock.station.support.DockablePlaceholderList<bibliothek.gui.dock.station.StationChildHandle> associateToolbars, int mouseX, int mouseY)
dockable
- the dockable to dropstationHost
- the station where drop the dockableassociateToolbars
- the other dockables in the stationmouseX
- the mouse position on X axismouseY
- the mouse position on Y axisMethod Detail |
---|
public bibliothek.gui.Dockable getItem()
getItem
in interface bibliothek.gui.dock.station.StationDropOperation
public bibliothek.gui.DockStation getTarget()
getTarget
in interface bibliothek.gui.dock.station.StationDropOperation
public bibliothek.gui.dock.station.support.CombinerTarget getCombination()
getCombination
in interface bibliothek.gui.dock.station.StationDropOperation
public bibliothek.gui.dock.displayer.DisplayerCombinerTarget getDisplayerCombination()
getDisplayerCombination
in interface bibliothek.gui.dock.station.StationDropOperation
public boolean isMove()
isMove
in interface bibliothek.gui.dock.station.StationDropOperation
public abstract int getIndex()
getDockableBeneathMouse()
in the parent DockStation
.
public bibliothek.gui.Dockable getDockableBeneathMouse()
index
of the component beneath the mouse
public Position getSideDockableBeneathMouse()
side
of the component beneath the mouse.
Example: if the mouse is over a button, near the top of the button, this
return NORTH position
public Position getItemPositionVSBeneathDockable()
public String toString()
toString
in class Object
public String toSummaryString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |