public BasicTitleViewItem<JComponent> create( ActionViewConverter converter, DropDownAction action, Dockable dockable ){ BasicDropDownButtonHandler handler = new BasicDropDownButtonHandler( action, dockable ); DropDownMiniButton button = new DropDownMiniButton( handler ); handler.setModel( button.getModel() ); button.setMouseOverBorder( BorderFactory.createEtchedBorder() ); return handler; } } );
public BasicTitleViewItem<JComponent> create( ActionViewConverter converter, DropDownAction action, Dockable dockable ){ BasicDropDownButtonHandler handler = new BasicDropDownButtonHandler( action, dockable ); DropDownMiniButton button = new DropDownMiniButton( handler ); handler.setModel( button.getModel() ); return handler; } });
public BasicTitleViewItem<JComponent> create( ActionViewConverter converter, DropDownAction action, Dockable dockable ){ BasicDropDownButtonHandler handler = new BasicDropDownButtonHandler( action, dockable ); RoundRectDropDownButton button = new RoundRectDropDownButton( handler ); handler.setModel( button.getModel() ); return handler; } } );
public BasicTitleViewItem<JComponent> create( ActionViewConverter converter, DropDownAction action, Dockable dockable ){ BasicDropDownButtonHandler handler = new BasicDropDownButtonHandler( action, dockable ); DropDownMiniButton button = new DropDownMiniButton( handler ); handler.setModel( button.getModel() ); return handler; } });
public BasicTitleViewItem<JComponent> create( ActionViewConverter converter, DropDownAction action, Dockable dockable ){ BasicDropDownButtonHandler handler = new BasicDropDownButtonHandler( action, dockable ); DropDownMiniButton button = new DropDownMiniButton( handler ); handler.setModel( button.getModel() ); button.setMouseOverBorder( BorderFactory.createEtchedBorder() ); return handler; } } );
public BasicTitleViewItem<JComponent> create( ActionViewConverter converter, DropDownAction action, Dockable dockable ) { BasicDropDownButtonHandler handler = new BasicDropDownButtonHandler( action, dockable ); RoundDropDownButton button = new RoundDropDownButton( handler, dockable, action ); handler.setModel( button.getModel() ); return new RoundButtonViewItem( dockable, handler, button ); } }
public BasicTitleViewItem<JComponent> create( ActionViewConverter converter, DropDownAction action, Dockable dockable ) { BasicDropDownButtonHandler handler = new BasicDropDownButtonHandler( action, dockable ); RoundDropDownButton button = new RoundDropDownButton( handler, dockable, action ); handler.setModel( button.getModel() ); return new RoundButtonViewItem( dockable, handler, button ); } }