public interface PortBuilder extends SheetElementBuilder
PortCollection.createPortBuilder(nxopen.diagramming.Port)
Modifier and Type | Interface and Description |
---|---|
static class |
PortBuilder.AllowedParentSidesData
This class holds the data returned from
getAllowedParentSides() |
SheetElementBuilder.AllowedTransformationsData, SheetElementBuilder.ResizeOptionType
Modifier and Type | Method and Description |
---|---|
boolean |
canAnotherConnectionBeAdded()
Get whether another connection can be added or not.
|
Direction |
direction()
Returns the direction of the port.
|
PortBuilder.AllowedParentSidesData |
getAllowedParentSides()
Get allowed parent sides.
|
Connection[] |
getConnections()
Get associated connections.
|
ConnectableElement |
getOwningConnectableElement()
Get the owner connectable element.
|
boolean |
isNumberOfConnectionInfinite()
Get if the number of connections to reference is infinite.
|
int |
numberAllowedConnections()
Returns the maximum number of allowed connections the port may reference.
|
boolean |
pinned()
Returns the flag that indicates the port is pinned.
|
Port |
proxy()
Returns the proxy port for the port inside the super node.
|
void |
setDirection(Direction direction)
License requirements: None. |
void |
setNumberAllowedConnections(int numberAllowedConnections)
License requirements: None. |
void |
setPinned(boolean isPinned)
License requirements: None. |
void |
setProxy(Port proxy)
License requirements: None. |
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
Direction direction() throws NXException, RemoteException
NXException
RemoteException
void setDirection(Direction direction) throws NXException, RemoteException
direction
- NXException
RemoteException
int numberAllowedConnections() throws NXException, RemoteException
NXException
RemoteException
void setNumberAllowedConnections(int numberAllowedConnections) throws NXException, RemoteException
numberAllowedConnections
- NXException
RemoteException
boolean pinned() throws NXException, RemoteException
NXException
RemoteException
void setPinned(boolean isPinned) throws NXException, RemoteException
isPinned
- NXException
RemoteException
Port proxy() throws NXException, RemoteException
NXException
RemoteException
void setProxy(Port proxy) throws NXException, RemoteException
proxy
- NXException
RemoteException
PortBuilder.AllowedParentSidesData getAllowedParentSides() throws NXException, RemoteException
NXException
RemoteException
boolean canAnotherConnectionBeAdded() throws NXException, RemoteException
NXException
RemoteException
boolean isNumberOfConnectionInfinite() throws NXException, RemoteException
NXException
RemoteException
ConnectableElement getOwningConnectableElement() throws NXException, RemoteException
NXException
RemoteException
Connection[] getConnections() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.