|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DisplayerCombinerTarget
Created by a DockableDisplayer, tells how exactly a Dockable is dropped
over a DockableDisplayer.
| Method Summary | |
|---|---|
Dockable |
execute(CombinerSource source)
Executes this operation. |
void |
paint(Graphics g,
Component component,
StationPaint paint,
Rectangle stationBounds,
Rectangle dockableBounds)
Allows this operation to paint some markings onto the screen. |
| Method Detail |
|---|
void paint(Graphics g,
Component component,
StationPaint paint,
Rectangle stationBounds,
Rectangle dockableBounds)
g - the graphics context to usecomponent - the component on which g paints.paint - painting algorithms fitting to the current DockThemestationBounds - an estimate of the area which will be affected by inserting
the combined Dockable, not nulldockableBounds - the boundaries which a representation of the combined Dockable
has. If possible this is the exact location and size, including any title. If the
station cannot exactly tell where the Dockable is going to be
(e.g. when CombinerSource.getSize() returned null), then
this may be the location and size of a title. Never null.Dockable execute(CombinerSource source)
DockStation.drag(Dockable).
source - the source of information to use for the execution, this may not be the same object as was used to create
this DisplayerCombinerTarget.
Dockable for the old item
IllegalStateException - if the tree of DockElements changed or if this method was already called.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||