public abstract class FlapDropInfo extends Object implements CombinerSource
Dockable
into a FlapDockStation
.Constructor and Description |
---|
FlapDropInfo(FlapDockStation station,
Dockable dockable)
Constructs a new info.
|
Modifier and Type | Method and Description |
---|---|
CombinerTarget |
getCombineTarget()
Tells how to combine
getDockable() with the existing Dockable . |
Dockable |
getDockable()
Gets the
Dockable which will be dropped or moved on the station. |
int |
getIndex()
Gets the
index property. |
Dockable |
getNew()
|
DockStation |
getParent()
Gets the station which will be the new parent station of the combined
Dockable . |
void |
setCombineTarget(CombinerTarget combineTarget)
Sets how to combine
getDockable() with the existing Dockable . |
void |
setIndex(int index)
Sets the location where the
Dockable will be
inserted in respect to the list of buttons. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMousePosition, getOld, getOldDisplayer, getPlaceholders, getSize, isMouseOverTitle
public FlapDropInfo(FlapDockStation station, Dockable dockable)
station
- the owner of this infodockable
- the Dockable
which will be insertedpublic CombinerTarget getCombineTarget()
getDockable()
with the existing Dockable
.null
public void setCombineTarget(CombinerTarget combineTarget)
getDockable()
with the existing Dockable
.combineTarget
- the combination, can be null
public Dockable getDockable()
Dockable
which will be dropped or moved on the station.public int getIndex()
index
property.setIndex(int)
public void setIndex(int index)
Dockable
will be
inserted in respect to the list of buttons.index
- the locationpublic Dockable getNew()
CombinerSource
Dockable
, the one Dockable
which is currently dragged around
by the user and which is about to be dropped over old
. The parent of
this Dockable
may or may not be the old ones parent
getNew
in interface CombinerSource
Dockable
, never null
public DockStation getParent()
CombinerSource
Dockable
.getParent
in interface CombinerSource
null