|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.web.impl.WebResource
com.sibvisions.rad.ui.web.impl.WebComponent
com.sibvisions.rad.ui.web.impl.WebContainer
public abstract class WebContainer
Web server implementation of IContainer.
| Field Summary | |
|---|---|
protected List<WebComponent> |
components
List of subcomponents. |
| Fields inherited from class com.sibvisions.rad.ui.web.impl.WebComponent |
|---|
componentId |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
protected |
WebContainer()
Creates a new instance of UIContainer. |
| Method Summary | |
|---|---|
void |
add(IComponent pComponent)
Adds the specified IComponent to the end of this container. |
void |
add(IComponent pComponent,
int pIndex)
Adds the specified IComponent to this container at the specified index. |
void |
add(IComponent pComponent,
Object pConstraints)
Adds the specified IComponent to the end of this container. |
void |
add(IComponent pComponent,
Object pConstraints,
int pIndex)
Adds the specified IComponent to this container with the specified
constraints at the specified index. |
WebComponent |
getComponent(int pIndex)
Gets the nth IComponent in this container. |
int |
getComponentCount()
Gets the number of IComponents in this panel. |
WebLayout |
getLayout()
Gets the layout manager for this container. |
int |
indexOf(IComponent pComponent)
Gets the nth position of an IComponent in this container. |
void |
remove(IComponent pComponent)
Removes the specified component from this container. |
void |
remove(int pIndex)
Removes the IComponent, specified by index,
from this container. |
void |
removeAll()
Removes all the components from this container. |
void |
setLayout(ILayout pLayout)
Sets the layout manager for this container. |
| Methods inherited from class com.sibvisions.rad.ui.web.impl.WebResource |
|---|
getNullableAsString, getResource, setAsString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Field Detail |
|---|
protected List<WebComponent> components
| Constructor Detail |
|---|
protected WebContainer()
UIContainer.
IContainer| Method Detail |
|---|
public WebLayout getLayout()
getLayout in interface IContainerILayoutILayout,
IContainer.setLayout(javax.rad.ui.ILayout)public void setLayout(ILayout pLayout)
setLayout in interface IContainerpLayout - the specified layout managerILayout,
IContainer.getLayout()public void add(IComponent pComponent)
IComponent to the end of this container.
add in interface IContainerpComponent - the IComponent to be addedIComponent
public void add(IComponent pComponent,
Object pConstraints)
IComponent to the end of this container.
Also notifies the layout manager to add the component to
this container's layout using the specified constraints object.
add in interface IContainerpComponent - the IComponent to be addedpConstraints - an object expressing
layout contraints for this componentIComponent
public void add(IComponent pComponent,
int pIndex)
IComponent to this container at the specified index. Also notifies the layout
manager to add the component to the this container's layout.
add in interface IContainerpComponent - the IComponent to be addedpIndex - the position in the container's list at which to insert
the IComponent; -1 means insert at the end
componentIComponent
public void add(IComponent pComponent,
Object pConstraints,
int pIndex)
IComponent to this container with the specified
constraints at the specified index. Also notifies the layout
manager to add the component to the this container's layout using
the specified constraints object.
add in interface IContainerpComponent - the IComponent to be addedpConstraints - an object expressing layout contraints for thispIndex - the position in the container's list at which to insert
the IComponent; -1 means insert at the end
componentIComponentpublic void remove(int pIndex)
IComponent, specified by index,
from this container.
This method also notifies the layout manager to remove the
component from this container's layout via the
removeLayoutComponent method.
remove in interface IContainerpIndex - the index of the IComponent to be removedIContainer.add(javax.rad.ui.IComponent),
IContainer.getComponentCount()public void remove(IComponent pComponent)
remove in interface IContainerpComponent - the IComponent to be removedIContainer.add(javax.rad.ui.IComponent),
IContainer.remove(int)public void removeAll()
removeLayoutComponent method.
removeAll in interface IContainerIContainer.add(javax.rad.ui.IComponent),
IContainer.remove(int)public int getComponentCount()
IComponents in this panel.
getComponentCount in interface IContainerIContainer.getComponent(int)public WebComponent getComponent(int pIndex)
IComponent in this container.
getComponent in interface IContainerpIndex - the index of the IComponent to get.
public int indexOf(IComponent pComponent)
IComponent in this container.
indexOf in interface IContainerpComponent - the IComponent to search
pComponent in this container or
-1 if pComponent is not added
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||