|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.flap.FlapDropInfo
public abstract class FlapDropInfo
Information where to insert a Dockable
into a FlapDockStation
.
Constructor Summary | |
---|---|
FlapDropInfo(FlapDockStation station,
Dockable dockable)
Constructs a new info. |
Method Summary | |
---|---|
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()
Gets the new Dockable , the one Dockable which is currently dragged around
by the user and which is about to be dropped over old . |
DockStation |
getParent()
Gets the station which will be the new parent station of the combined Dockable . |
boolean |
isDraw()
Gets the draw property |
void |
setCombineTarget(CombinerTarget combineTarget)
Sets how to combine getDockable() with the existing Dockable . |
void |
setDraw(boolean draw)
Sets the draw property. |
void |
setIndex(int index)
Sets the location where the Dockable will be
inserted in respect to the list of buttons. |
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.support.CombinerSource |
---|
getMousePosition, getOld, getPlaceholders, getSize, isMouseOverTitle |
Constructor Detail |
---|
public FlapDropInfo(FlapDockStation station, Dockable dockable)
station
- the owner of this infodockable
- the Dockable
which will be insertedMethod Detail |
---|
public 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 boolean isDraw()
draw
property
setDraw(boolean)
public void setDraw(boolean draw)
draw
property. If this property is true, the
station will paint some information where the Dockable
will be inserted. This information is only a help to the user.
draw
- true
if the station should paint somethingpublic 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |