org.springframework.richclient.widget
Interface SelectionWidget

Show UML class diagram
All Superinterfaces:
Widget
All Known Implementing Classes:
AbstractDataEditorWidget, DefaultDataEditorWidget, ItemDataEditor, SupplierDataEditor

public interface SelectionWidget
extends Widget

Widget that can pass a selection of objects, i.e. a table in which a selection can be made

Author:
jh

Field Summary
 
Fields inherited from interface org.springframework.richclient.widget.Widget
EMPTY_WIDGET
 
Method Summary
 Object getSelection()
           
 void removeSelectionCommand()
           
 void setSelectionCommand(ActionCommand command)
          Command called to set the selection for the widget.
 
Methods inherited from interface org.springframework.richclient.widget.Widget
canClose, getCommands, getComponent, isShowing, onAboutToHide, onAboutToShow
 

Method Detail

setSelectionCommand

void setSelectionCommand(ActionCommand command)
Command called to set the selection for the widget. I.e. a double-click listener on the table that selects the current selected row and closes the view to the table.sluiten

Parameters:
command -

removeSelectionCommand

void removeSelectionCommand()

getSelection

Object getSelection()
Returns:
The selected object(s)


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.