com.groiss.gui.component
Class DivComponent

java.lang.Object
  extended by com.groiss.gui.AbstractComponent
      extended by com.groiss.gui.AbstractContainer
          extended by com.groiss.gui.component.DivComponent
All Implemented Interfaces:
Component, Container, java.io.Serializable, java.lang.Cloneable

public class DivComponent
extends AbstractContainer

A HTML div element.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.groiss.gui.AbstractContainer
components
 
Fields inherited from class com.groiss.gui.AbstractComponent
actions, ACTIVE, browserMode, DEFAULT, ID, IE, INVISIBLE, isSensitive, label, NS, ON_BLUR, ON_CHANGE, ON_CLICK, ON_DBLCLICK, ON_FOCUS, ON_KEY_DOWN, ON_KEY_PRESS, ON_KEY_UP, ON_LOAD, ON_MOUSE_DOWN, ON_MOUSE_MOVE, ON_MOUSE_OUT, ON_MOUSE_UP, ON_RESET, ON_SELECT, ON_SUBMIT, ON_UNLOAD, outputter, parent, parentElem, READONLY, root, viewMode
 
Constructor Summary
DivComponent()
          Constructs a new div.
DivComponent(java.lang.String id)
          Constructs a new div with id.
DivComponent(java.lang.String name, java.lang.Object content)
           
 
Method Summary
 java.lang.Object getContent()
           
 
Methods inherited from class com.groiss.gui.AbstractContainer
add, get, getAll, getAll, getAllDeep, getByName, getComponents, getWithParent, init, remove, setBrowserMode, substitute
 
Methods inherited from class com.groiss.gui.AbstractComponent
clone, create, getActionListener, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, removeAttribute, setActionListener, setAttribute, setContent, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.groiss.gui.Component
clone, getActionListener, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getStyle, getViewMode, init, removeAttribute, setActionListener, setAttribute, setContent, setId, setLabel, setName, setParent, setParentElement, setStyle, setViewMode, show, show, toString
 

Constructor Detail

DivComponent

public DivComponent()
Constructs a new div.


DivComponent

public DivComponent(java.lang.String id)
Constructs a new div with id.

Parameters:
id - the id attribute

DivComponent

public DivComponent(java.lang.String name,
                    java.lang.Object content)
Method Detail

getContent

public java.lang.Object getContent()
Specified by:
getContent in interface Component
Overrides:
getContent in class AbstractComponent
Returns:
the content object of the component


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.