Ontimize 5.2072EN

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

java.lang.Object
  extended byjavax.swing.text.AbstractDocument.AbstractElement
      extended byjavax.swing.text.AbstractDocument.BranchElement
          extended bycom.ontimize.util.rtf.style.RTFDocument.CellElement
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.CellElement
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
static int MARGIN_MIN
           
 
Fields inherited from interface javax.swing.text.AttributeSet
NameAttribute, ResolveAttribute
 
Constructor Summary
RTFDocument.CellElement(javax.swing.text.Element parent, javax.swing.text.AttributeSet attr, int[] paragraphOffsets, int[] paragraphLenghts, int width)
           
RTFDocument.CellElement(javax.swing.text.Element parent, javax.swing.text.AttributeSet attr, int startOffset, int length, int width, int height)
           
 
Method Summary
 int getHeight()
           
 java.awt.Insets getMargins()
           
 java.lang.String getName()
           
 int getWidth()
           
 void setBorders(BorderAttributes ba)
           
 void setHeight(int h)
           
 void setMargins(java.awt.Insets margins)
           
 void setMargins(int top, int left, int bottom, int right)
           
 void setWidth(int w)
           
 
Methods inherited from class javax.swing.text.AbstractDocument.BranchElement
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, 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
 

Field Detail

MARGIN_MIN

public static final int MARGIN_MIN
See Also:
Constant Field Values
Constructor Detail

RTFDocument.CellElement

public RTFDocument.CellElement(javax.swing.text.Element parent,
                               javax.swing.text.AttributeSet attr,
                               int startOffset,
                               int length,
                               int width,
                               int height)

RTFDocument.CellElement

public RTFDocument.CellElement(javax.swing.text.Element parent,
                               javax.swing.text.AttributeSet attr,
                               int[] paragraphOffsets,
                               int[] paragraphLenghts,
                               int width)
Method Detail

getName

public java.lang.String getName()

getWidth

public int getWidth()

setWidth

public void setWidth(int w)

getHeight

public int getHeight()

setHeight

public void setHeight(int h)

getMargins

public java.awt.Insets getMargins()

setMargins

public void setMargins(java.awt.Insets margins)

setMargins

public void setMargins(int top,
                       int left,
                       int bottom,
                       int right)

setBorders

public void setBorders(BorderAttributes ba)

Ontimize