de.goerntkai.scot.app.document
Class FramesetComponent

java.lang.Object
  extended byde.goerntkai.scot.app.document.FramesetComponent
All Implemented Interfaces:
ISCoTComponent

public class FramesetComponent
extends java.lang.Object
implements ISCoTComponent

Represents a frameset definition, found in a FramesetDocument.

Author:
Kai Görnt

Constructor Summary
FramesetComponent(java.lang.String line)
          This constructor parses the frameset definition line.
 
Method Summary
 void addFrame(FrameComponent frame)
          Adds another frame to the definition.
 int getSize()
           TODO comment me TODO test me
 void setNoframes(NoframesComponent noframe)
          Sets the noframes definition.
 org.w3c.dom.Node toHTML(org.w3c.dom.Document doc)
          Returns the HTML representation of the element.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FramesetComponent

public FramesetComponent(java.lang.String line)
This constructor parses the frameset definition line.

Parameters:
line - the frameset definition
Method Detail

addFrame

public void addFrame(FrameComponent frame)
Adds another frame to the definition.

Parameters:
frame - the frame to add

setNoframes

public void setNoframes(NoframesComponent noframe)
Sets the noframes definition.

Parameters:
noframe - the new noframes definition

getSize

public int getSize()

TODO comment me TODO test me

Returns:
number of frames

toHTML

public org.w3c.dom.Node toHTML(org.w3c.dom.Document doc)
Returns the HTML representation of the element. Uses the parent document for creating the node.

Specified by:
toHTML in interface ISCoTComponent
Parameters:
doc - the parent document
Returns:
the HTML representation
See Also:
ISCoTComponent.toHTML(org.w3c.dom.Document)


© 2004 by Kai Görnt