|
NextApp Echo2 v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo2.app.Component nextapp.echo2.app.Composite
public abstract class Composite
Generic composite component base class. This class is intended to be used as base class for composite components. This component will simply display its content without any modification to its appearance or behavior. This component may have at most one child component.
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/server
synchronization peer. If you wish to create a component with a custom
client/server synchronization peer, Component
itself should be
derived instead of this class.
Field Summary |
---|
Constructor Summary | |
---|---|
Composite()
|
Method Summary | |
---|---|
boolean |
isValidChild(Component child)
Allow at most one child component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Composite()
Method Detail |
---|
public boolean isValidChild(Component child)
isValidChild
in class Component
child
- the Component
to evaluate as a child
Component
is a valid childComponent.isValidChild(nextapp.echo2.app.Component)
|
NextApp Echo2 v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |