|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.Grid
net.sf.jzeno.echo.components.DynaGrid
net.sf.jzeno.echo.components.RebindableCompoundComponent
public abstract class RebindableCompoundComponent
CompoundComponent is basically a DynaGrid. The main purpose of a CompoundComponent is to group several other components together and to act as a mediator between these components. This makes it very easy to build your own components towards your model or business case. Because the CompoundComponent is a BindingTarget, the other components can easily bind to the CompoundComponent to start their property path. Because the CompoundComponent also implements EventSink, this is where write your event handlers. Because the CompoundComponent is a EventSource, other screens or other CompoundComponents can use it as a black box that fires its own ActionEvents.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sf.jzeno.echo.components.DynaGrid |
|---|
DynaGrid.Cell |
| Nested classes/interfaces inherited from class nextapp.echo.Grid |
|---|
Grid.ExternalState, Grid.GridCellOverlapException |
| Field Summary | |
|---|---|
protected boolean |
optimizeRendering
Deprecated. |
| Fields inherited from interface nextapp.echoservlet.ComponentPeer |
|---|
IGNORE_PROPERTY_CHANGE |
| Constructor Summary | |
|---|---|
RebindableCompoundComponent()
Deprecated. |
|
RebindableCompoundComponent(java.lang.Class beanClass,
java.lang.String property,
java.lang.String constructionHints)
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
fireActionEvent()
Deprecated. |
protected void |
fireActionEvent(ActionEvent event)
Deprecated. |
protected void |
fireActionEvent(java.lang.String command)
Deprecated. |
java.lang.String |
getActionCommand()
Deprecated. |
boolean |
isMarkedInvalid()
Deprecated. |
void |
markInvalid()
Deprecated. Marks the component as invalid. |
void |
markValid()
Deprecated. Marks the component as valid (remove error marking) |
void |
rebind()
Deprecated. This operation causes the component to reset it's content to that of the domain model. |
void |
setActionCommand(java.lang.String command)
Deprecated. |
| Methods inherited from class net.sf.jzeno.echo.components.DynaGrid |
|---|
add, add, add, add, addCentered, addCentered, addLeft, addLeft, addRight, addRight, addValidator, applyStyle, getBean, getBeanClass, getDecorator, getNullObject, getProperty, getValidationErrors, getValidators, getValue, isAllowLineWrap, isBound, isReadOnly, isRequired, isValid, preRender, removeValidator, render, setAllowLineWrap, setBean, setBeanClass, setDecorator, setNullObject, setProperty, setReadOnly, setRequired, setValue, traceValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jzeno.echo.databinding.RebindableComponent |
|---|
getNullObject, setNullObject, traceValue |
| Methods inherited from interface net.sf.jzeno.echo.databinding.PropertyComponent |
|---|
addValidator, getBean, getBeanClass, getDecorator, getProperty, getValidationErrors, getValidators, getValue, isReadOnly, isRequired, isValid, preRender, removeValidator, setBean, setBeanClass, setDecorator, setProperty, setReadOnly, setRequired, setValue |
| Field Detail |
|---|
protected boolean optimizeRendering
| Constructor Detail |
|---|
public RebindableCompoundComponent()
public RebindableCompoundComponent(java.lang.Class beanClass,
java.lang.String property,
java.lang.String constructionHints)
| Method Detail |
|---|
public boolean isMarkedInvalid()
isMarkedInvalid in interface PropertyComponentisMarkedInvalid in class DynaGridpublic java.lang.String getActionCommand()
getActionCommand in interface EventSourcepublic void setActionCommand(java.lang.String command)
setActionCommand in interface EventSourceprotected final void fireActionEvent(java.lang.String command)
protected final void fireActionEvent()
protected final void fireActionEvent(ActionEvent event)
public void markInvalid()
PropertyComponentMarks the component as invalid. Typically puts a colored border around it to indicate the error.
markInvalid in interface PropertyComponentmarkInvalid in class DynaGridpublic void markValid()
PropertyComponentMarks the component as valid (remove error marking)
markValid in interface PropertyComponentmarkValid in class DynaGridpublic void rebind()
RebindableComponentThis operation causes the component to reset it's content to that of the domain model.
rebind in interface RebindableComponent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||