EchoPoint
1.0

echopoint.layout
Interface LayoutManageable

All Known Subinterfaces:
ScrollableContainer
All Known Implementing Classes:
AbstractScrollableComponent, GroupBox, HtmlContainer, Panel, ScrollableBox, ScrollablePanel

public interface LayoutManageable

This interface defines container Components that are capable of having a LayoutManager specified.

When child components are added or removed from the LayoutManageable object, it is expected to notify the attached LayoutManager.


Field Summary
static java.lang.String LAYOUT_MANAGED_CHANGED_PROPERTY
          This property name is fired when the LayoutManager changes
 
Method Summary
 void add(nextapp.echo.Component comp)
          Adds a child component to the LayoutManageable container with a null contraints object.
 void add(nextapp.echo.Component comp, int index)
          Adds a child component to the LayoutManageable container with a null contraints object at the specified index.
 void add(nextapp.echo.Component comp, java.lang.Object constraints)
          Adds a child component to the LayoutManageable container with the specified contraints object.
 void add(nextapp.echo.Component comp, java.lang.Object constraints, int index)
          Adds a child component to the LayoutManageable container with the specified contraints object, at the specified index.
 LayoutManager getLayoutManager()
          Returns the LayoutManager of the LayoutManageable container, or null if one is not present.
 void remove(nextapp.echo.Component comp)
          Removes a component from the container Component and informs the LayoutManager of this removal.
 void remove(int index)
          Removes a component at the specified index from the container Component and informs the LayoutManager of this removal.
 void setLayoutManager(LayoutManager newLayoutManager)
          Sets a new LayoutManager into the LayoutManageable container.
 

Field Detail

LAYOUT_MANAGED_CHANGED_PROPERTY

public static final java.lang.String LAYOUT_MANAGED_CHANGED_PROPERTY
This property name is fired when the LayoutManager changes

See Also:
Constant Field Values
Method Detail

add

public void add(nextapp.echo.Component comp)
Adds a child component to the LayoutManageable container with a null contraints object.


add

public void add(nextapp.echo.Component comp,
                int index)
Adds a child component to the LayoutManageable container with a null contraints object at the specified index.


add

public void add(nextapp.echo.Component comp,
                java.lang.Object constraints)
Adds a child component to the LayoutManageable container with the specified contraints object. This method would then inform any LayoutManager that is present.

The contraints object is allowed to be null.


add

public void add(nextapp.echo.Component comp,
                java.lang.Object constraints,
                int index)
Adds a child component to the LayoutManageable container with the specified contraints object, at the specified index.

This method would then inform any LayoutManager that is present.

The contraints object is allowed to be null.


getLayoutManager

public LayoutManager getLayoutManager()
Returns the LayoutManager of the LayoutManageable container, or null if one is not present.


remove

public void remove(int index)
Removes a component at the specified index from the container Component and informs the LayoutManager of this removal.


remove

public void remove(nextapp.echo.Component comp)
Removes a component from the container Component and informs the LayoutManager of this removal.


setLayoutManager

public void setLayoutManager(LayoutManager newLayoutManager)
Sets a new LayoutManager into the LayoutManageable container.


EchoPoint
1.0