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, waitgetMousePosition, getOld, getOldDisplayer, getPlaceholders, getSize, isMouseOverTitlepublic FlapDropInfo(FlapDockStation station, Dockable dockable)
station - the owner of this infodockable - the Dockable which will be insertedpublic CombinerTarget getCombineTarget()
getDockable() with the existing Dockable.nullpublic void setCombineTarget(CombinerTarget combineTarget)
getDockable() with the existing Dockable.combineTarget - the combination, can be nullpublic 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()
CombinerSourceDockable, 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 parentgetNew in interface CombinerSourceDockable, never nullpublic DockStation getParent()
CombinerSourceDockable.getParent in interface CombinerSourcenullCopyright © 2017 Docking Frames. All rights reserved.