| |
|
| java.lang.Object org.millstone.base.ui.AbstractComponent org.millstone.base.ui.AbstractComponentContainer org.millstone.base.ui.Panel
All known Subclasses: org.millstone.examples.features.PropertyPanel, org.millstone.base.ui.Window,
Constructor Summary | |
public | Panel() Create new empty panel. | public | Panel(Layout layout) Create new empty panel with given layout. | public | Panel(String caption) Create new empty panel with caption. | public | Panel(String caption, Layout layout) Create new empty panel with caption. |
Panel | public Panel()(Code) | | Create new empty panel.
Ordered layout is used.
|
Panel | public Panel(Layout layout)(Code) | | Create new empty panel with given layout.
Layout must be non-null.
Parameters: layout - The layout used in the panel. |
Panel | public Panel(String caption)(Code) | | Create new empty panel with caption.
Ordered layout is used.
Parameters: caption - The caption used in the panel. |
Panel | public Panel(String caption, Layout layout)(Code) | | Create new empty panel with caption.
Parameters: caption - The caption of the panel. Parameters: layout - The layout used in the panel. |
addComponent | public void addComponent(Component c)(Code) | | Add a component into this container.
Parameters: c - The component to be added. |
attach | public void attach()(Code) | | |
componentAttachedToContainer | public void componentAttachedToContainer(ComponentAttachEvent event)(Code) | | Pass the events from underlying layout forwards.
See Also: org.millstone.base.ui.ComponentContainer.ComponentAttachListener.componentAttachedToContainer(org.millstone.base.ui.ComponentContainer.ComponentAttachEvent) |
componentDetachedFromContainer | public void componentDetachedFromContainer(ComponentDetachEvent event)(Code) | | Pass the events from underlying layout forwards.
See Also: org.millstone.base.ui.ComponentContainer.ComponentDetachListener.componentDetachedFromContainer(org.millstone.base.ui.ComponentContainer.ComponentDetachEvent) |
detach | public void detach()(Code) | | |
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. |
getHeight | public int getHeight()(Code) | | The height in pixels or negative value if not assigned. |
getLayout | public Layout getLayout()(Code) | | Get the current layout of the panel.
Current layout of the panel. |
getScrollOffsetX | public int getScrollOffsetX()(Code) | | |
getScrollOffsetY | public int getScrollOffsetY()(Code) | | |
getTag | public String getTag()(Code) | | Get component UIDL tag.
Component UIDL tag as string. |
getWidth | public int getWidth()(Code) | | The width in pixels or negative value if not assigned. |
isScrollable | public boolean isScrollable()(Code) | | |
removeAllComponents | public void removeAllComponents()(Code) | | |
removeComponent | public void removeComponent(Component c)(Code) | | Remove a component from this container.
Parameters: c - The component to be added. |
setHeight | public void setHeight(int height)(Code) | | Sets the height in pixels.
Use negative value to let the client decide the height.
Parameters: height - The height to set |
setLayout | public void setLayout(Layout layout)(Code) | | Set the layout of the panel.
All the components are moved to new layout.
Parameters: layout - New layout of the panel. |
setScrollOffsetX | public void setScrollOffsetX(int pixelsScrolledLeft)(Code) | | |
setScrollOffsetY | public void setScrollOffsetY(int pixelsScrolledDown)(Code) | | |
setScrollable | public void setScrollable(boolean isScrollingEnabled)(Code) | | |
setWidth | public void setWidth(int width)(Code) | | Sets the width in pixels.
Use negative value to allow the client decide the width.
Parameters: width - The width to set |
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)
|
|
|
|