org.xulux.api.gui
Interface IContentWidget


public interface IContentWidget

Interface that widgets must implement if they use content. Content is a collection of objects that needs to be shown in eg a list, table or combo.

Version:
$Id: IContentWidget.java,v 1.1 2005/12/18 12:58:15 mvdb Exp $
Author:
Martin van den Bemt

Method Summary
 void contentChanged()
          This method needs to be called when the content has changed without calling setContent.
 java.lang.Object getContent()
           
 void setContent(java.lang.Object object)
          Set the content for the widget
 

Method Detail

setContent

void setContent(java.lang.Object object)
Set the content for the widget

Parameters:
object - the object containing the content

getContent

java.lang.Object getContent()
Returns:
the current content of the widget

contentChanged

void contentChanged()
This method needs to be called when the content has changed without calling setContent.



Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.