public interface AnnotationBuilder extends ConnectableElementBuilder
AnnotationCollection.createAnnotationBuilder(nxopen.diagramming.Annotation)
Modifier and Type | Interface and Description |
---|---|
static class |
AnnotationBuilder.TextTypeOption
Represents the option
textType()
for a AnnotationBuilder . |
SheetElementBuilder.AllowedTransformationsData, SheetElementBuilder.ResizeOptionType
Modifier and Type | Method and Description |
---|---|
boolean |
boundaryDisplay()
Returns the visibility of boundary.
|
DiagrammingAnnotationboundarytype |
boundaryType()
Returns the boundary type of the annotation
License requirements: None. |
FormattedStringBuilder |
formattedStringBuilder()
Returns the formatted string of the text.
|
void |
setBoundaryDisplay(boolean boundaryDisplay)
License requirements: None. |
void |
setBoundaryType(DiagrammingAnnotationboundarytype boundaryType)
License requirements: None. |
void |
setText(String strValue)
License requirements: None. |
void |
setTextType(AnnotationBuilder.TextTypeOption textType)
License requirements: None. |
String |
text()
Returns the text should be used only when textType is Diagramming.AnnotationBuilder.TextTypeOption.Fixed
License requirements: None. |
TextStyleBuilder |
textStyleBuilder()
Returns the text style of the annotation.
|
AnnotationBuilder.TextTypeOption |
textType()
Returns the text type.
|
getAllPorts, getPorts
getAllowedTransformations, getMinNodeSize, height, heightPolicy, internal, label, labelName, location, locationStyle, mirrorX, mirrorY, owner, owningSheet, resizeOption, rotation, setHeight, setHeightPolicy, setLabelName, setLocationStyle, setMinNodeSize, setMirrorX, setMirrorY, setOwner, setOwningSheet, setResizeOption, setRotation, setWidth, setWidthPolicy, setX, setY, setZDepth, sourceElement, upToDate, visible, width, widthPolicy, x, y, zdepth
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
FormattedStringBuilder formattedStringBuilder() throws NXException, RemoteException
NXException
RemoteException
TextStyleBuilder textStyleBuilder() throws NXException, RemoteException
NXException
RemoteException
String text() throws NXException, RemoteException
NXException
RemoteException
void setText(String strValue) throws NXException, RemoteException
strValue
- NXException
RemoteException
AnnotationBuilder.TextTypeOption textType() throws NXException, RemoteException
AnnotationBuilder.TextTypeOption.FIXED
, the text
of annotation is stored in AnnotationBuilder
.
If AnnotationBuilder.TextTypeOption.PARAMETRIC
, the text
of annotation is stored in formattedStringBuilder()
.
NXException
RemoteException
void setTextType(AnnotationBuilder.TextTypeOption textType) throws NXException, RemoteException
textType
- NXException
RemoteException
DiagrammingAnnotationboundarytype boundaryType() throws NXException, RemoteException
NXException
RemoteException
void setBoundaryType(DiagrammingAnnotationboundarytype boundaryType) throws NXException, RemoteException
boundaryType
- NXException
RemoteException
boolean boundaryDisplay() throws NXException, RemoteException
NXException
RemoteException
void setBoundaryDisplay(boolean boundaryDisplay) throws NXException, RemoteException
boundaryDisplay
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.