public class SideSnapDropLayer
extends java.lang.Object
implements bibliothek.gui.dock.station.layer.DockStationDropLayer
ToolbarDockStation
where the user can
drop a Dockable
into.Constructor and Description |
---|
SideSnapDropLayer(ToolbarGroupDockStation station)
Creates a new layer
|
Modifier and Type | Method and Description |
---|---|
boolean |
canCompare(bibliothek.gui.dock.station.layer.DockStationDropLayer level) |
int |
compare(bibliothek.gui.dock.station.layer.DockStationDropLayer level) |
boolean |
contains(int x,
int y) |
java.awt.Component |
getComponent() |
bibliothek.gui.dock.station.layer.LayerPriority |
getPriority() |
bibliothek.gui.DockStation |
getStation() |
bibliothek.gui.dock.station.layer.DockStationDropLayer |
modify(bibliothek.gui.dock.station.layer.DockStationDropLayer child) |
void |
setPriority(bibliothek.gui.dock.station.layer.LayerPriority priority) |
public SideSnapDropLayer(ToolbarGroupDockStation station)
station
- the owner of this levelpublic bibliothek.gui.dock.station.layer.LayerPriority getPriority()
getPriority
in interface bibliothek.gui.dock.station.layer.DockStationDropLayer
public void setPriority(bibliothek.gui.dock.station.layer.LayerPriority priority)
setPriority
in interface bibliothek.gui.dock.station.layer.DockStationDropLayer
public boolean canCompare(bibliothek.gui.dock.station.layer.DockStationDropLayer level)
canCompare
in interface bibliothek.gui.dock.station.layer.DockStationDropLayer
public int compare(bibliothek.gui.dock.station.layer.DockStationDropLayer level)
compare
in interface bibliothek.gui.dock.station.layer.DockStationDropLayer
public java.awt.Component getComponent()
getComponent
in interface bibliothek.gui.dock.station.layer.DockStationDropLayer
public bibliothek.gui.DockStation getStation()
getStation
in interface bibliothek.gui.dock.station.layer.DockStationDropLayer
public bibliothek.gui.dock.station.layer.DockStationDropLayer modify(bibliothek.gui.dock.station.layer.DockStationDropLayer child)
modify
in interface bibliothek.gui.dock.station.layer.DockStationDropLayer
public boolean contains(int x, int y)
contains
in interface bibliothek.gui.dock.station.layer.DockStationDropLayer