bibliothek.extension.gui.dock.theme
Class BubbleTheme.DropDownGenerator

java.lang.Object
  extended by bibliothek.extension.gui.dock.theme.BubbleTheme.DropDownGenerator
All Implemented Interfaces:
ViewGenerator<DropDownAction,BasicTitleViewItem<javax.swing.JComponent>>
Enclosing class:
BubbleTheme

private class BubbleTheme.DropDownGenerator
extends java.lang.Object
implements ViewGenerator<DropDownAction,BasicTitleViewItem<javax.swing.JComponent>>

Generator to create views for dropdown-actions.

Author:
Benjamin Sigg

Constructor Summary
private BubbleTheme.DropDownGenerator()
           
 
Method Summary
 BasicTitleViewItem<javax.swing.JComponent> create(ActionViewConverter converter, DropDownAction action, Dockable dockable)
          Converts action into a view.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BubbleTheme.DropDownGenerator

private BubbleTheme.DropDownGenerator()
Method Detail

create

public BasicTitleViewItem<javax.swing.JComponent> create(ActionViewConverter converter,
                                                         DropDownAction action,
                                                         Dockable dockable)
Description copied from interface: ViewGenerator
Converts action into a view. The result of this method can be null if no view should be shown for the given action.

Specified by:
create in interface ViewGenerator<DropDownAction,BasicTitleViewItem<javax.swing.JComponent>>
Parameters:
converter - the converter that invoked this method
action - the action to convert
dockable - the Dockable for which the action will be used
Returns:
the view of the action or null if nothing should be displayed