net.sf.jzeno.echo.components
Class RebindableCompoundComponent

java.lang.Object
  extended by nextapp.echo.Grid
      extended by net.sf.jzeno.echo.components.DynaGrid
          extended by net.sf.jzeno.echo.components.RebindableCompoundComponent
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, BindingTarget, PropertyComponent, RebindableComponent, EventSink, EventSource, Component, ComponentPeer, FastComponent
Direct Known Subclasses:
CompoundComponent

Deprecated. use CustomComponent instead.

public abstract class RebindableCompoundComponent
extends DynaGrid
implements RebindableComponent, EventSource, EventSink, BindingTarget

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.

See Also:
Serialized Form

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 class nextapp.echo.Grid
BORDER_COLOR_CHANGED_PROPERTY, BORDER_SIZE_CHANGED_PROPERTY, CELL_LAYOUT_ORIENTATION_CHANGED_PROPERTY, CELL_LAYOUT_ORIENTATION_HORIZONTAL, CELL_LAYOUT_ORIENTATION_VERTICAL, CELL_MARGIN_CHANGED_PROPERTY, COLUMN_DELETED_PROPERTY, COLUMN_INSERTED_PROPERTY, COLUMN_WIDTH_CHANGED_PROPERTY, COLUMNS_CHANGED_PROPERTY, HEIGHT_CHANGED_PROPERTY, HEIGHT_UNITS_CHANGED_PROPERTY, PERCENT_INDIVIDUAL_PIXEL_TOTAL_UNITS, PERCENT_UNITS, PIXEL_UNITS, ROW_DELETED_PROPERTY, ROW_HEIGHT_CHANGED_PROPERTY, ROW_INSERTED_PROPERTY, ROWS_CHANGED_PROPERTY, STYLE_BORDER_COLOR, STYLE_BORDER_SIZE, STYLE_CELL_MARGIN, STYLE_COLUMN_WIDTHS, STYLE_HEIGHT, STYLE_HEIGHT_UNITS, STYLE_ROW_HEIGHTS, STYLE_WIDTH, STYLE_WIDTH_UNITS, UNKNOWN_SIZE, WIDTH_CHANGED_PROPERTY, WIDTH_UNITS_CHANGED_PROPERTY
 
Fields inherited from interface nextapp.echo.Component
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, SELECTABLE_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
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 nextapp.echo.Grid
add, add, add, addAncillaryService, addHierarchyListener, addPropertyChangeListener, deleteColumn, deleteRow, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, generateId, get, get, getBackground, getBorderColor, getBorderSize, getCalculatedBackground, getCalculatedFont, getCalculatedForeground, getCellLayoutOrientation, getCellMargin, getCellPosition, getClientId, getColumns, getColumnWidth, getComponent, getComponent, getComponentCount, getComponents, getCssClass, getEchoInstance, getFocusedElementId, getFont, getForeground, getHeight, getHeightUnits, getId, getIdentifier, getInstancePeer, getListenerList, getLocale, getParent, getParentComponentPeer, getPeer, getRowHeight, getRows, getSize, getUseInternalBorders, getWidth, getWidthUnits, indexOf, init, insertColumn, insertRow, invalidate, isAncestorOf, isEnabled, isFocused, isInitialized, isRecursivelyVisible, isRegistered, isSelectableForScriptRecorder, isShowing, isVisible, iterator, processHierarchyEvent, propertyChange, redraw, registerAncillaryServices, registered, remove, remove, remove, remove, removeAll, removeAncillaryService, removeHierarchyListener, removePropertyChangeListener, setBackground, setBorderColor, setBorderSize, setCellLayoutOrientation, setCellMargin, setClientId, setColumns, setColumnWidth, setComponent, setCssClass, setEnabled, setFocused, setFont, setForeground, setHeight, setHeightUnits, setId, setIdentifier, setInitialized, setInstancePeer, setLocale, setParent, setRegistered, setRowHeight, setRows, setSelectableForScriptRecorder, setUseInternalBorders, setVisible, setWidth, setWidthUnits, superAdd, superApplyStyle, superRemove, unregisterAncillaryServices, unregistered, update, validate
 
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

optimizeRendering

protected boolean optimizeRendering
Deprecated. 
Constructor Detail

RebindableCompoundComponent

public RebindableCompoundComponent()
Deprecated. 

RebindableCompoundComponent

public RebindableCompoundComponent(java.lang.Class beanClass,
                                   java.lang.String property,
                                   java.lang.String constructionHints)
Deprecated. 
Method Detail

isMarkedInvalid

public boolean isMarkedInvalid()
Deprecated. 
Specified by:
isMarkedInvalid in interface PropertyComponent
Overrides:
isMarkedInvalid in class DynaGrid

getActionCommand

public java.lang.String getActionCommand()
Deprecated. 
Specified by:
getActionCommand in interface EventSource

setActionCommand

public void setActionCommand(java.lang.String command)
Deprecated. 
Specified by:
setActionCommand in interface EventSource

fireActionEvent

protected final void fireActionEvent(java.lang.String command)
Deprecated. 

fireActionEvent

protected final void fireActionEvent()
Deprecated. 

fireActionEvent

protected final void fireActionEvent(ActionEvent event)
Deprecated. 

markInvalid

public void markInvalid()
Deprecated. 
Description copied from interface: PropertyComponent

Marks the component as invalid. Typically puts a colored border around it to indicate the error.

Specified by:
markInvalid in interface PropertyComponent
Overrides:
markInvalid in class DynaGrid

markValid

public void markValid()
Deprecated. 
Description copied from interface: PropertyComponent

Marks the component as valid (remove error marking)

Specified by:
markValid in interface PropertyComponent
Overrides:
markValid in class DynaGrid

rebind

public void rebind()
Deprecated. 
Description copied from interface: RebindableComponent

This operation causes the component to reset it's content to that of the domain model.

Specified by:
rebind in interface RebindableComponent