echoxul.component
Class NestedHtmlComponent

java.lang.Object
  extended bynextapp.echo.Component
      extended byechoxul.component.AbstractViewContextualizable
          extended byechoxul.component.NestedHtmlComponent
All Implemented Interfaces:
java.io.Serializable, ViewContextualizable

public class NestedHtmlComponent
extends AbstractViewContextualizable

Internal component for maintaining mixed html content along with other Echo components. All static text is stored in the attached View so that each created instance only has a light-weight index into the View and the static text is not replicated for each instance.

Author:
Terry Laurenzo
See Also:
Serialized Form

Field Summary
 
Fields inherited from class nextapp.echo.Component
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, listenerList, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
Constructor Summary
NestedHtmlComponent()
           
 
Method Summary
 void add(nextapp.echo.Component arg0)
           
 void addNestedComponent(nextapp.echo.Component comp)
           
 void addStaticTextKey(int key)
           
 java.lang.Object getNestedContent(int index)
          Returns an indexed nested content entry.
 int getNestedContentCount()
           
 
Methods inherited from class echoxul.component.AbstractViewContextualizable
getView, getViewContext, setViewContext
 
Methods inherited from class nextapp.echo.Component
add, addHierarchyListener, addPropertyChangeListener, applyStyle, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getLocale, getParent, indexOf, init, isAncestorOf, isEnabled, isRegistered, isShowing, isVisible, remove, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setEnabled, setFont, setForeground, setIdentifier, setLocale, setVisible, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedHtmlComponent

public NestedHtmlComponent()
Method Detail

addStaticTextKey

public void addStaticTextKey(int key)

addNestedComponent

public void addNestedComponent(nextapp.echo.Component comp)

add

public void add(nextapp.echo.Component arg0)

getNestedContentCount

public int getNestedContentCount()
Returns:
The number of nested content entries (for iteration)

getNestedContent

public java.lang.Object getNestedContent(int index)
Returns an indexed nested content entry. It will be either a String or a Component.

Parameters:
index -
Returns:
String or Component


Copyright © 2004 Terry Laurenzo. All Rights Reserved.