public class SideSnapDropLayer extends Object implements 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(DockStationDropLayer level) |
int |
compare(DockStationDropLayer level) |
boolean |
contains(int x,
int y) |
Component |
getComponent() |
LayerPriority |
getPriority() |
DockStation |
getStation() |
DockStationDropLayer |
modify(DockStationDropLayer child) |
void |
setPriority(LayerPriority priority) |
public SideSnapDropLayer(ToolbarGroupDockStation station)
station - the owner of this levelpublic LayerPriority getPriority()
getPriority in interface DockStationDropLayerpublic void setPriority(LayerPriority priority)
setPriority in interface DockStationDropLayerpublic boolean canCompare(DockStationDropLayer level)
canCompare in interface DockStationDropLayerpublic int compare(DockStationDropLayer level)
compare in interface DockStationDropLayerpublic Component getComponent()
getComponent in interface DockStationDropLayerpublic DockStation getStation()
getStation in interface DockStationDropLayerpublic DockStationDropLayer modify(DockStationDropLayer child)
modify in interface DockStationDropLayerpublic boolean contains(int x,
int y)
contains in interface DockStationDropLayerCopyright © 2018. All rights reserved.