|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StationDropOperation
A description of what would happen if the user dropped a Dockable
over a DockStation
.
Method Summary | |
---|---|
void |
destroy(StationDropOperation next)
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, bibliothek.gui.dock.station.support.Enforcement) )
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. |
Method Detail |
---|
void draw()
void destroy(StationDropOperation next)
next
- the operation that replaces this operation, can be null
boolean isMove()
Dockable
s parent does not change.
true
if the Dockable
s parent remains the samevoid execute()
IllegalStateException
- if this operation was destroied
, if the
tree of DockElement
s changed since creation, or if this method was already executedDockStation getTarget()
DockStation
that created this object.
null
Dockable getItem()
the target
.
null
CombinerTarget getCombination()
DockStation
s will use a Combiner
to merge two Dockable
s into one. This method
returns the information that was provided by the Combiner
.
null
, null
is always a valid resultDisplayerCombinerTarget getDisplayerCombination()
DockStation
s may use the combining feature of DockableDisplayer
s
(DockableDisplayer.prepareCombination(bibliothek.gui.dock.station.support.CombinerSource, bibliothek.gui.dock.station.support.Enforcement)
)
to combine some Dockable
s. This method returns the information that was provided by the displayer.getCombination()
does not return null
, then the result of
CombinerTarget.getDisplayerCombination()
and this method should be the same.
null
, null
is always a valid result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |