|
||||||||||
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 class FlapDropInfo
Information where to insert a Dockable
into a FlapDockStation
.
Constructor Summary | |
---|---|
FlapDropInfo(Dockable dockable)
Constructs a new info. |
Method Summary | |
---|---|
Dockable |
getCombine()
Returns the combine property. |
Dockable |
getDockable()
Gets the Dockable which will be dropped or moved on the station. |
int |
getIndex()
Gets the index property. |
boolean |
isDraw()
Gets the draw property |
void |
setCombine(Dockable combine)
Sets the combine property. |
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 |
Constructor Detail |
---|
public FlapDropInfo(Dockable dockable)
dockable
- the Dockable
which will be insertedMethod Detail |
---|
public Dockable getCombine()
combine
property.
setCombine(Dockable)
public void setCombine(Dockable combine)
combine
property. If this property is not null
,
then the station will combine the new Dockable
with the
combine
.
combine
- the Dockable with which the dragged Dockable should be combinedpublic 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. This property will
be ignored if getCombine()
is null
.
index
- the location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |