org.xulux.api.gui
Interface IContainerWidgetHandler


public interface IContainerWidgetHandler


Method Summary
 void addChildWidget(IWidget widget)
           
 void addToParent(IWidget widget)
          Adds a childwidget to the parent
 boolean canBeRootWidget()
           
 boolean canContainChildren()
           
 void destroy()
          You probably have to override this, since it only destroys the children and doesn't cleanup the parent object, since it doesn't know about it.
 void destroyChildren()
          Destroys all children.
 java.util.List getChildWidgets()
           
 void initializeChildren()
           
 

Method Detail

addChildWidget

void addChildWidget(IWidget widget)
See Also:
org.xulux.nyx.gui.Widget#addChildWidget(Widget)

canBeRootWidget

boolean canBeRootWidget()
See Also:
org.xulux.nyx.gui.Widget#canBeRootWidget()

canContainChildren

boolean canContainChildren()
See Also:
org.xulux.nyx.gui.Widget#canContainChildren()

getChildWidgets

java.util.List getChildWidgets()
See Also:
org.xulux.nyx.gui.Widget#getChildWidgets()

initializeChildren

void initializeChildren()
See Also:
org.xulux.nyx.gui.Widget#initialize()

addToParent

void addToParent(IWidget widget)
Adds a childwidget to the parent

Parameters:
widget - - the child widget

destroy

void destroy()
You probably have to override this, since it only destroys the children and doesn't cleanup the parent object, since it doesn't know about it.

See Also:
org.xulux.gui.Widget#destroy()

destroyChildren

void destroyChildren()
Destroys all children.



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