NextApp Echo3
v3.0.b4

nextapp.echo.app
Class Composite

java.lang.Object
  extended by nextapp.echo.app.Component
      extended by nextapp.echo.app.Composite
All Implemented Interfaces:
java.io.Serializable, RenderIdSupport
Direct Known Subclasses:
Panel

public abstract class Composite
extends Component

Composite component: a generic composite component abstract base class. This class is intended to be used as base class for composite components. Provides no rendering properties (other than those specified in Component). May contain at most one child component. May not contain a Pane component as a child.

See the Panel component for a default implementation of a single-child container component.

This class provides no benefit if you are providing a custom client-side synchronization/rendering peer. In such cases, Component itself should be derived instead of this class.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class nextapp.echo.app.Component
CHILD_VISIBLE_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_TRAVERSAL_INDEX_CHANGED_PROPERTY, FOCUS_TRAVERSAL_PARTICIPANT_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
Constructor Summary
Composite()
          Default constructor.
 
Method Summary
 boolean isValidChild(Component child)
          Allow at most one child component.
 
Methods inherited from class nextapp.echo.app.Component
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, get, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusTraversalIndex, getFont, getForeground, getId, getIndex, getLayoutData, getLayoutDirection, getLocale, getLocalStyle, getParent, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, init, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isValidParent, isVisible, processInput, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, set, setBackground, setComponents, setEnabled, setFocusTraversalIndex, setFocusTraversalParticipant, setFont, setForeground, setId, setIndex, setLayoutData, setLayoutDirection, setLocale, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Composite

public Composite()
Default constructor.

Method Detail

isValidChild

public boolean isValidChild(Component child)
Allow at most one child component.

Overrides:
isValidChild in class Component
Parameters:
child - the Component to evaluate as a child
Returns:
true if the Component is a valid child
See Also:
Component.isValidChild(nextapp.echo.app.Component)

NextApp Echo3
v3.0.b4