public class Panel extends Widget implements Container
| Modifier and Type | Field and Description |
|---|---|
protected org.uqbar.commons.model.IModel<?> |
model |
configurations| Constructor and Description |
|---|
Panel(Container container)
Creates a panel which by default inherits the model from its container.
|
Panel(Container container,
org.uqbar.commons.model.IModel<?> model) |
Panel(Container container,
Object model) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Widget child)
Agrega un
Widget de este contenedor. |
void |
appendYourselfTo(HierarchicalLogger visitor)
Se logea a traves de un objeto Logger quien visita a los Loggeables atraves de este metodo.
|
Panel |
bindContentsToProperty(String propertyName)
Vincula el contenido de este panel con una propiedad del panel padre.
|
protected void |
createContents()
Creates the contents of the panel.
|
protected PanelBuilder |
createPanel(PanelBuilder container)
template method.
|
protected List<Widget> |
getChildren() |
org.uqbar.commons.model.IModel<?> |
getModel()
Returns the model associated to this Panel.
|
Object |
getModelObject() |
int |
getWidth() |
Panel |
setLayout(Layout layout) |
Panel |
setWidth(int panelWidth) |
void |
showOn(PanelBuilder container)
Agrega este
Widget al contenedor donde será dibujado. |
protected void |
validateModel() |
addBinding, addBinding, addConfiguration, configure, createBuilder, getContainer, getContainerModelObject, nextCaption, toStringpublic Panel(Container container)
public Panel(Container container, org.uqbar.commons.model.IModel<?> model)
public Panel bindContentsToProperty(String propertyName)
protected void createContents()
public org.uqbar.commons.model.IModel<?> getModel()
protected void validateModel()
public Object getModelObject()
public void showOn(PanelBuilder container)
WidgetWidget al contenedor donde será dibujado. Una vez invocado a este método no se
pueden hacer más modificaciones al Widget.showOn in class Widgetcontainer - El PanelBuilder que interpretará la descripción de este Widget traduciéndolas
a las instrucciones necsarias para implementarlas en la tecnología subyacente.protected PanelBuilder createPanel(PanelBuilder container)
public Panel setWidth(int panelWidth)
public int getWidth()
public void appendYourselfTo(HierarchicalLogger visitor)
HierarchicalLoggeableappendYourselfTo in interface HierarchicalLoggeableappendYourselfTo in class WidgetCopyright © 2015 Uqbar Project. All rights reserved.