Library | Package Java Toolkit

Interface TableOwner

package com.ptc.pfc.pfcTable;

public interface TableOwner
  extends jxobject



Description

This interface represents a Creo Parametric model that can contain tables.
See Also:
Model2D
Direct Known Subclasses:
Model2D



Method Summary
TableCreateTable (TableCreateInstructions Instructions)
    Creates a table in the model.
voidDeleteTable (Table Table, /*optional*/ Boolean Repaint)
    Deletes a table from the model.
/*optional*/ TableGetTable (int Id)
    Gets a table in the model, given its identifier.
TablesListTables ()
    Lists the tables in the model.
TableRetrieveTable (TableRetrieveInstructions Instructions)
    Retrieves a table from a file on disk.This method always place table's top left corner at a point sepcified by instruction.
TableRetrieveTableByOrigin (TableRetrieveInstructions Instructions)
    Retrieves a table from a file on disk. This method place table's origin at a point sepcified by instructions.
voidUpdateTables ()
    Updates all drawing tables.

Method Detail

ListTables

TablesListTables ()


    Lists the tables in the model.

Exceptions thrown (but not limited to):

XToolkitNotFound - No tables were found.


Manual References:
Drawings: Drawing Tables Information, Drawings: Drawing Tables Information
Returns:
Sequence of tables found in the model.


GetTable

/*optional*/ TableGetTable (int Id)


    Gets a table in the model, given its identifier.
Manual References:
Drawings: Drawing Tables Information, Drawings: Drawing Tables Information
Parameters:
Id
The table identifier.
Returns:
The table, or null, if the table was not found.


CreateTable

TableCreateTable (TableCreateInstructions Instructions)


    Creates a table in the model.

Exceptions thrown (but not limited to):

<reference 6 to unknown entity pfcExceptions::pfcXInAMethod>


See Also:
pfcTable.TableCreateInstructions_Create(Point3D)
Manual References:
Drawings: Creating Drawing Tables
Parameters:
Instructions
Data object containing information on the table to create.
Returns:
The created table.


RetrieveTable

TableRetrieveTable (TableRetrieveInstructions Instructions)


    Retrieves a table from a file on disk.This method always place table's top left corner at a point sepcified by instruction.
See Also:
pfcTable.TableRetrieveInstructions_Create(String, Point3D)
Manual References:
Drawings: Retrieving Drawing Tables, Drawings: Retrieving Drawing Tables
Parameters:
Instructions
Data object containing details about the table to be retrieved.
Returns:
The created table.


RetrieveTableByOrigin

TableRetrieveTableByOrigin (TableRetrieveInstructions Instructions)


    Retrieves a table from a file on disk. This method place table's origin at a point sepcified by instructions.
See Also:
pfcTable.TableRetrieveInstructions_Create(String, Point3D)
Manual References:
Drawings: Retrieving Drawing Tables
Parameters:
Instructions
Data object containing details about the table to be retrieved.
Returns:
The created table.


UpdateTables

voidUpdateTables ()


    Updates all drawing tables.
Manual References:
Drawings: Repeat Regions
Returns:


DeleteTable

voidDeleteTable (Table Table, /*optional*/ Boolean Repaint)


    Deletes a table from the model.

Exceptions thrown (but not limited to):

XToolkitNotExist - The specified table_id does not exist.


Manual References:
Drawings: Drawing Tables Operations, Drawings: Drawing Tables Operations
Parameters:
Table
The table to delete.
Repaint
true to repaint the drawing with the changes, false or null to delay the repaint.
Returns: