java.lang.Object
com.voytechs.html.component.Component
com.voytechs.html.component.TableComponent
- Direct Known Subclasses:
- TableCaption, TableColumnHeader, TableData
- public abstract class TableComponent
- extends Component
Base class for all form elements.
| Methods inherited from class com.voytechs.html.component.Component |
areFlagsSet, clearFlags, getParent, getRootFrame, getUriPath, setFlags, setParent, show, show, toStringPrefix, toStringPrefixCap, toStringPrefixTee |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
child
private Component child
- A single child component. Ignored if null.
TableComponent
public TableComponent()
init
protected void init(Frame root,
com.voytechs.html.event.HtmlDispatcher dispatcher)
throws com.voytechs.html.event.EventException
- Function that initializes the object relationships. Late bindings, adding delayed
listeners, etc. Called after the full component tree is built.
- Overrides:
init in class Component
addChild
protected void addChild(Component child)
- Add a child component to the list of children to manage.
Components are displayed in the order they were added.
paint
protected void paint(com.voytechs.html.io.HtmlWriter htmlOut)
throws java.io.IOException
- Calls the paint method for all is children components.
- Specified by:
paint in class Component
paintChild
protected void paintChild(com.voytechs.html.io.HtmlWriter htmlOut)
throws java.io.IOException
- Calls the paint method for all its children conponents.
toStringTree
public java.lang.String toStringTree(java.lang.String prefix)
- A debuging function to print out the component tree.
- Overrides:
toStringTree in class Component
main
public static void main(java.lang.String[] args)
- Test function for TableComponent