net.sf.jzeno.echo.components
Class CompoundComponent

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

Deprecated. use CustomComponent instead

public class CompoundComponent
extends RebindableCompoundComponent

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
 
Fields inherited from class net.sf.jzeno.echo.components.RebindableCompoundComponent
optimizeRendering
 
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
CompoundComponent()
          Deprecated.  
CompoundComponent(java.lang.Class beanClass, java.lang.String property, java.lang.String constructionHints)
          Deprecated.  
 
Method Summary
 boolean isValid()
          Deprecated.  Check if this component contains valid user input.
 void markInvalid()
          Deprecated.  Marks the component as invalid.
 void rebind()
          Deprecated. This is not part of the public interface for projects. Rebind is only used internally
 
Methods inherited from class net.sf.jzeno.echo.components.RebindableCompoundComponent
fireActionEvent, fireActionEvent, fireActionEvent, getActionCommand, isMarkedInvalid, markValid, setActionCommand
 
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, 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, preRender, removeValidator, setBean, setBeanClass, setDecorator, setProperty, setReadOnly, setRequired, setValue
 

Constructor Detail

CompoundComponent

public CompoundComponent()
Deprecated. 

CompoundComponent

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

markInvalid

public final 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 RebindableCompoundComponent

isValid

public final boolean isValid()
Deprecated. 
Description copied from interface: PropertyComponent

Check if this component contains valid user input. In itself this operation will not mark the component in error. In order to apply error marking on invalid components you should use EchoSupport.doValidationRecursively(Component).

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

rebind

public final void rebind()
Deprecated. This is not part of the public interface for projects. Rebind is only used internally

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
Overrides:
rebind in class RebindableCompoundComponent