Ontimize 5.2072EN

com.ontimize.util.rtf.style
Class RTFDocument.TableElement

java.lang.Object
  extended byjavax.swing.text.AbstractDocument.AbstractElement
      extended byjavax.swing.text.AbstractDocument.BranchElement
          extended bycom.ontimize.util.rtf.style.RTFDocument.TableElement
All Implemented Interfaces:
javax.swing.text.AttributeSet, javax.swing.text.Element, javax.swing.text.MutableAttributeSet, java.io.Serializable, javax.swing.tree.TreeNode
Enclosing class:
RTFDocument

public class RTFDocument.TableElement
extends javax.swing.text.AbstractDocument.BranchElement

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.text.AttributeSet
javax.swing.text.AttributeSet.CharacterAttribute, javax.swing.text.AttributeSet.ColorAttribute, javax.swing.text.AttributeSet.FontAttribute, javax.swing.text.AttributeSet.ParagraphAttribute
 
Field Summary
 
Fields inherited from interface javax.swing.text.AttributeSet
NameAttribute, ResolveAttribute
 
Constructor Summary
RTFDocument.TableElement(int[] rowOffsets, int[] rowLengths, javax.swing.text.Element parent, javax.swing.text.AttributeSet attr, int rowCount, int colCount, int[] widths, int[] heights)
           
 
Method Summary
 int getHeight()
           
 java.lang.String getName()
           
 int getWidth()
           
 boolean isLeaf()
           
 void setAlignment(int align)
           
 void setBorders(BorderAttributes ba)
           
 void setMargins(java.awt.Insets margins)
           
 
Methods inherited from class javax.swing.text.AbstractDocument.BranchElement
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, positionToElement, replace, toString
 
Methods inherited from class javax.swing.text.AbstractDocument.AbstractElement
addAttribute, addAttributes, containsAttribute, containsAttributes, copyAttributes, dump, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, getResolveParent, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RTFDocument.TableElement

public RTFDocument.TableElement(int[] rowOffsets,
                                int[] rowLengths,
                                javax.swing.text.Element parent,
                                javax.swing.text.AttributeSet attr,
                                int rowCount,
                                int colCount,
                                int[] widths,
                                int[] heights)
Method Detail

getName

public java.lang.String getName()

getWidth

public int getWidth()

getHeight

public int getHeight()

isLeaf

public boolean isLeaf()

setBorders

public void setBorders(BorderAttributes ba)

setMargins

public void setMargins(java.awt.Insets margins)

setAlignment

public void setAlignment(int align)

Ontimize