public class RTFDocument.CellElement extends AbstractDocument.BranchElement
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute| Modifier and Type | Field and Description |
|---|---|
static int |
MARGIN_MIN |
NameAttribute, ResolveAttribute| Constructor and Description |
|---|
RTFDocument.CellElement(Element parent,
AttributeSet attr,
int[] paragraphOffsets,
int[] paragraphLenghts,
int width) |
RTFDocument.CellElement(Element parent,
AttributeSet attr,
int startOffset,
int length,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
Insets |
getMargins() |
String |
getName() |
int |
getWidth() |
void |
setBorders(BorderAttributes ba) |
void |
setHeight(int h) |
void |
setMargins(Insets margins) |
void |
setMargins(int top,
int left,
int bottom,
int right) |
void |
setWidth(int w) |
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, positionToElement, replace, toStringaddAttribute, addAttributes, containsAttribute, containsAttributes, copyAttributes, dump, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, getResolveParent, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParentpublic static final int MARGIN_MIN
public RTFDocument.CellElement(Element parent, AttributeSet attr, int startOffset, int length, int width, int height)
public RTFDocument.CellElement(Element parent, AttributeSet attr, int[] paragraphOffsets, int[] paragraphLenghts, int width)
public String getName()
getName in interface ElementgetName in class AbstractDocument.BranchElementpublic int getWidth()
public void setWidth(int w)
public int getHeight()
public void setHeight(int h)
public Insets getMargins()
public void setMargins(Insets margins)
public void setMargins(int top,
int left,
int bottom,
int right)
public void setBorders(BorderAttributes ba)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.