| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| void | Draw
()
Draws a detail note item. Drawn notes will be removed upon the next regeneration. |
| void | Erase
()
Erases a detail note item. Erased notes will be shown again after the next regeneration. |
| DetailAttachment | GetAttachment
()
Gets attachment information of note. |
| /*optional*/ Double | GetElbowLength
()
Gets length of note leader elbow. |
| DetailNoteInstructions | GetInstructions
(boolean GiveParametersAsNames)
Returns a data object describing how a detail note item is constructed. |
| Envelope2D | GetLineEnvelope
(int LineNumber)
Returns the envelope of a line in the note, in screen coordinates. |
| Model | GetModelReference
(int LineNumber, int Index)
Returns the model referenced by parameterized text in a note. |
| /*optional*/ AnnotationTextStyle | GetNoteTextStyle
()
Gets textstyle of note. |
| /*optional*/ ModelItem | GetOwner
()
|
| /*optional*/ DetailSymbolDefItem | GetSymbolDef
()
Get method for attribute "SymbolDef" The symbol definition that the note belongs to, or null if the note does not belong to a symbol definition. |
| DetailTextLines | GetTextLines
(DetailTextDisplayOption TxtDisplayOption)
|
| /*optional*/ String | GetURL
()
Get URL as part of note text. Availble only for 3D notes |
| boolean | IsDisplayed
()
Checks if note data is displayed. This is useful for notes whose owner is not displayed in session |
| boolean | IsReadOnly
()
Checks if note is read-only. |
| void | KeepArrowTypeAsIs
(boolean ArrowType)
|
| void | Modify
(DetailNoteInstructions Instructions)
Modifies the definition of an existing detail note item. |
| void | Remove
()
Removes a detail note item. Removed notes will continue to be removed after the next regeneration. |
| void | SetDisplayed
(boolean Display)
Sets note data displayed. This is useful for notes whose owner is not displayed in session. |
| void | SetElbow
(
/*optional*/
Double Length,
/*optional*/
Vector3D Direction)
Set elbow to leader note. |
| void | SetFreeAttachment
(FreeAttachment Attachment)
Sets free attachment information of note. |
| void | SetLeaders
(LeaderAttachments LeaderAttachs)
Sets leader attachment information of note. |
| void | SetNoteTextStyle
(AnnotationTextStyle TextStyle)
Sets textstyle of note. |
| void | SetOffsetAttachment
(OffsetAttachment Attachment)
Sets offset attachment information of note. |
| void | SetOnItemAttachment
(ParametricAttachment Attachment)
Sets on item attachment information of note. |
| void | SetReadOnly
(boolean ReadOnly)
Sets note read-only. |
| void | SetTextLines
(DetailTextLines TextLines)
|
| void | SetURL
(String URLText)
Set URL as part of note text. Availble only for 3D notes |
| void | Show
()
Shows a note. Shown notes will continue to be shown after the next regeneration. |
| 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 |
| Methods Inherited from Interface com.ptc.pfc.pfcDetail.DetailItem |
|---|
| GetDetailType, Delete |
| Method Detail |
|---|
| GetSymbolDef |
|---|
| /*optional*/ DetailSymbolDefItem | GetSymbolDef | () |
The symbol definition that the note belongs to, or null if the note does not belong to a symbol definition.
|
| Draw |
|---|
| void | Draw | () |
| Draws a detail note item. Drawn notes will be removed upon the next regeneration. The drawing must be current to use this method.
|
| Show |
|---|
| void | Show | () |
| Shows a note. Shown notes will continue to be shown after the next regeneration. The drawing must be current to use this method. To show a note that is in a non-current model, use the DetailNoteInstructions attribute IsDisplayed, and regenerate the drawing.
|
| Erase |
|---|
| void | Erase | () |
| Erases a detail note item. Erased notes will be shown again after the next regeneration. The drawing must be current to use this method.
|
| Remove |
|---|
| void | Remove | () |
| Removes a detail note item. Removed notes will continue to be removed after the next regeneration.
The drawing must be current to use this method. To remove a note that is in a non-current model, use the DetailNoteInstructions attribute IsDisplayed, and regenerate the drawing.
|
| GetInstructions |
|---|
| DetailNoteInstructions | GetInstructions | (boolean GiveParametersAsNames) |
Returns a data object describing how a detail note item is constructed.
|
| Modify |
|---|
| void | Modify | (DetailNoteInstructions Instructions) |
Modifies the definition of an existing detail note item.
|
| GetTextLines |
|---|
| DetailTextLines | GetTextLines | (DetailTextDisplayOption TxtDisplayOption) |
| Exceptions thrown (but not limited to): XToolkitOutOfMemory - Not enough memory. XToolkitNotFound - No text lines were found.
|
| SetTextLines |
|---|
| void | SetTextLines | (DetailTextLines TextLines) |
| Exceptions thrown (but not limited to): XToolkitBadContext - The note text cannot be varied. XToolkitOutOfMemory - Not enough memory.
|
| SetDisplayed |
|---|
| void | SetDisplayed | (boolean Display) |
Sets note data displayed. This is useful for notes whose owner is not displayed in session.
|
| IsDisplayed |
|---|
| boolean | IsDisplayed | () |
Checks if note data is displayed. This is useful for notes whose owner is not displayed in session
|
| IsReadOnly |
|---|
| boolean | IsReadOnly | () |
Checks if note is read-only.
|
| SetReadOnly |
|---|
| void | SetReadOnly | (boolean ReadOnly) |
Sets note read-only.
|
| GetAttachment |
|---|
| DetailAttachment | GetAttachment | () |
| Gets attachment information of note. Exceptions thrown (but not limited to): XToolkitOutOfMemory - Not enough memory. XToolkitNotFound - No leaders were found.
|
| SetFreeAttachment |
|---|
| void | SetFreeAttachment | (FreeAttachment Attachment) |
Sets free attachment information of note.
|
| SetOffsetAttachment |
|---|
| void | SetOffsetAttachment | (OffsetAttachment Attachment) |
Sets offset attachment information of note.
|
| SetOnItemAttachment |
|---|
| void | SetOnItemAttachment | (ParametricAttachment Attachment) |
Sets on item attachment information of note.
|
| SetLeaders |
|---|
| void | SetLeaders | (LeaderAttachments LeaderAttachs) |
| Sets leader attachment information of note. Exceptions thrown (but not limited to): XToolkitOutOfMemory - Not enough memory.
|
| SetElbow |
|---|
| void | SetElbow | ( /*optional*/ Double Length, /*optional*/ Vector3D Direction) |
Set elbow to leader note.
|
| GetElbowLength |
|---|
| /*optional*/ Double | GetElbowLength | () |
Gets length of note leader elbow.
|
| GetNoteTextStyle |
|---|
| /*optional*/ AnnotationTextStyle | GetNoteTextStyle | () |
Gets textstyle of note.
|
| SetNoteTextStyle |
|---|
| void | SetNoteTextStyle | (AnnotationTextStyle TextStyle) |
Sets textstyle of note.
|
| GetLineEnvelope |
|---|
| Envelope2D | GetLineEnvelope | (int LineNumber) |
| Returns the envelope of a line in the note, in screen coordinates.
Exceptions thrown (but not limited to): XToolkitEmpty - The note is a blank string.
|
| GetModelReference |
|---|
| Model | GetModelReference | (int LineNumber, int Index) |
Returns the model referenced by parameterized text in a note.
|
| SetURL |
|---|
| void | SetURL | (String URLText) |
| Set URL as part of note text. Availble only for 3D notes Exceptions thrown (but not limited to): XToolkitCantWrite - Could not modify the given item because it has read-only access.
|
| GetURL |
|---|
| /*optional*/ String | GetURL | () |
Get URL as part of note text. Availble only for 3D notes
|
| GetOwner |
|---|
| /*optional*/ ModelItem | GetOwner | () |
|
| KeepArrowTypeAsIs |
|---|
| void | KeepArrowTypeAsIs | (boolean ArrowType) |
|