objectivehtml.htmlwidget
Class HtmlUnrestrictedContainerWidget
java.lang.Object
|
+--objectivehtml.oms.OMSObject
|
+--objectivehtml.htmlwidget.HtmlElement
|
+--objectivehtml.htmlwidget.HtmlWidget
|
+--objectivehtml.htmlwidget.HtmlContainerWidget
|
+--objectivehtml.htmlwidget.HtmlUnrestrictedContainerWidget
- Direct Known Subclasses:
- HtmlDiv, HtmlForm, HtmlParagraph, HtmlTag
- public abstract class HtmlUnrestrictedContainerWidget
- extends HtmlContainerWidget
The base class of all container that don't require the restrictions of the
HtmlContainerWidget class.
- See Also:
HtmlUnrestrictedContainerWidget
Method Summary |
void |
appendChild(HtmlWidget objHtmlWidget)
Overrides the access level to make this method public. |
void |
destroy()
Overrides the access level to make this method public. |
void |
insertChild(HtmlWidget objHtmlWidget,
int nPosition)
Overrides the access level to make this method public. |
void |
setVisible(boolean bVisible)
Sets the visibility of this object. |
Methods inherited from class objectivehtml.htmlwidget.HtmlContainerWidget |
addHtmlWidget, generateUpdateOrder, getChildrenCount, getChildrenWidgets, getChildWidget, getText, indexOfChildWidget, insertHtmlWidget, isAutoEscape, isChildWidget, isValidChildWidget, printHtml, printHtml, removeHtmlWidget, setAttribute, setAutoEscape, setBooleanAttribute, setText, swapHtmlWidgets |
Methods inherited from class objectivehtml.htmlwidget.HtmlWidget |
changeParent, changeParent, getClassAttribute, getHtmlForm, getID, getOnClick, getOnDblClick, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getParent, getStyle, isDestroyed, isVisible, setClassAttribute, setID, setOnClick, setOnDblClick, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setStyle |
Methods inherited from class objectivehtml.htmlwidget.HtmlElement |
genEndTag, genStartTag, genStartTag, getAttribute, getAttributes, getBooleanAttribute, getQuoteType, printHtml, printHtml, printHtml, printHtml, printHtml, printHtml, setAttribute, setBooleanAttribute, setQuoteType, toString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HtmlUnrestrictedContainerWidget
public HtmlUnrestrictedContainerWidget(HtmlContainerWidget objParent)
throws InvalidParentWidgetException,
InvalidChildWidgetException
- Constructs an instance of HtmlUnrestrictedContainerWidget object with objParent as its parent.
- Parameters:
objParent
- the parent of this widget- Throws:
InvalidParentWidgetException
- if the specified parent widget is not validInvalidChildWidgetException
- if the parent widget does not accept this widget as a child
HtmlUnrestrictedContainerWidget
public HtmlUnrestrictedContainerWidget()
- Constructs an instance of the HtmlUnrestrictedContainerWidget object with no parent. This
constructor is used by the HtmlForm class.
- See Also:
HtmlForm
setVisible
public void setVisible(boolean bVisible)
- Sets the visibility of this object.
Overrides protected method to be public.
- Overrides:
setVisible
in class HtmlContainerWidget
- Parameters:
bVisible
- true if visible, false otherwise
appendChild
public void appendChild(HtmlWidget objHtmlWidget)
throws NotEqualsHtmlFormException,
InvalidChildWidgetException
- Overrides the access level to make this method public.
- Overrides:
appendChild
in class HtmlContainerWidget
- Parameters:
objHtmlWidget
- the widget to add
insertChild
public void insertChild(HtmlWidget objHtmlWidget,
int nPosition)
throws NotEqualsHtmlFormException,
InvalidChildWidgetException
- Overrides the access level to make this method public.
- Overrides:
insertChild
in class HtmlContainerWidget
- Parameters:
objHtmlWidget
- the widget to insertnPosition
- the position where the widget is to inserted
destroy
public void destroy()
- Overrides the access level to make this method public.
- Overrides:
destroy
in class HtmlContainerWidget
- Following copied from class:
objectivehtml.htmlwidget.HtmlWidget
- See Also:
HtmlWidget.isDestroyed()