|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.flap.FlapDropInfo
public class FlapDropInfo
Information where to insert a Dockable
into a FlapDockStation
.
Field Summary | |
---|---|
private boolean |
combine
true if a combination with the current popup should be made |
private Dockable |
dockable
The Dockable which is inserted |
private boolean |
draw
true if information should be painted |
private int |
index
location between buttons |
Constructor Summary | |
---|---|
FlapDropInfo(Dockable dockable)
Constructs a new info. |
Method Summary | |
---|---|
Dockable |
getDockable()
Gets the Dockable which will be dropped or moved on the station. |
int |
getIndex()
Gets the index property. |
boolean |
isCombine()
Returns the combine property. |
boolean |
isDraw()
Gets the draw property |
void |
setCombine(boolean 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 |
Field Detail |
---|
private int index
private boolean combine
true
if a combination with the current popup should be made
private boolean draw
true
if information should be painted
private Dockable dockable
Dockable
which is inserted
Constructor Detail |
---|
public FlapDropInfo(Dockable dockable)
dockable
- the Dockable
which will be insertedMethod Detail |
---|
public boolean isCombine()
combine
property.
setCombine(boolean)
public void setCombine(boolean combine)
combine
property. If this property is true
,
the station will combine the new Dockable
with the current
front-dockable.
combine
- true
if a combination should be madepublic 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 combine
is true
.
index
- the location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |