| |
|
| java.lang.Object org.millstone.base.ui.AbstractComponent org.millstone.base.ui.AbstractComponentContainer org.millstone.base.ui.OrderedLayout
OrderedLayout | public class OrderedLayout extends AbstractComponentContainer implements Layout(Code) | | Ordered layout.
Ordered layout is a component container, which shows the subcomponents in the
order of their addition in specified orientation.
author: IT Mill Ltd. version: 3.1.1 since: 3.0 |
Constructor Summary | |
public | OrderedLayout() Create a new ordered layout. | public | OrderedLayout(int orientation) Create a new ordered layout. |
ORIENTATION_HORIZONTAL | public static int ORIENTATION_HORIZONTAL(Code) | | Components are to be layed out horizontally.
|
ORIENTATION_VERTICAL | public static int ORIENTATION_VERTICAL(Code) | | Components are to be layed out vertically.
|
OrderedLayout | public OrderedLayout()(Code) | | Create a new ordered layout.
The order of the layout is ORIENTATION_VERTICAL.
|
OrderedLayout | public OrderedLayout(int orientation)(Code) | | Create a new ordered layout.
The orientation of the layout is given as parameters.
Parameters: orientation - Orientation of the layout. |
addComponent | public void addComponent(Component c)(Code) | | Add a component into this container. The component is added to the
right or under the previous component.
Parameters: c - The component to be added. |
addComponent | public void addComponent(Component c, int index)(Code) | | Add a component into indexed position in this container.
Parameters: c - The component to be added. Parameters: index - Index of the component position. The components currently in and after the position are shifted forwards. |
addComponentAsFirst | public void addComponentAsFirst(Component c)(Code) | | Add a component into this container. The component is added to the
left or on top of the other components.
Parameters: c - The component to be added. |
getComponentIterator | public Iterator getComponentIterator()(Code) | | Get component container iterator for going trough all the components in
the container.
Iterator of the components inside the container. |
getOrientation | public int getOrientation()(Code) | | Get the orientation of the container.
Value of property orientation. |
getTag | public String getTag()(Code) | | Get component UIDL tag.
Component UIDL tag as string. |
removeComponent | public void removeComponent(Component c)(Code) | | Remove a component from this container.
Parameters: c - The component to be removed. |
setOrientation | public void setOrientation(int orientation)(Code) | | Set the orientation of the container.
Parameters: orientation - New value of property orientation. |
Methods inherited from org.millstone.base.ui.AbstractComponent | public void addListener(RepaintRequestListener listener)(Code)(Java Doc) public void addListener(Class eventType, Object object, Method method)(Code)(Java Doc) public void addListener(Class eventType, Object object, String methodName)(Code)(Java Doc) public void addListener(Component.Listener listener)(Code)(Java Doc) public void attach()(Code)(Java Doc) public void changeVariables(Object source, Map variables)(Code)(Java Doc) public void childRequestedRepaint(Collection alreadyNotified)(Code)(Java Doc) public void dependsOn(VariableOwner depended)(Code)(Java Doc) public void detach()(Code)(Java Doc) protected void fireComponentErrorEvent()(Code)(Java Doc) protected void fireComponentEvent()(Code)(Java Doc) protected void fireEvent(Component.Event event)(Code)(Java Doc) public Application getApplication()(Code)(Java Doc) public String getCaption()(Code)(Java Doc) public ErrorMessage getComponentError()(Code)(Java Doc) public Object getData()(Code)(Java Doc) public String getDescription()(Code)(Java Doc) public Set getDirectDependencies()(Code)(Java Doc) public ErrorMessage getErrorMessage()(Code)(Java Doc) public Resource getIcon()(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Component getParent()(Code)(Java Doc) public String getStyle()(Code)(Java Doc) abstract public String getTag()(Code)(Java Doc) public Window getWindow()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isImmediate()(Code)(Java Doc) public boolean isReadOnly()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) final public void paint(PaintTarget target) throws PaintException(Code)(Java Doc) public void paintContent(PaintTarget target) throws PaintException(Code)(Java Doc) public void removeDirectDependency(VariableOwner depended)(Code)(Java Doc) public void removeListener(RepaintRequestListener listener)(Code)(Java Doc) public void removeListener(Class eventType, Object target)(Code)(Java Doc) public void removeListener(Class eventType, Object target, Method method)(Code)(Java Doc) public void removeListener(Class eventType, Object target, String methodName)(Code)(Java Doc) public void removeListener(Component.Listener listener)(Code)(Java Doc) public void requestRepaint()(Code)(Java Doc) public void requestRepaintRequests()(Code)(Java Doc) public void setCaption(String caption)(Code)(Java Doc) public void setComponentError(ErrorMessage componentError)(Code)(Java Doc) public void setData(Object data)(Code)(Java Doc) public void setDescription(String description)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setIcon(Resource icon)(Code)(Java Doc) public void setImmediate(boolean immediate)(Code)(Java Doc) public void setLocale(Locale locale)(Code)(Java Doc) public void setParent(Component parent)(Code)(Java Doc) public void setReadOnly(boolean readOnly)(Code)(Java Doc) public void setStyle(String style)(Code)(Java Doc) public void setVisible(boolean visible)(Code)(Java Doc)
|
|
|
|