|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.dom.css.CssBase
to.etc.domui.dom.html.NodeBase
to.etc.domui.dom.html.NodeContainer
to.etc.domui.dom.html.Div
to.etc.domui.component.layout.CaptionedPanel
public class CaptionedPanel
A panel with a beveled caption above it. The caption defaults to some text but can be anything actually. Both the title and the content of this panel can be changed and can contain any other node structure. Simple constructors exist to quickly render a panel around a structure. The parameterless constructor expects the title of the panel to be set separately; the content is initially created as a Div, and can either be replaced or it can be added to.
Constructor Summary | |
---|---|
CaptionedPanel()
Create an empty panel without a title and with an empty Div as the content node. |
|
CaptionedPanel(NodeBase title,
NodeContainer content)
Create a panel with both the title and the container as a Node structure. |
|
CaptionedPanel(NodeContainer title)
|
|
CaptionedPanel(NodeContainer title,
NodeContainer content)
|
|
CaptionedPanel(java.lang.String title)
Create a panel with a title and an empty Div as the container. |
|
CaptionedPanel(java.lang.String title,
NodeContainer content)
Create a panel with the specified String title and a content node. |
Method Summary | |
---|---|
void |
createContent()
|
NodeContainer |
getContent()
Return the current content container; it can be added to. |
NodeContainer |
getTitleContainer()
Get the current title container. |
void |
setContentContainer(NodeContainer c)
Replaces the current content container with a different one. |
void |
setTitle(java.lang.String txt)
Set the title for this panel as a String. |
void |
setTitleContainer(NodeContainer c)
Replaces the current title container with a different one. |
Methods inherited from class to.etc.domui.dom.html.Div |
---|
afterCreateContent, componentHandleWebAction, fadeIn, fadeOut, getCustomUpdatesCallJS, getDragHandler, getDropBody, getDropHandler, getDropMode, getReturnPressed, setDragHandler, setDropBody, setDropHandler, setReturnPressed, slideDown, slideUp, tb, visit |
Methods inherited from class to.etc.domui.dom.html.NodeContainer |
---|
add, add, add, addTable, canContain, delegateTo, findChildIndex, forceRebuild, getChild, getChildCount, getChildren, getDeepChild, getDeepChildren, getErrorFence, internalCheckNotDirty, internalClearDelta, internalClearDeltaFully, internalGetOldChildren, internalShelve, internalUnshelve, iterator, moveControlToModel, moveModelToControl, onRefresh, removeAllChildren, removeChild, removeChild, replaceChild, setControlsEnabled, setErrorFence, setErrorFence, setText, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CaptionedPanel(java.lang.String title, NodeContainer content)
title
- content
- public CaptionedPanel(NodeContainer title)
public CaptionedPanel(NodeContainer title, NodeContainer content)
public CaptionedPanel(NodeBase title, NodeContainer content)
title
- content
- public CaptionedPanel(java.lang.String title)
title
- public CaptionedPanel()
Method Detail |
---|
@OverridingMethodsMustInvokeSuper public void createContent() throws java.lang.Exception
createContent
in class NodeBase
java.lang.Exception
public NodeContainer getContent()
public NodeContainer getTitleContainer()
public void setTitle(java.lang.String txt)
setTitle
in class NodeBase
NodeBase.setTitle(java.lang.String)
public void setTitleContainer(NodeContainer c)
c
- public void setContentContainer(NodeContainer c)
c
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |