bibliothek.gui.dock.title
Class ActionsDockTitleEvent

java.lang.Object
  extended by bibliothek.gui.dock.title.DockTitleEvent
      extended by bibliothek.gui.dock.title.ActionsDockTitleEvent

public class ActionsDockTitleEvent
extends DockTitleEvent

A DockTitleEvent used to inform a DockTitle about a set of DockActions that should be used.

Author:
Benjamin Sigg

Constructor Summary
ActionsDockTitleEvent(Dockable dockable, DockActionSource suggestions)
          Creates a new event.
ActionsDockTitleEvent(DockStation station, Dockable dockable, DockActionSource suggestions)
          Creates a new event.
 
Method Summary
 DockActionSource getSuggestions()
          Gets the set of DockActions that should be used.
 
Methods inherited from class bibliothek.gui.dock.title.DockTitleEvent
getDockable, getStation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionsDockTitleEvent

public ActionsDockTitleEvent(Dockable dockable,
                             DockActionSource suggestions)
Creates a new event.

Parameters:
dockable - the Dockable for which the target-title is rendered
suggestions - the set of actions to use, can be null

ActionsDockTitleEvent

public ActionsDockTitleEvent(DockStation station,
                             Dockable dockable,
                             DockActionSource suggestions)
Creates a new event.

Parameters:
station - the station on which the target-title is displayed
dockable - the Dockable for which the target-title is rendered
suggestions - the set of actions to use, can be null
Method Detail

getSuggestions

public DockActionSource getSuggestions()
Gets the set of DockActions that should be used.

Returns:
the actions, can be null