NextApp Echo2
v2.1.0

nextapp.echo2.app
Class Row

java.lang.Object
  extended by nextapp.echo2.app.Component
      extended by nextapp.echo2.app.Row
All Implemented Interfaces:
java.io.Serializable, RenderIdSupport

public class Row
extends Component

A layout Component which renders its contents in a single horizontal row of cells.

Child LayoutData: Children of this component may provide layout information using the nextapp.echo2.app.layout.RowLayoutData layout data object.

See Also:
RowLayoutData, Serialized Form

Field Summary
static java.lang.String PROPERTY_ALIGNMENT
           
static java.lang.String PROPERTY_BORDER
           
static java.lang.String PROPERTY_CELL_SPACING
           
static java.lang.String PROPERTY_INSETS
           
 
Fields inherited from class nextapp.echo2.app.Component
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
Row()
          Creates a new Row.
 
Method Summary
 Alignment getAlignment()
          Returns the alignment of the row's content.
 Border getBorder()
          Returns the Border that encloses the entire Column.
 Extent getCellSpacing()
          Returns the spacing between individual cells of the Column.
 Insets getInsets()
          Returns the inset between the border and cells of the Column.
 void setAlignment(Alignment newValue)
          Sets the alignment of the row's content.
 void setBorder(Border newValue)
          Sets the Border that encloses the entire Column.
 void setCellSpacing(Extent newValue)
          Sets the spacing between individual cells of the Column.
 void setInsets(Insets newValue)
          Sets the inset between the border and cells of the Column.
 
Methods inherited from class nextapp.echo2.app.Component
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusTraversalIndex, getFont, getForeground, getId, getIndexedProperty, getLayoutData, getLayoutDirection, getLocale, getParent, getProperty, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLayoutDirection, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, init, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isValidChild, isValidParent, isVisible, processInput, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, setBackground, setEnabled, setFocusTraversalIndex, setFocusTraversalParticipant, setFont, setForeground, setId, setIndexedProperty, setLayoutData, setLayoutDirection, setLocale, setProperty, 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
 

Field Detail

PROPERTY_ALIGNMENT

public static final java.lang.String PROPERTY_ALIGNMENT
See Also:
Constant Field Values

PROPERTY_BORDER

public static final java.lang.String PROPERTY_BORDER
See Also:
Constant Field Values

PROPERTY_CELL_SPACING

public static final java.lang.String PROPERTY_CELL_SPACING
See Also:
Constant Field Values

PROPERTY_INSETS

public static final java.lang.String PROPERTY_INSETS
See Also:
Constant Field Values
Constructor Detail

Row

public Row()
Creates a new Row.

Method Detail

getAlignment

public Alignment getAlignment()
Returns the alignment of the row's content. Only horizontal alignments are supported.

Returns:
the alignment

getBorder

public Border getBorder()
Returns the Border that encloses the entire Column.

Returns:
the border

getCellSpacing

public Extent getCellSpacing()
Returns the spacing between individual cells of the Column. This property only supports Extents with fixed (i.e., not percent) units.

Returns:
the cell spacing

getInsets

public Insets getInsets()
Returns the inset between the border and cells of the Column.

Returns:
the inset

setAlignment

public void setAlignment(Alignment newValue)
Sets the alignment of the row's content. Only horizontal alignments are supported.

Parameters:
newValue - the new alignment

setBorder

public void setBorder(Border newValue)
Sets the Border that encloses the entire Column.

Parameters:
newValue - the new border

setCellSpacing

public void setCellSpacing(Extent newValue)
Sets the spacing between individual cells of the Column. This property only supports Extents with fixed (i.e., not percent) units.

Parameters:
newValue - the new spacing

setInsets

public void setInsets(Insets newValue)
Sets the inset between the border and cells of the Column.

Parameters:
newValue - the new inset

NextApp Echo2
v2.1.0