public final class TableCell extends TextBox
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_HEIGHT |
protected static int |
DEFAULT_WIDTH |
_frc, _txtbox, _txtrun, AlignCenter, AlignJustify, AlignLeft, AlignRight, AnchorBottom, AnchorBottomBaseline, AnchorBottomCentered, AnchorBottomCenteredBaseline, AnchorMiddle, AnchorMiddleCentered, AnchorTop, AnchorTopBaseline, AnchorTopCentered, AnchorTopCenteredBaseline, WrapByPoints, WrapNone, WrapSquare, WrapThrough, WrapTopBottom
_clientData, _clientRecords, DEFAULT_LINE_WIDTH
_escherContainer, _fill, _parent, _sheet, EMU_PER_CENTIMETER, EMU_PER_INCH, EMU_PER_POINT, logger, MASTER_DPI, PIXEL_DPI, POINT_DPI
Modifier | Constructor and Description |
---|---|
protected |
TableCell(EscherContainerRecord escherRecord,
Shape parent)
Create a TableCell object and initialize it from the supplied Record container.
|
|
TableCell(Shape parent)
Create a new TableCell.
|
Modifier and Type | Method and Description |
---|---|
protected void |
anchorBorder(int type,
Line line) |
protected EscherContainerRecord |
createSpContainer(boolean isChild)
Create a new TextBox and initialize its internal structures
|
Line |
getBorderBottom() |
Line |
getBorderLeft() |
Line |
getBorderRight() |
Line |
getBorderTop() |
void |
setAnchor(java.awt.Rectangle anchor) |
void |
setBorderBottom(Line line) |
void |
setBorderLeft(Line line) |
void |
setBorderRight(Line line) |
void |
setBorderTop(Line line) |
setDefaultTextProperties
afterInsert, createTextRun, draw, getEscherTextboxWrapper, getHorizontalAlignment, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPlaceholderAtom, getText, getTextId, getTextRun, getVerticalAlignment, getWordWrap, initTextRun, resizeToFitText, setHorizontalAlignment, setHyperlink, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setSheet, setText, setTextId, setVerticalAlignment, setWordWrap
getClientDataRecord, getClientRecords, getFillColor, getFlipHorizontal, getFlipVertical, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, getRotation, setFillColor, setHyperlink, setLineColor, setLineDashing, setLineStyle, setLineWidth, setRotation, updateClientData
getAnchor, getAnchor2D, getEscherChild, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getHyperlink, getOutline, getParent, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setShapeId, setShapeType
protected static final int DEFAULT_WIDTH
protected static final int DEFAULT_HEIGHT
protected TableCell(EscherContainerRecord escherRecord, Shape parent)
escherRecord
- EscherSpContainer
container which holds information about this shapeparent
- the parent of the shapepublic TableCell(Shape parent)
parent
- the parent of this Shape. For example, if this text box is a cell
in a table then the parent is Table.protected EscherContainerRecord createSpContainer(boolean isChild)
TextBox
createSpContainer
in class TextBox
isChild
- true
if the Line is inside a group, false
otherwiseEscherContainerRecord
which holds shape dataprotected void anchorBorder(int type, Line line)
public Line getBorderLeft()
public void setBorderLeft(Line line)
public Line getBorderRight()
public void setBorderRight(Line line)
public Line getBorderTop()
public void setBorderTop(Line line)
public Line getBorderBottom()
public void setBorderBottom(Line line)
public void setAnchor(java.awt.Rectangle anchor)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.