| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| boolean | CheckIfIsFromFormat
(int SheetNumber)
Identifies if the drawing table was created by the format. |
| void | DeleteColumn
(int Column,
/*optional*/
Boolean Repaint)
Deletes a column in the table. |
| void | DeleteRow
(int Row,
/*optional*/
Boolean Repaint)
Deletes a row in the table. |
| void | Display
()
Displays the table, if it has been erased. |
| void | Erase
()
Erases the table. |
| /*optional*/ ComponentPath | GetCellComponentModel
(TableCell Cell)
Returns the component model referred to by a cell in a repeat region of a table. This function will not return a valid result if the cell has the attribute "NO DUPLICATE" or "NO DUPLICATE/LEVEL" as there is no unique path available. In that case use the functions Table.GetCellTopModel(TableCell) (for Top level model) or Table.GetCellReferenceModel(TableCell). |
| /*optional*/ ModelItem | GetCellNote
(TableCell Cell)
Returns the detail note contained in the table cell. |
| /*optional*/ Model | GetCellReferenceModel
(TableCell Cell)
Returns the reference component referred to by this cell in a repeat region drawing table. Differs from Table.GetCellComponentModel(TableCell) in that this function will return the reference object if the cell attribute is set to "NO DUPLICATE" or "NO DUPLICATE/LEVEL". |
| /*optional*/ Assembly | GetCellTopModel
(TableCell Cell)
Returns the top model referred to by this cell in a repeat region drawing table. Differs from Table.GetCellComponentModel(TableCell) in that this function will return the object if the cell attribute is set to "NO DUPLICATE" or "NO DUPLICATE/LEVEL". |
| int | GetColumnCount
()
Returns the number of columns in the table. |
| double | GetColumnSize
(int SegmentId, int Column)
Returns the width of the drawing table column. |
| TableInfo | GetInfo
(int SegmentId)
Returns information about the drawing table. |
| int | GetRowCount
()
Returns the number of rows in the table. |
| double | GetRowSize
(int SegmentId, int Row)
Returns the height of the row. |
| int | GetSegmentCount
()
Returns the number of segments in the table. |
| int | GetSegmentSheet
(int SegmentNumber)
Returns the sheet where a particuar table segment lies. |
| stringseq | GetText
(TableCell Cell, ParamMode Mode)
Returns the text in a drawing table cell. |
| void | InsertColumn
(double Width,
/*optional*/
Integer InsertAfterColumn,
/*optional*/
Boolean Repaint)
Inserts a column in the drawing table. |
| void | InsertRow
(double Height,
/*optional*/
Integer InsertAfterRow,
/*optional*/
Boolean Repaint)
Inserts a new row into the table. |
| boolean | IsCommentCell
(TableCell Cell)
Determines if a table cell is a comment cell in a repeat region. |
| void | MergeRegion
(TableCell UpperLeft, TableCell LowerRight,
/*optional*/
Boolean Repaint)
Merges a rectangular section of table cells. |
| void | MoveSegment
(int SegmentNumber, Point3D NewPosition,
/*optional*/
Boolean Repaint)
Moves a segment of the table. |
| void | RotateClockwise
(RotationDegree Rotation,
/*optional*/
Boolean Repaint)
Rotates a table clockwise. |
| void | SetText
(TableCell Cell, stringseq Lines)
Sets the text in the table cell. |
| void | SubdivideRegion
(TableCell UpperLeft, TableCell LowerRight,
/*optional*/
Boolean Repaint)
Removes all merges in the specified region of previously merged cells. |
| Methods Inherited from Interface com.ptc.pfc.pfcObject.Child |
|---|
| GetDBParent, GetOId |
| Methods Inherited from Interface com.ptc.pfc.pfcBase.ActionSource |
|---|
| AddActionListener, RemoveActionListener, AddActionListenerWithType |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.RelationOwner |
|---|
| DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression |
| Methods Inherited from Interface com.ptc.pfc.pfcObject.Parent |
|---|
| GetChild |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ParameterOwner |
|---|
| GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ModelItem |
|---|
| GetName, SetName, GetId, GetType |
| Method Detail |
|---|
| GetRowCount |
|---|
| int | GetRowCount | () |
| Returns the number of rows in the table.
Exceptions thrown (but not limited to): XToolkitNotExist - The specified table or drawing does not exist.
|
| GetColumnCount |
|---|
| int | GetColumnCount | () |
| Returns the number of columns in the table.
Exceptions thrown (but not limited to): XToolkitNotExist - The specified table or drawing does not exist.
|
| Display |
|---|
| void | Display | () |
Displays the table, if it has been erased.
|
| Erase |
|---|
| void | Erase | () |
Erases the table.
|
| RotateClockwise |
|---|
| void | RotateClockwise | (RotationDegree Rotation, /*optional*/ Boolean Repaint) |
Rotates a table clockwise.
|
| CheckIfIsFromFormat |
|---|
| boolean | CheckIfIsFromFormat | (int SheetNumber) |
| Identifies if the drawing table was created by the format.
SheetNumber is ignored in this method.
|
| GetInfo |
|---|
| TableInfo | GetInfo | (int SegmentId) |
Returns information about the drawing table.
|
| InsertRow |
|---|
| void | InsertRow | (double Height, /*optional*/ Integer InsertAfterRow, /*optional*/ Boolean Repaint) |
Inserts a new row into the table.
|
| InsertColumn |
|---|
| void | InsertColumn | (double Width, /*optional*/ Integer InsertAfterColumn, /*optional*/ Boolean Repaint) |
Inserts a column in the drawing table.
|
| GetRowSize |
|---|
| double | GetRowSize | (int SegmentId, int Row) |
Returns the height of the row.
|
| GetColumnSize |
|---|
| double | GetColumnSize | (int SegmentId, int Column) |
Returns the width of the drawing table column.
|
| MergeRegion |
|---|
| void | MergeRegion | (TableCell UpperLeft, TableCell LowerRight, /*optional*/ Boolean Repaint) |
Merges a rectangular section of table cells.
|
| SubdivideRegion |
|---|
| void | SubdivideRegion | (TableCell UpperLeft, TableCell LowerRight, /*optional*/ Boolean Repaint) |
Removes all merges in the specified region of previously merged cells.
|
| DeleteRow |
|---|
| void | DeleteRow | (int Row, /*optional*/ Boolean Repaint) |
Deletes a row in the table.
|
| DeleteColumn |
|---|
| void | DeleteColumn | (int Column, /*optional*/ Boolean Repaint) |
Deletes a column in the table.
|
| GetSegmentCount |
|---|
| int | GetSegmentCount | () |
Returns the number of segments in the table.
|
| GetSegmentSheet |
|---|
| int | GetSegmentSheet | (int SegmentNumber) |
| Returns the sheet where a particuar table segment lies.
Exceptions thrown (but not limited to): XToolkitBadContext - A -1 segment ID was used for a multiple segment table.
|
| MoveSegment |
|---|
| void | MoveSegment | (int SegmentNumber, Point3D NewPosition, /*optional*/ Boolean Repaint) |
| Moves a segment of the table.
Exceptions thrown (but not limited to): XToolkitBadContext - A -1 segment ID was used for a multiple segment table.
|
| SetText |
|---|
| void | SetText | (TableCell Cell, stringseq Lines) |
| Sets the text in the table cell.
Exceptions thrown (but not limited to): XToolkitBadContext - A -1 segment ID was used for a multiple segment table.
|
| IsCommentCell |
|---|
| boolean | IsCommentCell | (TableCell Cell) |
Determines if a table cell is a comment cell in a repeat region.
|
| GetText |
|---|
| stringseq | GetText | (TableCell Cell, ParamMode Mode) |
| Returns the text in a drawing table cell.
If no text is found in the table cell, this method will throw a XToolkitGeneralError exception.
|
| GetCellComponentModel |
|---|
| /*optional*/ ComponentPath | GetCellComponentModel | (TableCell Cell) |
| Returns the component model referred to by a cell in a
repeat region of a table. This function will not return a valid result if
the cell has the attribute "NO DUPLICATE" or "NO DUPLICATE/LEVEL"
as there is no unique path available. In that case use the functions
Table.GetCellTopModel(TableCell) (for Top level model)
or Table.GetCellReferenceModel(TableCell).
Exceptions thrown (but not limited to): XToolkitNotFound - The table cell does not contain a reference to a component model.
|
| GetCellNote |
|---|
| /*optional*/ ModelItem | GetCellNote | (TableCell Cell) |
| Returns the detail note contained in the table cell.
Exceptions thrown (but not limited to): XToolkitEmpty - The cell is empty.
|
| GetCellTopModel |
|---|
| /*optional*/ Assembly | GetCellTopModel | (TableCell Cell) |
| Returns the top model referred to by this
cell in a repeat region drawing table. Differs from
Table.GetCellComponentModel(TableCell)
in that this function will return the object if the cell attribute
is set to "NO DUPLICATE" or "NO DUPLICATE/LEVEL".
Exceptions thrown (but not limited to): XToolkitNotFound - The cell does not have an associated model.
|
| GetCellReferenceModel |
|---|
| /*optional*/ Model | GetCellReferenceModel | (TableCell Cell) |
| Returns the reference component referred to by this
cell in a repeat region drawing table. Differs from
Table.GetCellComponentModel(TableCell)
in that this function will return the reference object if the cell attribute
is set to "NO DUPLICATE" or "NO DUPLICATE/LEVEL".
Exceptions thrown (but not limited to): XToolkitNotFound - The cell does not have an associated model.
|