com.ontimize.util.rtf.style
Class RTFDocument.CellElement
java.lang.Object
javax.swing.text.AbstractDocument.AbstractElement
javax.swing.text.AbstractDocument.BranchElement
com.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 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 |
| 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)
|
| 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 |
MARGIN_MIN
public static final int MARGIN_MIN
- See Also:
- Constant Field Values
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)
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)