| com.caucho.widget.Widget com.caucho.widget.WidgetContainer
All known Subclasses: com.caucho.widget.FieldWidget, com.caucho.widget.FormWidget,
WidgetContainer | public class WidgetContainer extends Widget (Code) | | A Widget that contains other widgets.
If the WidgetContainer has no parent, then
this Widget stores the state of children
as request attributes that correspond to their id's.
|
Field Summary | |
final protected static Logger | log |
WidgetContainer | public WidgetContainer()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
setAttributePrefix | public void setAttributePrefix(String attributePrefix)(Code) | | Prefix to use for request attribute's of children when this is a toplevel
container, default is null which means no prefix.
|
Methods inherited from com.caucho.widget.Widget | public void addAllowedWidgetMode(WidgetMode widgetMode)(Code)(Java Doc) public void addPreference(WidgetPreference widgetPreference)(Code)(Java Doc) protected String calculateId(Widget child)(Code)(Java Doc) abstract protected S createState(WidgetConnection connection) throws WidgetException(Code)(Java Doc) protected WidgetURL createURL(WidgetConnection connection) throws WidgetException(Code)(Java Doc) public WidgetPreferences createWidgetPreferences()(Code)(Java Doc) protected S decode(WidgetConnection connection) throws WidgetException(Code)(Java Doc) protected WidgetState decodeChild(WidgetConnection connection, WidgetState thisState, Widget child) throws WidgetException(Code)(Java Doc) protected void decodeChildren(WidgetConnection connection, WidgetState state) throws WidgetException(Code)(Java Doc) public void destroy()(Code)(Java Doc) protected void encode(WidgetURL url, WidgetState state, boolean isAction) throws WidgetException(Code)(Java Doc) public Set<Map.Entry<String, Widget>> entrySet()(Code)(Java Doc) public String getClientId()(Code)(Java Doc) public String getCssClass()(Code)(Java Doc) public String getId()(Code)(Java Doc) public String getLogId()(Code)(Java Doc) public String getModeParameterName()(Code)(Java Doc) public String getParameterName()(Code)(Java Doc) public Widget getParent()(Code)(Java Doc) public String getPreferenceValue(WidgetConnection connection, String key)(Code)(Java Doc) public String[] getPreferenceValues(WidgetConnection connection, String key)(Code)(Java Doc) WidgetMode getWidgetMode()(Code)(Java Doc) protected WidgetPreference getWidgetPreference(String key)(Code)(Java Doc) public void init() throws WidgetException(Code)(Java Doc) protected boolean isAction(WidgetState state)(Code)(Java Doc) protected boolean isActionParameter(WidgetState state)(Code)(Java Doc) public boolean isWidgetModeAllowed(WidgetMode widgetMode)(Code)(Java Doc) public Widget put(String id, Widget value)(Code)(Java Doc) public void render(WidgetConnection connection, S widgetState) throws WidgetException, IOException(Code)(Java Doc) public void setClientId(String clientId)(Code)(Java Doc) public void setCssClass(String cssClass)(Code)(Java Doc) public void setId(String id)(Code)(Java Doc) public void setModeParameterName(String modeParameterName)(Code)(Java Doc) public void setParameterName(String parameterName)(Code)(Java Doc) public void setParent(Widget parent)(Code)(Java Doc) public void setPreferencePrefix(String preferencePrefix)(Code)(Java Doc) public void setWidgetMode(WidgetMode widgetMode)(Code)(Java Doc)
|
|
|