public class OrientingDockStationEvent
extends java.lang.Object
OrientedDockStation
if one or many children
changed their orientation.Constructor and Description |
---|
OrientingDockStationEvent(OrientingDockStation station)
Creates a new event, this is equivalent of calling
OrientingDockStationEvent(OrientingDockStation, Dockable[]) with
the children array set to null |
OrientingDockStationEvent(OrientingDockStation station,
bibliothek.gui.Dockable[] children)
Creates a new event.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<bibliothek.gui.Dockable> |
getChildren()
Gets all affected children, the collection is not modifiable.
|
OrientingDockStation |
getStation()
Gets the source of the event.
|
boolean |
isAffected(bibliothek.gui.Dockable dockable)
Tells whether
dockable was affected by the event. |
public OrientingDockStationEvent(OrientingDockStation station)
OrientingDockStationEvent(OrientingDockStation, Dockable[])
with
the children
array set to null
station
- the source of the eventpublic OrientingDockStationEvent(OrientingDockStation station, bibliothek.gui.Dockable[] children)
station
- the source of the eventchildren
- the affected children or null
, if
null
then all children of station
are affectedpublic OrientingDockStation getStation()
public boolean isAffected(bibliothek.gui.Dockable dockable)
dockable
was affected by the event.dockable
- some dockable which may or may not be affectedtrue
if dockable
may have changed its
orientationpublic java.util.Collection<bibliothek.gui.Dockable> getChildren()
Dockable
s