|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.SplitDockStation.SplitDropOperation
protected class SplitDockStation.SplitDropOperation
Implementation of StationDropOperation
.
Constructor Summary | |
---|---|
SplitDockStation.SplitDropOperation(PutInfo putInfo,
boolean move)
Creates a new operation. |
Method Summary | |
---|---|
void |
destroy()
Informs this operation that it is no longer used and that it should release any resources it has acquired. |
void |
draw()
Informs this operation that it is the current candidate, and that it should paint markings onto the screen. |
void |
execute()
Executes this operation. |
CombinerTarget |
getCombination()
Most DockStation s will use a Combiner to merge two Dockable s into one. |
DisplayerCombinerTarget |
getDisplayerCombination()
Some DockStation s may use the combining feature of DockableDisplayer s
(DockableDisplayer#prepareCombination(bibliothek.gui.dock.station.support.CombinerSource, boolean) )
to combine some Dockable s. |
Dockable |
getItem()
Gets the item that will be dropped onto the target . |
DockStation |
getTarget()
Gets the target of the operation, this is the DockStation that created this object. |
boolean |
isMove()
Tells whether this operation is a move operation. |
void |
move()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SplitDockStation.SplitDropOperation(PutInfo putInfo, boolean move)
putInfo
- the desired location of the dropped Dockable
.move
- whether this operation is a move operation or notMethod Detail |
---|
public boolean isMove()
StationDropOperation
Dockable
s parent does not change.
isMove
in interface StationDropOperation
true
if the Dockable
s parent remains the samepublic void draw()
StationDropOperation
draw
in interface StationDropOperation
public void destroy()
StationDropOperation
destroy
in interface StationDropOperation
public DockStation getTarget()
StationDropOperation
DockStation
that created this object.
getTarget
in interface StationDropOperation
null
public Dockable getItem()
StationDropOperation
the target
.
getItem
in interface StationDropOperation
null
public CombinerTarget getCombination()
StationDropOperation
DockStation
s will use a Combiner
to merge two Dockable
s into one. This method
returns the information that was provided by the Combiner
.
getCombination
in interface StationDropOperation
null
, null
is always a valid resultpublic DisplayerCombinerTarget getDisplayerCombination()
StationDropOperation
DockStation
s may use the combining feature of DockableDisplayer
s
(DockableDisplayer#prepareCombination(bibliothek.gui.dock.station.support.CombinerSource, boolean)
)
to combine some Dockable
s. This method returns the information that was provided by the displayer.StationDropOperation.getCombination()
does not return null
, then the result of
CombinerTarget.getDisplayerCombination()
and this method should be the same.
getDisplayerCombination
in interface StationDropOperation
null
, null
is always a valid resultpublic void execute()
StationDropOperation
execute
in interface StationDropOperation
public void move()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |