Package | Description |
---|---|
bibliothek.gui.dock.station.screen.magnet |
The magnet API allows
ScreenDockWindow s to
attract each other, or to stick together. |
Modifier and Type | Method and Description |
---|---|
AttractorStrategy.Attraction |
AttractorStrategy.attract(ScreenDockStation parent,
Dockable moved,
Dockable fixed)
Called when the
Dockable moved has been moved. |
AttractorStrategy.Attraction |
MultiAttractorStrategy.attract(ScreenDockStation parent,
Dockable moved,
Dockable fixed) |
AttractorStrategy.Attraction |
MagnetController.getAttraction(Dockable moved,
Dockable fixed)
Tells whether
fixed and moved attract each other. |
AttractorStrategy.Attraction |
MagnetController.getStickiness(Dockable moved,
Dockable fixed)
Tells whether
fixed and moved stick to each other. |
AttractorStrategy.Attraction |
AttractorStrategy.stick(ScreenDockStation parent,
Dockable moved,
Dockable fixed)
Called when the
Dockable moved has been moved. |
AttractorStrategy.Attraction |
MultiAttractorStrategy.stick(ScreenDockStation parent,
Dockable moved,
Dockable fixed) |
AttractorStrategy.Attraction |
AttractorStrategy.Attraction.stronger(AttractorStrategy.Attraction other)
|
static AttractorStrategy.Attraction |
AttractorStrategy.Attraction.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttractorStrategy.Attraction[] |
AttractorStrategy.Attraction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
AttractorStrategy.Attraction |
AttractorStrategy.Attraction.stronger(AttractorStrategy.Attraction other)
|