ist.palcom.simulated.handheld.browser.ui
Class UIContainer

java.lang.Object
  extended by ist.palcom.simulated.handheld.browser.ui.UIComponent
      extended by ist.palcom.simulated.handheld.browser.ui.UIContainer
Direct Known Subclasses:
GroupView, InCommandView, OutCommandView, UI

public abstract class UIContainer
extends UIComponent


Field Summary
protected  java.util.ArrayList children
           
 
Fields inherited from class ist.palcom.simulated.handheld.browser.ui.UIComponent
parent
 
Constructor Summary
UIContainer(CommandEventListener cel)
           
 
Method Summary
 void add(UIComponent component)
           
protected  void addSwingComponentsForChildrenToSwingContainer(javax.swing.JComponent container)
           
 UIComponent getChild(int index)
           
 int getNumberOfChildren()
           
 void update()
          Update the UIComponent.
 
Methods inherited from class ist.palcom.simulated.handheld.browser.ui.UIComponent
changeFontSizeOfComponent, createComponentForItem, getCommandEventListener, getSwingComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

protected java.util.ArrayList children
Constructor Detail

UIContainer

public UIContainer(CommandEventListener cel)
Method Detail

add

public void add(UIComponent component)

getNumberOfChildren

public int getNumberOfChildren()

getChild

public UIComponent getChild(int index)

update

public void update()
Description copied from class: UIComponent
Update the UIComponent. Redraw all rendered components with the right text etc.

Specified by:
update in class UIComponent

addSwingComponentsForChildrenToSwingContainer

protected void addSwingComponentsForChildrenToSwingContainer(javax.swing.JComponent container)