public class SimplePanel extends Panel
active, disabled, id, label, model, panels, template
controlMap, controls
actionListener, attributes, behaviors, headElements, listener, listenerMethod, messages, name, parent, styles
CONTROL_MESSAGES
Constructor and Description |
---|
SimplePanel()
Default empty constructor.
|
SimplePanel(String name)
Construct a new panel with the specified name.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasTemplate()
Return true if the panel template is available, false otherwise.
|
void |
render(HtmlStringBuffer buffer)
Render the AbstractTablePanel's internal HtmlTable.
|
protected void |
renderContainer(HtmlStringBuffer buffer)
Render the panel as a normal Container.
|
addControl, addModel, createTemplateModel, getId, getLabel, getModel, getPanels, getTemplate, insert, isActive, isDisabled, onInit, onProcess, onRender, remove, removeControl, replace, setActive, setDisabled, setId, setLabel, setTemplate
add, contains, getControl, getControlMap, getControls, getControlSizeEst, hasControls, onDestroy, renderChildren, renderContent, renderTagEnd, toString
addBehavior, addStyleClass, appendAttributes, dispatchActionEvent, getActionListener, getAttribute, getAttributes, getBehaviors, getContext, getHeadElements, getHtmlImports, getMessage, getMessage, getMessages, getName, getPage, getParent, getStyle, getStyles, getTag, hasAttribute, hasAttributes, hasBehaviors, hasStyles, isAjaxTarget, onDeploy, removeBehavior, removeStyleClass, renderTagBegin, setActionListener, setAttribute, setListener, setName, setParent, setStyle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBehaviors, getContext, getHeadElements, getMessages, getName, getParent, hasBehaviors, isAjaxTarget, onDeploy, setListener, setName, setParent
public SimplePanel()
public SimplePanel(String name)
name
- name of the panelpublic void render(HtmlStringBuffer buffer)
Panel
it is
possible to override the default rendering by either specifying a
Panel.template
or specifying a template based on the
classes
name.render
in interface Control
render
in class Panel
buffer
- the specified buffer to render the Panel's output toPanel.render(org.apache.click.util.HtmlStringBuffer)
protected boolean hasTemplate()
protected void renderContainer(HtmlStringBuffer buffer)
buffer
- to buffer to render output to